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

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

BDU:2024-09915
CVE-2024-35825
DLA-3840-1
DLA-3842-1
OESA-2024-1962
OESA-2024-2258
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1
USN-6896-1
USN-6896-2
USN-6896-3
USN-6896-4
USN-6896-5
USN-6898-1
USN-6898-2
USN-6898-3
USN-6898-4
USN-6917-1
USN-6919-1
USN-6927-1
USN-7019-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu