CVE-2024-38559 json
scsi: qedf: Ensure the copied buf is NUL terminated
published 2024-06-19 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-37422
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
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.
Patch / fix
- Linux Linux 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
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- linux Debian 12 6.1.94-1
- linux Debian 14, Debian 13 6.8.12-1
debian advisories DEBIAN-CVE-2024-38559
- linux Ubuntu 20.04 LTS 5.4.0-192.212
- linux Ubuntu 22.04 LTS 5.15.0-121.131
- linux Ubuntu 24.04 LTS 6.8.0-40.40
- linux-aws Ubuntu 20.04 LTS 5.4.0-1130.140
- linux-aws Ubuntu 22.04 LTS 5.15.0-1069.75
- linux-aws Ubuntu 24.04 LTS 6.8.0-1013.14
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1134.143
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1068.76
ubuntu advisories UBUNTU-CVE-2024-38559
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-553.22.1.el8_10
- perf RHEL 8 4.18.0-553.22.1.el8_10
- bpftool RHEL 8 4.18.0-553.22.1.el8_10
- kernel-core RHEL 8 4.18.0-553.22.1.el8_10
- kernel-tools RHEL 8 4.18.0-553.22.1.el8_10
- python3-perf RHEL 8 4.18.0-553.22.1.el8_10
- kernel-modules RHEL 8 4.18.0-553.22.1.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.22.1.el8_10
red hat advisories RHSA-2024:7000RHSA-2024:7001RHSA-2024:6567RHSA-2024:6745RHSA-2024:6744
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.170.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.170.1
suse advisories SUSE-SU-2025:1293-1SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2948-1SUSE-SU-2024:2947-1SUSE-SU-2024:2939-1
- kernel AlmaLinux 8 4.18.0-553.22.1.el8_10
- perf AlmaLinux 8 4.18.0-553.22.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.22.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.22.1.el8_10
almalinux advisories ALSA-2024:7000ALSA-2024:7001ALSA-2024:6567
- kernel Rocky Linux 8 4.18.0-553.22.1.el8_10
- kernel-rt Rocky Linux 8 4.18.0-553.22.1.rt7.363.el8_10
- kernel Rocky Linux 9 5.14.0-427.35.1.el9_4.cloud.1.0
- kernel Rocky Linux 9 5.14.0-427.35.1.el9_4
rocky linux advisories RLSA-2024:7000RLSA-2024:7001RXSA-2024:6567RLSA-2024:6567
- git.kernel.org/stable/c/1f84a2744ad813be23fc4be99fb74bfb24aadb95 commit
- git.kernel.org/stable/c/a75001678e1d38aa607d5b898ec7ff8ed0700d59 commit
- git.kernel.org/stable/c/769b9fd2af02c069451fe9108dba73355d9a021c commit
- git.kernel.org/stable/c/dccd97b39ab2f2b1b9a47a1394647a4d65815255 commit
- git.kernel.org/stable/c/d93318f19d1e1a6d5f04f5d965eaa9055bb7c613 commit
- git.kernel.org/stable/c/563e609275927c0b75fbfd0d90441543aa7b5e0d commit
- git.kernel.org/stable/c/4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8 commit
- git.kernel.org/stable/c/177f43c6892e6055de6541fe9391a8a3d1f95fc9 commit
- git.kernel.org/stable/c/d0184a375ee797eb657d74861ba0935b6e405c62 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/1f84a2744ad813be23fc4be99fb74bfb24aadb95
patch
-
git.kernel.org
/stable/c/a75001678e1d38aa607d5b898ec7ff8ed0700d59
patch
-
git.kernel.org
/stable/c/769b9fd2af02c069451fe9108dba73355d9a021c
patch
-
git.kernel.org
/stable/c/dccd97b39ab2f2b1b9a47a1394647a4d65815255
patch
-
git.kernel.org
/stable/c/d93318f19d1e1a6d5f04f5d965eaa9055bb7c613
patch
-
git.kernel.org
/stable/c/563e609275927c0b75fbfd0d90441543aa7b5e0d
patch
-
git.kernel.org
/stable/c/4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8
patch
-
git.kernel.org
/stable/c/177f43c6892e6055de6541fe9391a8a3d1f95fc9
patch
-
git.kernel.org
/stable/c/d0184a375ee797eb657d74861ba0935b6e405c62
patch
- lists.debian.org /debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
Sources
- CVE List CVE-2024-38559
- NVD CVE-2024-38559
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.