CVE-2026-23089

ALSA: usb-audio: Fix use-after-free in snd_usb_mixer_free()

State
Published
Severity
Not scored
Published
Feb 4, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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

ALSA: usb-audio: Fix use-after-free in snd_usb_mixer_free()

When snd_usb_create_mixer() fails, snd_usb_mixer_free() frees mixer->id_elems but the controls already added to the card still reference the freed memory. Later when snd_card_register() runs, the OSS mixer layer calls their callbacks and hits a use-after-free read.

Call trace: get_ctl_value+0x63f/0x820 sound/usb/mixer.c:411 get_min_max_with_quirks.isra.0+0x240/0x1f40 sound/usb/mixer.c:1241 mixer_ctl_feature_info+0x26b/0x490 sound/usb/mixer.c:1381 snd_mixer_oss_build_test+0x174/0x3a0 sound/core/oss/mixer_oss.c:887 ... snd_card_register+0x4ed/0x6d0 sound/core/init.c:923 usb_audio_probe+0x5ef/0x2a90 sound/usb/card.c:1025

Fix by calling snd_ctl_remove() for all mixer controls before freeing id_elems. We save the next pointer first because snd_ctl_remove() frees the current element.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before 51b1aa6fe7dc87356ba58df06afb9677c9b841eaAffected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before 56fb6efd5d04caf6f14994d51ec85393b9a896c6Affected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before 7009daeefa945973a530b2f605fe445fc03747afAffected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before 7bff0156d13f0ad9436e5178b979b063d59f572aAffected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before e6f103a22b08daf5df2f4aa158081840e5910963Affected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before dc1a5dd80af1ee1f29d8375b12dd7625f6294dadAffected
  • 6639b6c2367f884ca172b78d69f7da17bfab2e5e to before 930e69757b74c3ae083b0c3c7419bfe7f0edc7b2Affected
LinuxLinux
  • 2.6.13Affected
  • before 2.6.13Not affected
  • 5.10.249 through 5.10.*Not affected
  • 5.15.199 through 5.15.*Not affected
  • 6.1.162 through 6.1.*Not affected
  • 6.6.122 through 6.6.*Not affected
  • 6.12.68 through 6.12.*Not affected
  • 6.18.8 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.