# CVE-2026-98266: ALSA: core: Fix potential UAF after asynchronous card release

- Severity: not scored yet
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:29.236Z
- Modified: 2026-11-23T08:17:25.537Z
- Assigned by: Linux

## Description

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

ALSA: core: Fix potential UAF after asynchronous card release

Usually a sound driver releases the resources assigned to the card via
snd_card_free(), and it synchronizes with the whole release procedure.
However, when the card is released asynchronously via
snd_card_free_when_closed() like USB-audio driver, the situation is
slightly different; although the snd_card_disconnect() call at the
disconnection guarantees that any newer accesses will be gated, the
in-flight tasks might be still accessing to the underlying card->dev
device even after the disconnection, which would cause a
use-after-free in the end, as reported by fuzzers.

For addressing the bug above, this patch takes the refcount of
card->dev at initialization of the card object, and releases at its
destructor.   This assures the availability of the card->dev in its
whole lifecycle.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 723b72f35823173d5581839c0a9616c3cc7375c1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6ccbdeaf1a0f7e4baf7be896fca865a59c742615; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5c0df40aa577e405c458e44e8d458dd78407f4af; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2dec4642589a663e064e4411d92d6e8fa250d53b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 398b21608955c9712a012355b69a39407367edc9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd95e68df6fe66344161a1329cbe5e5805e7b704; 2.6.12 (not affected: before 2.6.12; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/723b72f35823173d5581839c0a9616c3cc7375c1>
- <https://git.kernel.org/stable/c/6ccbdeaf1a0f7e4baf7be896fca865a59c742615>
- <https://git.kernel.org/stable/c/5c0df40aa577e405c458e44e8d458dd78407f4af>
- <https://git.kernel.org/stable/c/2dec4642589a663e064e4411d92d6e8fa250d53b>
- <https://git.kernel.org/stable/c/398b21608955c9712a012355b69a39407367edc9>
- <https://git.kernel.org/stable/c/fd95e68df6fe66344161a1329cbe5e5805e7b704>

## Sources

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

---

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