PT-2024-8356 · Linux+5 · Linux Kernel+5
Krishna Kurapati
+1
·
Published
2024-03-05
·
Updated
2025-03-28
·
CVE-2024-35825
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 handling of zero block length packets in the Linux kernel's USB gadget ncm implementation. When connecting to a Linux host with CDC NCM NTB DEF SIZE TX set to 65536, short packets with block length zero but containing valid datagrams may be received. According to the NCM spec, if wBlockLength = 0x0000, the block is terminated by a short packet, and the USB transfer must still be shorter than dwNtbInMaxSize or dwNtbOutMaxSize. However, the current implementation may process the same NTB infinitely if the block length reads zero, leading to a crash. The fix involves bailing out if the block length reads zero.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu