PT-2024-5435
CVE-2024-39480
·
Published
2024-04-26
·
Updated
2026-10-30
Description by
CVSS 3.1
8.4
HighMetricsAV:L/AC:L/PR:N/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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾