ALSA: usb-audio: Fix use-after-free in snd_usb_mixer_free()
Summary
| CVE | CVE-2026-23089 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-02-04 17:16:19 UTC |
| Updated | 2026-10-19 19:17:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e 51b1aa6fe7dc87356ba58df06afb9677c9b841ea git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e 56fb6efd5d04caf6f14994d51ec85393b9a896c6 git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e 7009daeefa945973a530b2f605fe445fc03747af git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e 7bff0156d13f0ad9436e5178b979b063d59f572a git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e e6f103a22b08daf5df2f4aa158081840e5910963 git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e dc1a5dd80af1ee1f29d8375b12dd7625f6294dad git | Not specified |
| CNA | Linux | Linux | affected 6639b6c2367f884ca172b78d69f7da17bfab2e5e 930e69757b74c3ae083b0c3c7419bfe7f0edc7b2 git | Not specified |
| CNA | Linux | Linux | affected 2.6.13 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.249 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.199 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.162 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.122 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.68 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.8 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/51b1aa6fe7dc87356ba58df06afb9677c9b841ea | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/56fb6efd5d04caf6f14994d51ec85393b9a896c6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7009daeefa945973a530b2f605fe445fc03747af | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7bff0156d13f0ad9436e5178b979b063d59f572a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/dc1a5dd80af1ee1f29d8375b12dd7625f6294dad | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/930e69757b74c3ae083b0c3c7419bfe7f0edc7b2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e6f103a22b08daf5df2f4aa158081840e5910963 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.