CVE-2025-40085

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

N/A
Published: October 29, 2025 at 01:37 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.75 ≤ v < 5.15.1965.19.17 ≤ v < 5.206.0.3 ≤ v < 6.128787ff9fbeaf57684eb64cc33e2ec8ceedf21b539efc9c8a973ddff5918191525d1679d0fb368ea5.15.755.19.1752076a41c128146c9df4a157e972cb17019313b16.0.36.19d4f4dc3cd38e412c29a7626489fe48b79ebbf6c
Vendor states this is fixed in 28412b489b088fb88dff488305fd4e56bd47f6e4 (fixed)
Vendor states this is fixed in 576312eb436326b44b7010f4d9ae2b698df075ea (fixed)
Vendor states this is fixed in 736159f7b296d7a95f7208eb4799639b1f8b16a0 (fixed)
Vendor states this is fixed in 8503ac1a62075a085402e42a386b5c627c821a51 (fixed)
Vendor states this is fixed in 8d19a7ab28c7b9c207db5c5282afa8cc8595bcdb (fixed)
Vendor states this is fixed in bba7208765d26e5e36b87f21dacc2780b064f41f (fixed)
Vendor states this is fixed in 5.15.196 (unaffected)
Affected range stops below 5.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.158 (unaffected)
Vendor states this is fixed in 6.12.55 (unaffected)
Vendor states this is fixed in 6.17.5 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.114 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card