# CVE-2026-90198: ALSA: core: Fix use-after-free in snd\_card\_do\_free()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2026-09-17T16:07:16.923Z
- **Modified:** 2026-10-19T09:19:09.800Z

## Who should check

- Anyone running Linux \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< d3d67f680dbc23a5e5e3d3ecfdbf700465809877; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 09b27dd01b98480334c10bf6fb8d41d5fb063a4b; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 03c5dabc8f16bc212a5b26d2425c03a55e55a86d; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 6da22efb5cf490b06ffbca32b10fc8af7654fee0; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< a561012868ae37c28f61fdf658bf6f251bc0e8e8; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 7d9b5e86775fa97a487da08b9aa76e1674bf8868; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 5ae1a690c522fea2900ff56c8c2ace7b059f5e04
- Anyone running Linux 5.15

## Description

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

ALSA: core: Fix use-after-free in snd\_card\_do\_free()

A use-after-free was detected in snd\_card\_do\_free() when a sound card
managed by devres is unbound while a user-space application still holds an
open file descriptor.

For managed cards, the memory is allocated using devres\_alloc(), and its
release function is set to \_\_snd\_card\_release(), which calls
snd\_card\_free(). When the device is unbound, the unbind thread calls
snd\_card\_free(), which drops a reference to the card's device. If the user
thread still has an open file descriptor, the reference count does not
reach zero, and the unbind thread blocks on wait\_for\_completion(&released).

When the user thread closes the file descriptor, it drops the final
reference, invoking the device release callback release\_card\_device(),
which calls snd\_card\_do\_free(). snd\_card\_do\_free() performs cleanup and
calls complete(card-\>release\_completion). This wakes up the unbind thread,
which returns from snd\_card\_free() and \_\_snd\_card\_release(). The devres
core then immediately frees the memory block containing the snd\_card
structure.

Meanwhile, the user thread continues execution in snd\_card\_do\_free() and
evaluates \`if (!card-\>managed)\`. It reads the \`managed\` boolean from the
snd\_card structure that was just freed by the unbind thread, triggering a
KASAN use-after-free.

Fix this by caching the value of card-\>managed in a local variable before
calling complete(). This ensures that the card pointer is not dereferenced
after the unbind thread has been woken up and potentially freed the card.

BUG: KASAN: use-after-free in snd\_card\_do\_free sound/core/init.c:604
\[inline\]
BUG: KASAN: use-after-free in release\_card\_device+0x1ab/0x1b0
sound/core/init.c:153
Read of size 1 at addr ffff8881912ec909 by task syz-executor130/5857

Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0xe8/0x150 lib/dump\_stack.c:120
 print\_address\_description+0x55/0x1e0 mm/kasan/report.c:378
 print\_report+0x58/0x70 mm/kasan/report.c:482
 kasan\_report+0x117/0x150 mm/kasan/report.c:595
 snd\_card\_do\_free sound/core/init.c:604 \[inline\]
 release\_card\_device+0x1ab/0x1b0 sound/core/init.c:153
 device\_release+0xc4/0x1f0 drivers/base/core.c:-1
 kobject\_cleanup lib/kobject.c:689 \[inline\]
 kobject\_release lib/kobject.c:720 \[inline\]
 kref\_put include/linux/kref.h:65 \[inline\]
 kobject\_put+0x222/0x550 lib/kobject.c:737
 snd\_card\_file\_remove+0x331/0x390 sound/core/init.c:1125
 snd\_pcm\_release+0x12c/0x160 sound/core/pcm\_native.c:2986
 \_\_fput+0x418/0xa50 fs/file\_table.c:512
 fput\_close\_sync+0x11f/0x240 fs/file\_table.c:617
 \_\_do\_sys\_close fs/open.c:1511 \[inline\]
 \_\_se\_sys\_close fs/open.c:1496 \[inline\]
 \_\_x64\_sys\_close+0x7e/0x110 fs/open.c:1496
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0x174/0x580 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 \</TASK\>

## Affected and fixed versions

- Linux: \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< d3d67f680dbc23a5e5e3d3ecfdbf700465809877; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 09b27dd01b98480334c10bf6fb8d41d5fb063a4b; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 03c5dabc8f16bc212a5b26d2425c03a55e55a86d; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 6da22efb5cf490b06ffbca32b10fc8af7654fee0; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< a561012868ae37c28f61fdf658bf6f251bc0e8e8; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 7d9b5e86775fa97a487da08b9aa76e1674bf8868; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 5ae1a690c522fea2900ff56c8c2ace7b059f5e04 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 5ae1a690c522fea2900ff56c8c2ace7b059f5e04 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90198. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90198.md
Affected: Linux >= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, < d3d67f680dbc23a5e5e3d3ecfdbf700465809877; >= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, < 09b27dd01b98480334c10bf6fb8d41d5fb063a4b; >= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, < 03c5dabc8f16bc212a5b26d2425c03a55e55a86d; >= e8ad415b7a55cb9a9fbfc04…
Fixed in: Linux 09b27dd01b98480334c10bf6fb8d41d5fb063a4b, Linux 03c5dabc8f16bc212a5b26d2425c03a55e55a86d, Linux 6da22efb5cf490b06ffbca32b10fc8af7654fee0, Linux 7d9b5e86775fa97a487da08b9aa76e1674bf8868, Linux 5ae1a690c522fea2900ff56c8c2ace7b059f5e04

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

## FAQ

### Is CVE-2026-90198 being exploited?

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

### How serious is CVE-2026-90198?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90198?

Linux \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< d3d67f680dbc23a5e5e3d3ecfdbf700465809877; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 09b27dd01b98480334c10bf6fb8d41d5fb063a4b; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 03c5dabc8f16bc212a5b26d2425c03a55e55a86d; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 6da22efb5cf490b06ffbca32b10fc8af7654fee0; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< a561012868ae37c28f61fdf658bf6f251bc0e8e8; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 7d9b5e86775fa97a487da08b9aa76e1674bf8868; \>= e8ad415b7a55cb9a9fbfc04696518d5ea0b609b3, \< 5ae1a690c522fea2900ff56c8c2ace7b059f5e04; Linux 5.15.

### Is there a fix for CVE-2026-90198?

Yes. Fixed in Linux 09b27dd01b98480334c10bf6fb8d41d5fb063a4b, Linux 03c5dabc8f16bc212a5b26d2425c03a55e55a86d, Linux 6da22efb5cf490b06ffbca32b10fc8af7654fee0, Linux 7d9b5e86775fa97a487da08b9aa76e1674bf8868, Linux 5ae1a690c522fea2900ff56c8c2ace7b059f5e04. Upgrade Linux to 5ae1a690c522fea2900ff56c8c2ace7b059f5e04 or later.

### How do I check if I'm affected by CVE-2026-90198?

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.

## References

- other: <https://git.kernel.org/stable/c/d3d67f680dbc23a5e5e3d3ecfdbf700465809877>
- other: <https://git.kernel.org/stable/c/09b27dd01b98480334c10bf6fb8d41d5fb063a4b>
- other: <https://git.kernel.org/stable/c/03c5dabc8f16bc212a5b26d2425c03a55e55a86d>
- other: <https://git.kernel.org/stable/c/6da22efb5cf490b06ffbca32b10fc8af7654fee0>
- other: <https://git.kernel.org/stable/c/a561012868ae37c28f61fdf658bf6f251bc0e8e8>
- other: <https://git.kernel.org/stable/c/7d9b5e86775fa97a487da08b9aa76e1674bf8868>
- other: <https://git.kernel.org/stable/c/5ae1a690c522fea2900ff56c8c2ace7b059f5e04>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90198>

HTML: <https://flawdb.com/CVE-2026-90198> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90198>
