CVE-2024-38560scsi: bfa: Ensure the copied buf is NUL terminated
Updated under an hour ago ()
Does this affect you?
It affects Linux and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from 9f30b674759b9a2da25aefe25d885161d8a911cb before 481fc0c8617304a67649027c4a44723a139a0462; from 9f30b674759b9a2da25aefe25d885161d8a911cb before 595a6b98deec01b6dbb20139f71edcd5fb760ec2; 9f30b674759b9a2da25aefe25d885161d8a911cb builds before 00b425ff0891283207d7bad607a2412225274d7a; from 9f30b674759b9a2da25aefe25d885161d8a911cb before 1708e3cf2488788cba5489e4f913d227de757baf; 9f30b674759b9a2da25aefe25d885161d8a911cb builds before 7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c; from 9f30b674759b9a2da25aefe25d885161d8a911cb before 204714e68015d6946279719fd464ecaf57240f35; from 9f30b674759b9a2da25aefe25d885161d8a911cb before 7510fab46b1cbd1680e2a096e779aec3334b4143; from 9f30b674759b9a2da25aefe25d885161d8a911cb before ecb76200f5557a2886888aaa53702da1ab9e6cdf; and 1 more ranges | CNA record |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | before V1.1.1 | CISA ADP |
linux linux_kernel linux:linux_kernel | from 3.19 before 4.19.316; from 4.20 before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3 | NVD |
References
- https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462patch
- https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2patch
- https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7apatch
- https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757bafpatch
- https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5cpatch
- https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35patch
- https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143patch
- https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdfpatch
- https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.