Skip to main content
Network Thinking Solutions Logo

CVE-2024-38560

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.

All CVEs
CVE-2024-38560Published 6/19/2024

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.

Vendor advisory
CVSS7.1High

Overview

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.

Published
6/19/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.19, < 4.19.316

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.278

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.219

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.161

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.93

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.33

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.12

Verify advisory

Source
linux kernel
linux
≥ 6.9, < 6.9.3

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 481fc0c8617304a67649027c4a44723a139a0462

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 595a6b98deec01b6dbb20139f71edcd5fb760ec2

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 00b425ff0891283207d7bad607a2412225274d7a

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 1708e3cf2488788cba5489e4f913d227de757baf

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 204714e68015d6946279719fd464ecaf57240f35

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 7510fab46b1cbd1680e2a096e779aec3334b4143

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < ecb76200f5557a2886888aaa53702da1ab9e6cdf

Verify advisory

Source
Linux
Linux
≥ 9f30b674759b9a2da25aefe25d885161d8a911cb, < 13d0cecb4626fae67c00c84d3c7851f6b62f7df3

Verify advisory

Source
Linux
Linux
3.19

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.