PT-2024-7069 · Linux+6 · Linux Kernel+6
Lee Jones
·
Published
2024-07-05
·
Updated
2025-09-29
·
CVE-2024-42236
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the
usb string copy() function in the Linux kernel's USB gadget configfs module. It involves an out-of-bounds (OOB) read and write when a userspace-provided string has a length of zero. This can lead to a denial of service. The vulnerability arises from the lack of a check for invalid strings that are too short, although there is already a validating check for strings that are too long. The OOB read and write occur in the forms if (str[0 - 1] == ' ') and str[0 - 1] = '0', respectively.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu