Back to CVE records
High 7.1Published Jun 19, 2024

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.

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

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

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.