Kernel crash via zero-length NCM block loop
Published May 17, 2024 · Updated May 23, 2026
Denial of service in the Linux kernel USB gadget NCM path allows local users to crash the system with a zero-block-length NTB. In drivers/usb/gadget/function/f_ncm.c, a zero wBlockLength leaves the unprocessed-byte count unchanged, so the receive loop parses the same NTB indefinitely. Reachability requires the affected USB gadget NCM path and a short NTB containing remaining datagrams; the bounded consequence is a system crash.
Summary
What happened
Denial of service in the Linux kernel USB gadget NCM path allows local users to crash the system with a zero-block-length NTB. In drivers/usb/gadget/function/f_ncm.c, a zero wBlockLength leaves the unprocessed-byte count unchanged, so the receive loop parses the same NTB indefinitely. Reachability requires the affected USB gadget NCM path and a short NTB containing remaining datagrams; the bounded consequence is a system crash.
The record
- CVE
- CVE-2024-35825
- Published
- May 17, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=17c653d4913bbc50d284aa96cf12bfc63e41ee5c <ef846cdbd100f7f9dc045e8bcd7fe4b3a3713c03
- Affected versionversion=4.14.328 <4.15
- Affected versionversion=4.19.297 <4.19.312
- Affected versionversion=427694cfaafa565a3db5c5ea71df6bc095dca92f <6b2c73111a252263807b7598682663dc33aa4b4c
- Affected versionversion=427694cfaafa565a3db5c5ea71df6bc095dca92f <a0f77b5d6067285b8eca0ee3bd1e448a6258026f
- Affected versionversion=427694cfaafa565a3db5c5ea71df6bc095dca92f <f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70
- Affected versionversion=49fbc18378ae72a47feabee97fdb86f3cea09765 <7664ee8bd80309b90d53488b619764f0a057f2b7
- Affected versionversion=4bf1a9d20c65b9e80ca4b171267103f8d4f2c61f
- Affected versionversion=5.10.199 <5.10.215
- Affected versionversion=5.15.136 <5.15.154
- Affected versionversion=5.4.259 <5.4.274
- Affected versionversion=5bdf93a2f5459f944b416b188178ca4a92fd206f
- Affected versionversion=6.1.59 <6.1.84
- Affected versionversion=6.5.8 <6.6
- Affected versionversion=6.6
- Affected versionversion=7014807fb7efa169a47a7a0a0a41d2c513925de0 <92b051b87658df7649ffcdef522593f21a2b296b
- Affected versionversion=e7ca00f35d8a17af1ae19d529193ebc21bfda164 <a766761d206e7c36d7526e0ae749949d17ca582c
- Affected versionversion=ff3ba016263ee93a1c6209bf5ab1599de7ab1512 <e2dbfea520e60d58e0c498ba41bde10452257779
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo