CVE-2025-40085

Not scored yetLast modified Oct 19, 2026

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

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 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
LinuxLinux6.1

References

Timeline

Published
Oct 29, 2025
Last modified
Oct 19, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-40086In the Linux kernel, the following vulnerability has been resolved: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds AnCVE-2025-400877.5In the Linux kernel, the following vulnerability has been resolved: NFSD: Define a proc_layoutcommit for the FlexFiles layout type Avoid aCVE-2025-400887.1In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix slab-out-of-bounds read in hfsplus_strcasecmp() The hfsplCVE-2025-40089In the Linux kernel, the following vulnerability has been resolved: cxl/features: Add check for no entries in cxl_feature_info cxl EDAC caCVE-2025-40099.3The Evertz SDVN 3080ipx-10G is a High Bandwidth Ethernet Switching Fabric for Video Application. This device exposes a web management interfCVE-2025-400905.5In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix recursive locking in RPC handle list access Since commit 30CVE-2025-40091In the Linux kernel, the following vulnerability has been resolved: ixgbe: fix too early devlink_free() in ixgbe_remove() Since ixgbe_adapCVE-2025-400927.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Refactor bind path to use __free() After an bind/uCVE-2025-400937.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ecm: Refactor bind path to use __free() After an bind/uCVE-2025-400947.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_acm: Refactor bind path to use __free() After an bind/uCVE-2025-400957.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_rndis: Refactor bind path to use __free() After an bindCVE-2025-400967.8In the Linux kernel, the following vulnerability has been resolved: drm/sched: Fix potential double free in drm_sched_job_add_resv_dependen
CVE-2025-40085: Unscored | Vulnix