Technical impact
A flaw in the Linux kernel’s safe_serial USB serial driver allows a connected device to report a bulk‑out endpoint size smaller than eight bytes. This results in a heap buffer overflow (CWE‑131) and an out‑of‑bounds write (CWE‑787). The driver does not check that the requested buffer size meets this minimum, which leads to memory corruption that can overwrite adjacent kernel memory. If the attacker controls the payload, this may lead to arbitrary code execution or privilege escalation.
Affected Systems
All Linux kernel versions that include the vulnerable safe_serial implementation before the fix commit. The vulnerable code resides in the USB serial subsystem; any kernel lacking the bulk‑out size check is at risk.
Risk and Exploitability
The CVSS score of 7.8 indicates medium severity, while the EPSS score of less than 1% suggests a low current probability of exploitation. This vulnerability is not listed in CISA’s KEV catalog. The likely attack vector requires an attacker to physically connect a malicious USB device that reports a small endpoint size, implying local or physical access. If exploited, the resulting heap overflow could be leveraged for arbitrary code execution.
Ubuntu USN