Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
ALSA: FCP: Fix NULL pointer dereference in interface lookup
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.
References
Affected products
Linux
- <f28d7b5f1578a7501ab17b10643ed1e4f729187e
- ==6.14
- =<*
- <e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c
- <3ab06151ffcb8c3aeb8f78508658b6c0f05be932
- =<6.18.*
- <6.14
- =<7.1.*