7.1

CVE-2024-38560: scsi: bfa: Ensure the copied buf is NUL terminated

Modified
AliasesUBUNTU-CVE-2024-38560DEBIAN-CVE-2024-38560
Published 19-06-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-38560 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 40 · Related 36

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 products
  • linux< 4.4.0-261.295 | < 4.15.0-231.243 | < 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-40.40
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1138.144 | < 4.4.0-1176.191 | < 4.15.0-1175.188 | < 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1013.14
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 481fc0c8617304a67649027c4a44723a139a0462 | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 595a6b98deec01b6dbb20139f71edcd5fb760ec2 | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 00b425ff0891283207d7bad607a2412225274d7a | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 1708e3cf2488788cba5489e4f913d227de757baf | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 204714e68015d6946279719fd464ecaf57240f35 | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 7510fab46b1cbd1680e2a096e779aec3334b4143 | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < ecb76200f5557a2886888aaa53702da1ab9e6cdf | ≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 13d0cecb4626fae67c00c84d3c7851f6b62f7df3 | 3.19
  • linux_kernel≥ 3.19, < 4.19.316 | ≥ 4.20, < 5.4.278 | ≥ 5.5, < 5.10.219 | ≥ 5.11, < 5.15.161 | ≥ 5.16, < 6.1.93 | ≥ 6.2, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
  • linux< 6.1.94-1 | < 6.8.12-1

3 vendors · 132 products

References

36 links
Show all 36 references