Linux kernel USB CDC-ACM control transfer buffer overflow
CVE-2025-21704High
The Linux kernel's USB CDC-ACM driver does not validate the size of control transfer buffers before accessing them. An attacker with physical access to a USB device can send a specially crafted control transfer notification that is shorter than expected, causing the driver to read data from memory outside the received buffer. This can lead to memory corruption when fragmented notifications are reassembled, particularly if the expected size decreases between fragments. The vulnerability requires the attacker to have a USB device connected to the target system and for userspace to have opened the corresponding /dev/ttyACM device, which may happen automatically if ModemManager is running.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.13, before 5.4.291
- linux linux kernel: from 5.5, before 5.10.235
- linux linux kernel: from 5.11, before 5.15.179
- linux linux kernel: from 5.16, before 6.1.129
- linux linux kernel: from 6.2, before 6.6.79
- linux linux kernel: from 6.7, before 6.12.16
- linux linux kernel: from 6.13, before 6.13.4
- linux linux kernel: 2.6.12
- linux linux kernel: 6.14
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)