CVE-2024-39480
HighIn the Linux kernel, the following vulnerability has been resolved: kdb: Fix buffer overflow during tab-complete Currently, when the user attempts symbol completion with the Tab key, kdb will use strncpy() to insert the completed symbol into the command buffer. Unfortunately it passes the size of the source buffer rather than the destination to strncpy() with predictably horrible results. Most obviously if the command buffer is already full but cp, the cursor position, is in the middle of the buffer, then we will write past the end of the supplied buffer. Fix this by replacing the dubious strncpy() calls with memmove()/memcpy() calls plus explicit boundary checks to make sure we have enough space before we start moving characters around.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-120CVE-2024-39480 is classified as CWE-120
See CWE-120 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
2.6.35
and later are affected. Fixed in
4.19.316,
5.4.278,
5.10.219,
5.15.161,
6.1.94,
6.6.34,
6.9.5,
6.10
and their respective stable series.
References
8 total-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
Frequently asked questions
-
What is CVE-2024-39480?
CVE-2024-39480 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 2.6.35 onward and has been patched in 4.19.316, 5.4.278, 5.10.219 and others. CVE-2024-39480 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-39480?
CVE-2024-39480 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-39480?
Yes. CVE-2024-39480 has been patched. Fixed versions include 4.19.316, 5.4.278, 5.10.219 and others. If you are running Linux kernel 2.6.35 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-39480 actively exploited?
No. CVE-2024-39480 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.