ALSA: usb-audio: Clamp frame size in implicit-feedback mode
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cfa8d3e0e8b812c4db4d5241f62b6bdbab2bd7be, Kernel 09cf3dbbb4256a43feb91d2f51f274510a9ada47, Kernel 2d39fea6d3c19a2f5811d123114d92e3d0115fd1 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Clamp frame size in implicit-feedback mode snd_usb_handle_sync_urb() scales received sync packet sizes by the sender's stride and stores the result directly in out_packet->packet_size[i]. If a connected USB device sends an oversized sync packet, this frame count can exceed ep->maxframesize. The un-clamped frame count then propagates to the playback endpoint queue, potentially driving packet transfers beyond the endpoint's hardware frame limits. Cap the calculated frame count against ep->maxframesize in snd_usb_handle_sync_urb() to prevent oversized packets from entering the playback queue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <cfa8d3e0e8b812c4db4d5241f62b6bdbab2bd7be, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <09cf3dbbb4256a43feb91d2f51f274510a9ada47, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <2d39fea6d3c19a2f5811d123114d92e3d0115fd1, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <2db4535d6af79276a64449201c5be5feffb31c64, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <53f0aa37eb945f3c983f61d12fc35eb33debb8a9, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <56ac3e7c90f6b45969c3fd07a98fad760ffd6901, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <8d7a30c50c2e58a6839634ed0acde14466d1dc61, >=28acb12014fb0c3e1edfdab1b1e3e266cf651550 <be97fea7451d758881b95af78e900dd0d58a382a, =3.8 | cfa8d3e0e8b812c4db4d5241f62b6bdbab2bd7be, 09cf3dbbb4256a43feb91d2f51f274510a9ada47, 2d39fea6d3c19a2f5811d123114d92e3d0115fd1, 2db4535d6af79276a64449201c5be5feffb31c64, 53f0aa37eb945f3c983f61d12fc35eb33debb8a9, 56ac3e7c90f6b45969c3fd07a98fad760ffd6901, 8d7a30c50c2e58a6839634ed0acde14466d1dc61, be97fea7451d758881b95af78e900dd0d58a382a |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.151, >=6.7.0 <6.12.103, >=3.8.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.44, 7.1.8, 6.6.151, 6.12.103, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket