Skip to main content
Network Thinking Solutions Logo

CVE-2024-38559

Linux kernel: scsi: qedf: Ensure the copied buf is NUL terminated

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

Linux kernel: scsi: qedf: Ensure the copied buf is NUL terminated

Vendor advisory
CVSS4.4Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: scsi: qedf: Ensure the copied buf is NUL terminated Currently, we allocate a count-sized kernel buffer and copy count from userspace to that buffer. Later, we use kstrtouint on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using kstrtouint. 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
≥ 4.11, < 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
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < 1f84a2744ad813be23fc4be99fb74bfb24aadb95

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < a75001678e1d38aa607d5b898ec7ff8ed0700d59

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < 769b9fd2af02c069451fe9108dba73355d9a021c

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < dccd97b39ab2f2b1b9a47a1394647a4d65815255

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < d93318f19d1e1a6d5f04f5d965eaa9055bb7c613

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < 563e609275927c0b75fbfd0d90441543aa7b5e0d

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < 4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < 177f43c6892e6055de6541fe9391a8a3d1f95fc9

Verify advisory

Source
Linux
Linux
≥ 61d8658b4a435eac729966cc94cdda077a8df5cd, < d0184a375ee797eb657d74861ba0935b6e405c62

Verify advisory

Source
Linux
Linux
4.11

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: 4.4. 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.