CVE-2025-21704
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability has been discovered in the USB CDC ACM driver that could lead to memory corruption. The issue occurs when processing fragmented notifications where if the first fragment is shorter than struct usb_cdc_notification, the code cannot calculate an expected_size correctly. This vulnerability has been present since the beginning of git history but only leads to memory corruption since commit ea2583529cd1 ("cdc-acm: reassemble fragmented notifications") (Kernel Git).

Technical details

The vulnerability exists in the acm_ctrl_irq() function where lengths are read from memory outside the received data when processing fragmented notifications. This can lead to memory corruption when the expected_size decreases between fragments, causing expected_size - acm->nb_index to wrap. The issue stems from insufficient validation of the notification header size before accessing its fields (Kernel Git).

Impact

The vulnerability could allow an attacker to cause memory corruption in the Linux kernel. However, a mitigating factor is that acm_ctrl_irq() can only execute after userspace has opened /dev/ttyACM*. Though if ModemManager is running, it will automatically open these devices depending on the USB device's vendor/product IDs and its other interfaces (Kernel Git).

Mitigation and workarounds

The issue has been fixed by adding proper size validation before accessing the notification header. The fix checks if the first fragment contains at least the complete notification header before attempting to calculate the expected size (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-internal
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management