CVE-2026-98266

ALSA: core: Fix potential UAF after asynchronous card release

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5c0df40aa577e405c458e44e8d458dd78407f4afAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2dec4642589a663e064e4411d92d6e8fa250d53bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 398b21608955c9712a012355b69a39407367edc9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fd95e68df6fe66344161a1329cbe5e5805e7b704Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 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.