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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-10855
ALT-PU-2024-11524
ALT-PU-2024-13979
ALT-PU-2024-14046
ALT-PU-2024-17597
AZL-43294
BDU:2024-06084
CVE-2024-39480
DSA-5730-1
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-1860
OESA-2024-1861
OESA-2024-1862
OESA-2024-1863
OPENSUSE-SU-2025_0117-1
OPENSUSE-SU-2025_0153-1
OPENSUSE-SU-2025_0154-1
SUSE-SU-2025:0117-1
SUSE-SU-2025:0153-1
SUSE-SU-2025:0154-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
USN-6951-1
USN-6951-2
USN-6951-3
USN-6951-4
USN-6953-1
USN-6979-1
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7007-1
USN-7007-2
USN-7007-3
USN-7008-1
USN-7009-1
USN-7009-2
USN-7019-1
USN-7028-1
USN-7028-2
USN-7029-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu