Linux · Linux Kernel · CVE-2024-39480
**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.