Skip to main content
← All vulnerabilities
CVE-2025-40085

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.196, 5.20, 6.1
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.75 · fixed in 5.15.196; From 5.19.17 · fixed in 5.20; From 6.0.3 · fixed in 6.1

  • Linux Linux

    6.1

References 6

git.kernel.org