ALSA: usb-audio: caiaq: validate EP1 reply lengths
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel af8a172c4f71ac30d625f2966d2389a7fa872819, Kernel 319393151367e6626affedcdd4f7b7b0286f4246, Kernel 74f3c639f64fa5da4e1613149798b5089bce2807 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: caiaq: validate EP1 reply lengths usb_ep1_command_reply_dispatch() uses buf[0] as a command byte and then reads command-specific fixed items from the same URB buffer. Several paths use buf + 1, buf[1], buf[2], or buf + 3 without first proving that urb->actual_length contains those bytes. Add per-command length checks, use a payload length derived from the bytes after the command byte for the control-state copy, and reject short analog input payloads before the input helper reads fixed offsets from the EP1 reply.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <af8a172c4f71ac30d625f2966d2389a7fa872819, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <319393151367e6626affedcdd4f7b7b0286f4246, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <74f3c639f64fa5da4e1613149798b5089bce2807, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <7cc6b3745a0cea697c8d0684b3094f220281a08d, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <91acd231f219452fa58285239f83945accad9513, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <aba30af07d4fe499b50209801eba9da8a815522f, >=523f1dce37434a9a6623bf46e7893e2b4b10ac3c <add9328c91c195c494cd68a21b19e5e47a20d784, =2.6.22 | af8a172c4f71ac30d625f2966d2389a7fa872819, 319393151367e6626affedcdd4f7b7b0286f4246, 74f3c639f64fa5da4e1613149798b5089bce2807, 7cc6b3745a0cea697c8d0684b3094f220281a08d, 91acd231f219452fa58285239f83945accad9513, aba30af07d4fe499b50209801eba9da8a815522f, add9328c91c195c494cd68a21b19e5e47a20d784 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=2.6.22 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket