CVE-2024-38560

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38560
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38560.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38560
Downstream
Related
Published
2024-06-19T14:15:16Z
Modified
2025-08-09T19:01:27Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: bfa: Ensure the copied buf is NUL terminated

Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdupusernul instead of memdup_user.

References

Affected packages