CVE-2025-40085 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card In try_to_register_card(), the return value of usb_ifnum_to_if() is passed directly to usb_interface_claimed() without a NULL check, which will lead to a NULL pointer dereference when creating an invalid USB audio device. Fix this by adding a check to ensure the interface pointer is valid before passing it to usb_interface_claimed().
A NULL pointer dereference vulnerability has been identified in the Linux kernel's handling of USB audio devices. This issue arises in the 'try_to_register_card()' function, where the return value of 'usb_ifnum_to_if()' is used without a NULL check. As a result, an invalid USB audio device can cause a NULL pointer dereference. The vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/28412b489b088fb88dff488305fd4e56bd47f6e4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/576312eb436326b44b7010f4d9ae2b698df075ea | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/736159f7b296d7a95f7208eb4799639b1f8b16a0 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8503ac1a62075a085402e42a386b5c627c821a51 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8d19a7ab28c7b9c207db5c5282afa8cc8595bcdb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bba7208765d26e5e36b87f21dacc2780b064f41f | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 29, 2025 | New CVE Received | kernel.org |
Volerion