Bug 2407069 (CVE-2025-40085) - CVE-2025-40085 kernel: ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card
Summary: CVE-2025-40085 kernel: ALSA: usb-audio: Fix NULL pointer deference in try_to_...
Keywords:
Status: NEW
Alias: CVE-2025-40085
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-29 14:02 UTC by OSIDB Bzimport
Modified: 2025-10-29 17:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-29 14:02:06 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.