PT-2024-5435 · Linux+6 · Linux Kernel+6
Justin Stitt
·
Published
2024-04-26
·
Updated
2025-09-29
·
CVE-2024-39480
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a buffer overflow during tab completion in the Linux kernel. When a user attempts symbol completion with the Tab key, the kernel uses strncpy() to insert the completed symbol into the command buffer, but it passes the size of the source buffer rather than the destination, leading to predictable and severe consequences, such as writing past the end of the supplied buffer. This can be fixed by replacing the dubious strncpy() calls with memmove()/memcpy() calls plus explicit boundary checks.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Stack Overflow
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu