CVE-2024-38559
MediumIn 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.
CVSS 3.1 score
4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2024-38559 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.11
and later are affected. 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
and their respective stable series.
References
11 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-38559?
CVE-2024-38559 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.4 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 4.11 onward and has been patched in 4.19.316, 5.4.278, 5.10.219 and others. CVE-2024-38559 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-38559?
CVE-2024-38559 has a CVSS score of 4.4 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-38559?
Yes. CVE-2024-38559 has been patched. Fixed versions include 4.19.316, 5.4.278, 5.10.219 and others. If you are running Linux kernel 4.11 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-38559 actively exploited?
No. CVE-2024-38559 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.