CVE-2025-40269
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential overflow of PCM transfer buffer The PCM stream data in USB-audio driver is transferred over USB URB packet buffers, and each packet size is determined dynamically. The packet sizes are limited by some factors such as wMaxPacketSize USB descriptor. OTOH, in the current code, the actually used packet sizes are determined only by the rate and the PPS, which may be bigger than the size limit above. This results in a buffer overflow, as reported by syzbot. Basically when the limit is smaller than the calculated packet size, it implies that something is wrong, most likely a weird USB descriptor. So the best option would be just to return an error at the parameter setup time before doing any further operations. This patch introduces such a sanity check, and returns -EINVAL when the packet size is greater than maxpacksize. The comparison with ep->packsize[1] alone should suffice since it's always equal or greater than ep->packsize[0].
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | kernel-64k-devel-5.14.0-611.30.1.el9_7.aarch64.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.12.63-1 |
| sid | Fixed | 6.17.9-1 |
| forky | Fixed | 6.17.9-1 |
| bullseye | Fixed | 5.10.247-1 |
| bookworm | Fixed | 6.1.159-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
References
- https://errata.rockylinux.org/RLSA-2026:2264
- https://access.redhat.com/errata/RHSA-2026:2212
- https://www.suse.com/security/cve/CVE-2025-40269.html
- https://errata.rockylinux.org/RLSA-2026:2212
- https://security-tracker.debian.org/tracker/CVE-2025-40269
- https://access.redhat.com/errata/RHSA-2026:2264
- https://bugzilla.redhat.com/2383421
- https://bugzilla.redhat.com/2414506
- https://bugzilla.redhat.com/2414521
- https://bugzilla.redhat.com/2414523
- https://bugzilla.redhat.com/2419919
- https://bugzilla.redhat.com/2420347
- https://bugzilla.redhat.com/2424880
- https://bugzilla.redhat.com/2432671
- https://errata.almalinux.org/8/ALSA-2026-2264.html
- https://access.redhat.com/errata/RHSA-2026:2378
- https://errata.almalinux.org/8/ALSA-2026-2378.html
- https://bugzilla.redhat.com/2363315
- https://bugzilla.redhat.com/2365032
- https://bugzilla.redhat.com/2373326
- https://bugzilla.redhat.com/2373354
- https://bugzilla.redhat.com/2383404
- https://bugzilla.redhat.com/2383487
- https://bugzilla.redhat.com/2393191
- https://bugzilla.redhat.com/2394601
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.