VDB

CVE-2024-38559

CVE-2024-38559 PUBLISHED CVSS 4.4 MEDIUM

scsi: qedf: Ensure the copied buf is NUL terminated

Reported by linux · Published June 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystemSiemens1.1.1

Risk scores

CVSS 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

VendorProductVersions
LinuxLinux61d8658b4a435eac729966cc94cdda077a8df5cd, 61d8658b4a435eac729966cc94cdda077a8df5cd, 61d8658b4a435eac729966cc94cdda077a8df5cd
LinuxLinux4.11, 0, 4.19.316
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
linuxlinux_kernel4.11, 4.11, 4.11
LinuxLinux61d8658b4a435eac729966cc94cdda077a8df5cd, 61d8658b4a435eac729966cc94cdda077a8df5cd, 61d8658b4a435eac729966cc94cdda077a8df5cd

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (328 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (251 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38559
vulnetix vdb fixes CVE-2024-38559

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38559/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›