GHSA-fr6v-fcwq-3cgmunknown
In the Linux kernel, the following vulnerability has been resolved: ALSA: FCP: Fix NULL pointer...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-72403
- https://git.kernel.org/stable/c/3ab06151ffcb8c3aeb8f78508658b6c0f05be932
- https://git.kernel.org/stable/c/e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c
- https://git.kernel.org/stable/c/f28d7b5f1578a7501ab17b10643ed1e4f729187e
- https://github.com/advisories/GHSA-fr6v-fcwq-3cgm