CVE-2025-40085: ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card
Vulnerability summary
CVE-2025-40085 is a medium (CVSS 5.1) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11% of scored vulnerabilities.
Not severe (CVSS 5.1, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 50 · Related 46Timeline
- 29-10-2025PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
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().
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: physical access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu142 products
- linux< 5.15.0-170.180 | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1100.107 | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
- linux≥ 28787ff9fbeaf57684eb64cc33e2ec8ceedf21b5, < 736159f7b296d7a95f7208eb4799639b1f8b16a0 | ≥ 39efc9c8a973ddff5918191525d1679d0fb368ea, < 8d19a7ab28c7b9c207db5c5282afa8cc8595bcdb | ≥ 39efc9c8a973ddff5918191525d1679d0fb368ea, < 576312eb436326b44b7010f4d9ae2b698df075ea | ≥ 39efc9c8a973ddff5918191525d1679d0fb368ea, < bba7208765d26e5e36b87f21dacc2780b064f41f | ≥ 39efc9c8a973ddff5918191525d1679d0fb368ea, < 8503ac1a62075a085402e42a386b5c627c821a51 | ≥ 39efc9c8a973ddff5918191525d1679d0fb368ea, < 28412b489b088fb88dff488305fd4e56bd47f6e4 | 9d4f4dc3cd38e412c29a7626489fe48b79ebbf6c | 52076a41c128146c9df4a157e972cb17019313b1 | ≥ 5.15.75, < 5.15.196 | ≥ 5.19.17, < 5.20 | ≥ 6.0.3, < 6.1 | 6.1
3 vendors · 144 products