Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40275

UNSCOREDEPSS 14%

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

Mitigation

  • Upgrade Linux to 632108ec072ad64c8c83db6e16a7efee29ebfb74 or later.

Who should check

  • Anyone running Linux >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 9f282104627be5fbded3102ff9004f753c55a063; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 2762d3ea9c929ca4094541ca517c317ffa94625b; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 57f607c112966c21240c424b33e2cb71e121dcf0; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < cbdbfc756f2990942138ed0138da9303b4dbf9ff; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 85568535893600024d7d8794f4f8b6428b521e0c; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 632108ec072ad64c8c83db6e16a7efee29ebfb74
  • Anyone running Linux 4.18

Vulnerability facts

Affected
Linux >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 9f282104627be5fbded3102ff9004f753c55a063; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 2762d3ea9c929ca4094541ca517c317ffa94625b; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 57f607c112966c21240c424b33e2cb71e121dcf0; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < cbdbfc756f2990942138ed0138da9303b4dbf9ff; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 85568535893600024d7d8794f4f8b6428b521e0c; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 632108ec072ad64c8c83db6e16a7efee29ebfb74; Linux 4.18
Fixed in
Linux 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4, Linux 9f282104627be5fbded3102ff9004f753c55a063, Linux 2762d3ea9c929ca4094541ca517c317ffa94625b, Linux 57f607c112966c21240c424b33e2cb71e121dcf0, Linux 85568535893600024d7d8794f4f8b6428b521e0c, Linux 632108ec072ad64c8c83db6e16a7efee29ebfb74
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 9f282104627be5fbded3102ff9004f753c55a063; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 2762d3ea9c929ca4094541ca517c317ffa94625b; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 57f607c112966c21240c424b33e2cb71e121dcf0; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < cbdbfc756f2990942138ed0138da9303b4dbf9ff; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 85568535893600024d7d8794f4f8b6428b521e0c; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 632108ec072ad64c8c83db6e16a7efee29ebfb74—cvelist
Linux4.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40275. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40275.md
Affected: Linux >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 9f282104627be5fbded3102ff9004f753c55a063; >= 17156f23e93c0f59e06dd2a…
Fixed in: Linux 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4, Linux 9f282104627be5fbded3102ff9004f753c55a063, Linux 2762d3ea9c929ca4094541ca517c317ffa94625b, Linux 57f607c112966c21240c424b33e2cb71e121dcf0, Linux 85568535893600024d7d8794f4f8b6428b521e0c, Linux 632108ec072ad64c8c83db6e16a7efee29ebfb74

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40275 being exploited?

There is no confirmed exploitation: CVE-2025-40275 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40275?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40275?

Linux >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < c5c08965ab96b16361e69a1e2a0e89dbcb99b5a6; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 9f282104627be5fbded3102ff9004f753c55a063; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 2762d3ea9c929ca4094541ca517c317ffa94625b; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 57f607c112966c21240c424b33e2cb71e121dcf0; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < cbdbfc756f2990942138ed0138da9303b4dbf9ff; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 85568535893600024d7d8794f4f8b6428b521e0c; >= 17156f23e93c0f59e06dd2aaffd06221341caaee, < 632108ec072ad64c8c83db6e16a7efee29ebfb74; Linux 4.18.

Is there a fix for CVE-2025-40275?

Yes. Fixed in Linux 23aea9c74aeea2625aaf4fbcc6beb9d09e30f9e4, Linux 9f282104627be5fbded3102ff9004f753c55a063, Linux 2762d3ea9c929ca4094541ca517c317ffa94625b, Linux 57f607c112966c21240c424b33e2cb71e121dcf0, Linux 85568535893600024d7d8794f4f8b6428b521e0c, Linux 632108ec072ad64c8c83db6e16a7efee29ebfb74. Upgrade Linux to 632108ec072ad64c8c83db6e16a7efee29ebfb74 or later.

How do I check if I'm affected by CVE-2025-40275?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors