# CVE-2026-23089: ALSA: usb-audio: Fix use-after-free in snd_usb_mixer_free()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-02-04T16:08:12.575Z
- Modified: 2026-10-19T19:17:35.503Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before 51b1aa6fe7dc87356ba58df06afb9677c9b841ea; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before 56fb6efd5d04caf6f14994d51ec85393b9a896c6; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before 7009daeefa945973a530b2f605fe445fc03747af; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before 7bff0156d13f0ad9436e5178b979b063d59f572a; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before e6f103a22b08daf5df2f4aa158081840e5910963; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before dc1a5dd80af1ee1f29d8375b12dd7625f6294dad; from 6639b6c2367f884ca172b78d69f7da17bfab2e5e before 930e69757b74c3ae083b0c3c7419bfe7f0edc7b2; 2.6.13 (not affected: before 2.6.13; from 5.10.249 up to 5.10.*; from 5.15.199 up to 5.15.*; from 6.1.162 up to 6.1.*; from 6.6.122 up to 6.6.*; from 6.12.68 up to 6.12.*; from 6.18.8 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 2.6.13 before 5.10.249; from 5.11 before 5.15.199; from 5.16 before 6.1.162; from 6.2 before 6.6.122; from 6.7 before 6.12.68; from 6.13 before 6.18.8; 6.19

## References

- <https://git.kernel.org/stable/c/51b1aa6fe7dc87356ba58df06afb9677c9b841ea> (patch)
- <https://git.kernel.org/stable/c/56fb6efd5d04caf6f14994d51ec85393b9a896c6> (patch)
- <https://git.kernel.org/stable/c/7009daeefa945973a530b2f605fe445fc03747af> (patch)
- <https://git.kernel.org/stable/c/7bff0156d13f0ad9436e5178b979b063d59f572a> (patch)
- <https://git.kernel.org/stable/c/e6f103a22b08daf5df2f4aa158081840e5910963> (patch)
- <https://git.kernel.org/stable/c/dc1a5dd80af1ee1f29d8375b12dd7625f6294dad> (patch)
- <https://git.kernel.org/stable/c/930e69757b74c3ae083b0c3c7419bfe7f0edc7b2> (patch)

## Sources

- CVE List: [CVE-2026-23089](https://www.cve.org/CVERecord?id=CVE-2026-23089), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-23089](https://nvd.nist.gov/vuln/detail/CVE-2026-23089), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-23089 · Whole record: https://cve.day/CVE-2026-23089.json · Rebuilt by cve.day 2026-11-25T22:59:13.472Z
