CVE-2025-40085

published 29 Oct 2025 · updated 17 Nov 2026

ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card

5.8MediumCVSS 5.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1, Kernel 28412b489b088fb88dff488305fd4e56bd47f6e4, Kernel 576312eb436326b44b7010f4d9ae2b698df075ea and 10 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.0.3 <6.1, >=39efc9c8a973ddff5918191525d1679d0fb368ea <28412b489b088fb88dff488305fd4e56bd47f6e4, >=39efc9c8a973ddff5918191525d1679d0fb368ea <576312eb436326b44b7010f4d9ae2b698df075ea, >=39efc9c8a973ddff5918191525d1679d0fb368ea <8503ac1a62075a085402e42a386b5c627c821a51, >=39efc9c8a973ddff5918191525d1679d0fb368ea <8d19a7ab28c7b9c207db5c5282afa8cc8595bcdb, >=39efc9c8a973ddff5918191525d1679d0fb368ea <bba7208765d26e5e36b87f21dacc2780b064f41f, >=5.15.75 <5.15.196, >=5.19.17 <5.20, =52076a41c128146c9df4a157e972cb17019313b1, =6.1, =9d4f4dc3cd38e412c29a7626489fe48b79ebbf6c, >=28787ff9fbeaf57684eb64cc33e2ec8ceedf21b5 <736159f7b296d7a95f7208eb4799639b1f8b16a06.1, 28412b489b088fb88dff488305fd4e56bd47f6e4, 576312eb436326b44b7010f4d9ae2b698df075ea, 8503ac1a62075a085402e42a386b5c627c821a51, 8d19a7ab28c7b9c207db5c5282afa8cc8595bcdb, bba7208765d26e5e36b87f21dacc2780b064f41f, 5.15.196, 5.20, 736159f7b296d7a95f7208eb4799639b1f8b16a0
linux-kernel: Kernel>=5.19.17 <5.20, >=6.0.3 <6.1, >=6.1.0 <6.1.158, >=6.13.0 <6.17.5, >=6.2.0 <6.6.114, >=6.7.0 <6.12.55, >=5.15.75 <5.15.1965.20, 6.1, 6.1.158, 6.17.5, 6.6.114, 6.12.55, 5.15.196

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40085 severity on Zeptric[![CVE-2025-40085](https://zeptric.io/badge/cve/CVE-2025-40085.svg)](https://zeptric.io/cve/CVE-2025-40085)