ALSA: usb: 6fire: Avoid embedded URBs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d181434549b3da668110a25d743848cce9897f4e, Kernel 3ef9093d83ffecb8e5f6c9d5769a52d39df74f7a, Kernel 52a43c2d57e774489ac3fbbac06ff02f19bd9a52 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb: 6fire: Avoid embedded URBs The USB 6fire driver uses URBs embedded in different structs for PCM, MIDI and communication, and this is basically a buggy implementation nowadays; since a URB is managed with a refcount, this may lead to a UAF when the URB is released asynchronously. For addressing the problem, this patch converts those embedded URBs to ones that are properly allocated via usb_alloc_urb(). The pcm_urb.packets[] is gone, as it's allocated by usb_alloc_urb(), hence it's found in urb.iso_frame_desc[] instead. The conversions are rather straightforward; each embedded struct urb is changed to a pointer, and its callers are updated accordingly. The resource for those structs are released in the common destructor functions (usb6fire_comm_free(), etc), which are called at both the init error path and the disconnect. No functional changes, only compile-tested.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <d181434549b3da668110a25d743848cce9897f4e, >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <3ef9093d83ffecb8e5f6c9d5769a52d39df74f7a, >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <52a43c2d57e774489ac3fbbac06ff02f19bd9a52, >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <8b8559aeaba2e51cfee1779b2383b085991f7d81, >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <999f433c09e4668412bd68ca207ae2b4af863862, >=c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 <9fe49dbc023e82dfaee7b245997d820d01742a9a, =2.6.39 | d181434549b3da668110a25d743848cce9897f4e, 3ef9093d83ffecb8e5f6c9d5769a52d39df74f7a, 52a43c2d57e774489ac3fbbac06ff02f19bd9a52, 8b8559aeaba2e51cfee1779b2383b085991f7d81, 999f433c09e4668412bd68ca207ae2b4af863862, 9fe49dbc023e82dfaee7b245997d820d01742a9a |
| linux-kernel: Kernel | >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=2.6.39 <6.1.189 | 6.18.54, 7.2.8, 6.6.158, 6.12.112, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket