Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
46757a3e7d50dac923888e7fbe68377736f13c70 to < f28d7b5f1578a7501ab17b10643ed1e4f729187eaffected46757a3e7d50dac923888e7fbe68377736f13c70 to < 3ab06151ffcb8c3aeb8f78508658b6c0f05be932affected46757a3e7d50dac923888e7fbe68377736f13c70 to < e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7caffected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected