CVE-2026-46090
Awaiting Analysis Awaiting Analysis - Queue
Use-After-Free in Linux Kernel ALSA Loopback Device

Publication date: 2026-05-27

Last updated on: 2026-05-30

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Fix peer runtime UAF during format-change stop loopback_check_format() may stop the capture side when playback starts with parameters that no longer match a running capture stream. Commit 826af7fa62e3 ("ALSA: aloop: Fix racy access at PCM trigger") moved the peer lookup under cable->lock, but the actual snd_pcm_stop() still runs after dropping that lock. A concurrent close can clear the capture entry from cable->streams[] and detach or free its runtime while the playback trigger path still holds a stale peer substream pointer. Keep a per-cable count of in-flight peer stops before dropping cable->lock, and make free_cable() wait for those stops before detaching the runtime. This preserves the existing behavior while making the peer runtime lifetime explicit.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-30
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's ALSA aloop (audio loopback) component. It involves a use-after-free (UAF) issue during a format-change stop operation. Specifically, when playback starts with parameters that no longer match a running capture stream, the function loopback_check_format() may stop the capture side. Although a previous fix moved the peer lookup under a lock, the actual stop operation (snd_pcm_stop()) still occurs after releasing that lock. This can lead to a race condition where a concurrent close clears and frees the capture runtime while the playback trigger path still holds a stale pointer to the peer substream, causing a use-after-free.

The fix involves keeping a per-cable count of in-flight peer stops before releasing the lock and making the free_cable() function wait for those stops to complete before detaching the runtime. This ensures the peer runtime lifetime is managed explicitly and prevents the use-after-free condition.

Impact Analysis

This vulnerability can lead to a use-after-free condition in the ALSA aloop audio subsystem of the Linux kernel. Such a condition may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or cause denial of service by exploiting the stale pointer to freed memory.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46090. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart