scsi: qedf: Ensure the copied buf is NUL terminated
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.11 and later | 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10 | Patch available | CNA |
- Linux VendorLinux Affected 4.11 and later Fixed in 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.11 to before 4.19.316; 4.20 to before 5.4.278; 5.5 to before 5.10.219; 5.11 to before 5.15.161; 5.16 to before 6.1.93; 6.2 to before 6.6.33; 6.7 to before 6.8.12; 6.9 to before 6.9.3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.11 to before 4.19.316; 4.20 to before 5.4.278; 5.5 to before 5.10.219; 5.11 to before 5.15.161; 5.16 to before 6.1.93; 6.2 to before 6.6.33; 6.7 to before 6.8.12; 6.9 to before 6.9.3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10
Red Hat 5 advisories
- RHSA-2024:7000 Released 2024-09-24 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.22.1.el8_10, kernel-4.18.0-553.22.1.el8_10, kernel-abi-stablelists-4.18.0-553.22.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.22.1.el8_10
- RHSA-2024:7001 Released 2024-09-24 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-core-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-debug-4.18.0-553.22.1.rt7.363.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-core-4.18.0-553.22.1.rt7.363.el8_10, kernel-rt-debug-4.18.0-553.22.1.rt7.363.el8_10 +7
- RHSA-2024:6744 Released 2024-09-18 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.84.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.84.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.84.1.el9_2, kernel-64k-devel-5.14.0-284.84.1.el9_2 +9
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.84.1.el9_2, kernel-5.14.0-284.84.1.el9_2, kernel-64k-5.14.0-284.84.1.el9_2 +29
Show 2 more Red Hat advisories
- RHSA-2024:6745 Released 2024-09-18 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +11
- RHSA-2024:6567 Released 2024-09-11 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.35.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.35.1.el9_4, kernel-64k-devel-5.14.0-427.35.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.35.1.el9_4, kernel-5.14.0-427.35.1.el9_4, kernel-64k-5.14.0-427.35.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.35.1.el9_4, libperf-5.14.0-427.35.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.35.1.el9_4, kernel-rt-core-5.14.0-427.35.1.el9_4, kernel-rt-debug-5.14.0-427.35.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.35.1.el9_4, kernel-rt-core-5.14.0-427.35.1.el9_4, kernel-rt-debug-5.14.0-427.35.1.el9_4 +9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38559
- 2026-10-03 Alias added: GHSA-j698-35hc-3jf8
- 2026-10-31 Fix available: RHOAI-2.13-RHEL-8, RHOAI-2.14-RHEL-8 · Red Hat
References
Patch 9
- https://git.kernel.org/stable/c/1f84a2744ad813be23fc4be99fb74bfb24aadb95
- https://git.kernel.org/stable/c/a75001678e1d38aa607d5b898ec7ff8ed0700d59
- https://git.kernel.org/stable/c/769b9fd2af02c069451fe9108dba73355d9a021c
- https://git.kernel.org/stable/c/dccd97b39ab2f2b1b9a47a1394647a4d65815255
- https://git.kernel.org/stable/c/d93318f19d1e1a6d5f04f5d965eaa9055bb7c613
- https://git.kernel.org/stable/c/563e609275927c0b75fbfd0d90441543aa7b5e0d
- https://git.kernel.org/stable/c/4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8
- https://git.kernel.org/stable/c/177f43c6892e6055de6541fe9391a8a3d1f95fc9
- https://git.kernel.org/stable/c/d0184a375ee797eb657d74861ba0935b6e405c62
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-38559 · CVE Program
- CVE-2024-38559 · NVD
- FIRST EPSS
- GHSA-j698-35hc-3jf8 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38559 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences