Home / Linux / Linux / CVE-2024-35825
CVE-2024-35825: is it exploited, and which versions of Linux are affected and fixed?
CVE-2024-35825 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Linux from 4.19.297 before 4.19.312, Linux from 5.4.259 before 5.4.274, Linux from 5.10.199 before 5.10.215 and 5 more (CVE record by Linux). Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.154 and 2 more (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 18:17 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-35825?
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: ncm: Fix handling of zero block length packets While connecting to a Linux host with CDC_NCM_NTB_DEF_SIZE_TX set to 65536, it has been observed that we receive short packets, which come at interval of 5-10 seconds sometimes and have block length zero but still contain 1-2 valid datagrams present. According to the NCM spec: "If wBlockLength = 0x0000, the block is terminated by a short packet. In this case, the USB transfer must still be shorter than dwNtbInMaxSize or dwNtbOutMaxSize. If exactly dwNtbInMaxSize or dwNtbOutMaxSize bytes are sent, and the size is a multiple of wMaxPacketSize for the given pipe, then no ZLP shall be sent. wBlockLength= 0x0000 must be used with extreme care, because of the possibility that the host and device may get out of sync, and because of test issues. wBlockLength = 0x0000 allows the sender to reduce latency by starting to send a very large NTB, and then shortening it when the sender discovers that there’s not sufficient data to justify sending a large NTB" However, there is a potential issue with the current implementation, as it checks for the occurrence of multiple NTBs in a single giveback by verifying if the leftover bytes to be processed is zero or not. If the block length reads zero, we would process the same NTB infintely because the leftover bytes is never zero and it leads to a crash. Fix this by bailing out if block length reads zero.
From the CVE record by Linux, last updated May 23, 2026, 15:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 4.19.297 before 4.19.312 from 5.4.259 before 5.4.274 from 5.10.199 before 5.10.215 from 5.15.136 before 5.15.154 from 6.1.59 before 6.1.84 from 4.14.328 before 4.15 from 6.5.8 before 6.6 | 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 4.15, 6.6 |
| Linux | Linux | from 6.6 until the fixed versions | 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8 |
As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 4.14.328 before 4.15 | operating system |
| linux | linux kernel | from 4.19.297 before 4.19.312 | operating system |
| linux | linux kernel | from 5.4.259 before 5.4.274 | operating system |
| linux | linux kernel | from 5.10.199 before 5.10.215 | operating system |
| linux | linux kernel | from 5.15.136 before 5.15.154 | operating system |
| linux | linux kernel | from 6.1.59 before 6.1.84 | operating system |
| linux | linux kernel | from 6.5.8 before 6.6 | operating system |
| linux | linux kernel | from 6.6.1 before 6.6.24 | operating system |
| linux | linux kernel | from 6.7 before 6.7.12 | operating system |
| linux | linux kernel | 6.6 | operating system |
| linux | linux kernel | 6.8 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:35 UTC.
How severe is CVE-2024-35825?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-35825 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 10, 2024)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.1 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/e2dbfea520e60d58e0c498ba41bde10452257779
- https://git.kernel.org/stable/c/a766761d206e7c36d7526e0ae749949d17ca582c
- https://git.kernel.org/stable/c/ef846cdbd100f7f9dc045e8bcd7fe4b3a3713c03
- https://git.kernel.org/stable/c/92b051b87658df7649ffcdef522593f21a2b296b
- https://git.kernel.org/stable/c/7664ee8bd80309b90d53488b619764f0a057f2b7
- https://git.kernel.org/stable/c/a0f77b5d6067285b8eca0ee3bd1e448a6258026f
- https://git.kernel.org/stable/c/6b2c73111a252263807b7598682663dc33aa4b4c
- https://git.kernel.org/stable/c/f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html x_transferred
When was it published, and where is the official record?
- Reserved
- May 17, 2024
- Published
- May 17, 2024, 13:27 UTC
- CVE record updated
- May 23, 2026, 15:43 UTC by Linux
- NVD
- Analyzed, last modified June 17, 2026, 07:35 UTC
- Last checked
- CVE list November 28, 2026, 18:17 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2024-35825
Is CVE-2024-35825 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2024-35825?
Linux from 4.19.297 before 4.19.312, Linux from 5.4.259 before 5.4.274, Linux from 5.10.199 before 5.10.215, Linux from 5.15.136 before 5.15.154, Linux from 6.1.59 before 6.1.84, Linux from 4.14.328 before 4.15 and 2 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2024-35825?
4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84 and 4.15, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-35825?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2024-35825?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.