ALSA: FCP: Fix NULL pointer dereference in interface lookup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3ab06151ffcb8c3aeb8f78508658b6c0f05be932, Kernel e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c, Kernel f28d7b5f1578a7501ab17b10643ed1e4f729187e and 2 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: FCP: Fix NULL pointer dereference in interface lookup A malformed USB device can provide a vendor-specific interface without any endpoint descriptors. fcp_find_fc_interface() currently selects the first vendor-specific interface and reads endpoint 0 from it, without checking whether the interface actually has any endpoints. When bNumEndpoints is zero, no endpoint array is allocated for the parsed alternate setting, so get_endpoint(..., 0) yields an invalid endpoint descriptor pointer. Dereferencing it through usb_endpoint_num() then triggers a NULL pointer dereference. Skip vendor-specific interfaces that do not have any endpoints.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=46757a3e7d50dac923888e7fbe68377736f13c70 <3ab06151ffcb8c3aeb8f78508658b6c0f05be932, >=46757a3e7d50dac923888e7fbe68377736f13c70 <e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c, >=46757a3e7d50dac923888e7fbe68377736f13c70 <f28d7b5f1578a7501ab17b10643ed1e4f729187e | 3ab06151ffcb8c3aeb8f78508658b6c0f05be932, e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c, f28d7b5f1578a7501ab17b10643ed1e4f729187e |
| linux-kernel: Kernel | >=6.14.0 <6.18.40, >=6.19.0 <7.1.5 | 6.18.40, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket