
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40269 is a buffer overflow vulnerability in the Linux kernel's ALSA USB-audio driver affecting PCM stream data transfer. The flaw exists because packet sizes used for USB URB (USB Request Block) transfers are calculated solely from the audio rate and packets-per-second (PPS) values, which can exceed the wMaxPacketSize limit defined in the USB descriptor, resulting in a buffer overflow. It was published on December 6, 2025, and affects the Linux kernel across a wide range of versions (patched in 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9, and 6.18). The CVSS v3.1 base score is 4.3 (Medium), requiring physical access and low privileges (Red Hat CVE, Microsoft MSRC).
The root cause is improper bounds checking (CWE-120, buffer overflow) in the ALSA USB-audio driver's PCM transfer path. When setting up audio stream parameters, the driver calculates packet sizes based on sample rate and PPS without validating that the result stays within the wMaxPacketSize USB descriptor limit. An attacker with physical access and low privileges can connect a USB audio device with a malformed or unusual descriptor where wMaxPacketSize is smaller than the dynamically calculated packet size, triggering the overflow. The fix introduces a sanity check that returns -EINVAL when the calculated packet size (ep->packsize[1]) exceeds maxpacksize, aborting the operation before any buffer write occurs (Red Hat CVE, ENISA EUVD).
Successful exploitation can cause system instability, unexpected kernel behavior, or potential unauthorized access to kernel memory due to the out-of-bounds write in the USB audio subsystem. The primary impact is on availability (kernel crash or instability), with no direct confidentiality or integrity impact indicated by the CVSS scoring. The vulnerability is scoped to the local system and does not provide a direct path for lateral movement, but kernel memory corruption could theoretically be leveraged for privilege escalation in more complex attack chains (Red Hat CVE, Microsoft MSRC).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of reporting (Red Hat CVE). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires physical access to the target system and low-level privileges, significantly limiting the attack surface. The EPSS score is approximately 0.03%, reflecting a very low probability of exploitation in the near term (Feedly).
Update the Linux kernel to a patched version: 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9, or 6.18. Distribution-specific patches have been issued by Red Hat (RHSA-2026:2212, RHSA-2026:2264, RHSA-2026:2378, RHSA-2026:2721, RHSA-2026:2759, RHSA-2026:2761, RHSA-2026:2766, RHSA-2026:3267, RHSA-2026:3293, RHSA-2026:3358, RHSA-2026:3375, RHSA-2026:4242, RHSA-2026:5821), Ubuntu (USN-8096-1, USN-8096-2, USN-8096-3, USN-8096-5), Debian (DLA-4436-1), AlmaLinux, and Rocky Linux. As a workaround, organizations should restrict physical access to systems and limit the connection of untrusted USB audio devices (Red Hat Errata, Ubuntu USN).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."