CVE-2024-38560scsi: bfa: Ensure the copied buf is NUL terminated
- 7.1HighCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 81% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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 memdup_user_nul instead of memdup_user.
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 481fc0c8617304a67649027c4a44723a139a0462
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 595a6b98deec01b6dbb20139f71edcd5fb760ec2
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 00b425ff0891283207d7bad607a2412225274d7a
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 1708e3cf2488788cba5489e4f913d227de757baf
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 204714e68015d6946279719fd464ecaf57240f35
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 7510fab46b1cbd1680e2a096e779aec3334b4143
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < ecb76200f5557a2886888aaa53702da1ab9e6cdf
- affected 9f30b674759b9a2da25aefe25d885161d8a911cb – < 13d0cecb4626fae67c00c84d3c7851f6b62f7df3
- affected 3.19
- unaffected < 3.19
- unaffected 4.19.316 – ≤ 4.19.*
- unaffected 5.4.278 – ≤ 5.4.*
- unaffected 5.10.219 – ≤ 5.10.*
- unaffected 5.15.161 – ≤ 5.15.*
- unaffected 6.1.93 – ≤ 6.1.*
- unaffected 6.6.33 – ≤ 6.6.*
- unaffected 6.8.12 – ≤ 6.8.*
- unaffected 6.9.3 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References11
- https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37423 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-38560)Record last updated .