Menu

Star on GitHub · 3.2k

CVE-2025-40275

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd In snd_usb_create_streams(), for UAC version 3 dev…

Published Dec 6, 2025EPSS 0.19%

Overview

CVE-2025-40275 is a known-severity vulnerability. It was published on December 6, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd

In snd_usb_create_streams(), for UAC version 3 devices, the Interface

Association Descriptor (IAD) is retrieved via usb_ifnum_to_if(). If this

call fails, a fallback routine attempts to obtain the IAD from the next

interface and sets a BADD profile. However, snd_usb_mixer_controls_badd()

assumes that the IAD retrieved from usb_ifnum_to_if() is always valid,

without performing a NULL check. This can lead to a NULL pointer

dereference when usb_ifnum_to_if() fails to find the interface descriptor.

This patch adds a NULL pointer check after calling usb_ifnum_to_if() in

snd_usb_mixer_controls_badd() to prevent the dereference.

This issue was discovered by syzkaller, which triggered the bug by sending

a crafted USB device descriptor.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-40275?

CVE-2025-40275 is a known-severity vulnerability. It was published on December 6, 2025.

How severe is CVE-2025-40275?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-40275?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40275?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40275 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.