CVE-2026-23191
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23191 is a Use-After-Free (UAF) vulnerability in the Linux kernel's ALSA aloop (audio loopback) driver, specifically in the PCM trigger callback. The flaw arises from a race condition when checking PCM state and stopping streams on tied substreams without proper cable lock protection, which was discovered through fuzzing. Affected versions span Linux kernel 2.6.37 through 6.12.69, 6.13 through 6.18.9, and 6.19-rc1 through 6.19-rc8. It was published on February 14, 2026, with patches released on March 18, 2026. The CVSS v3.1 base score is 7.0 (High) (Feedly).

Technical details

The root cause is classified as CWE-416 (Use After Free). The PCM trigger callback in the aloop driver performs both state checks and stream stop operations on tied substreams outside the cable->lock spinlock, creating a time-of-check/time-of-use race condition. When a program rapidly triggers PCM operations while concurrently opening or closing the tied stream, the substream pointer can be freed and reused before the trigger callback completes its access, resulting in UAF. The fix adds spinlock protection around loopback_check_format() and introduces proper NULL checks to prevent access to freed memory (Feedly, Kernel Patch 1, Kernel Patch 2).

Impact

Successful exploitation can lead to kernel memory corruption, system crashes (denial of service), or potential arbitrary code execution in kernel context. An attacker with local low-privilege access who can interact with the ALSA aloop audio device (/dev/snd/*) can trigger the race condition through rapid, concurrent PCM trigger operations. In the worst case, kernel-level code execution could enable full system compromise and lateral movement within a multi-tenant or containerized environment (Feedly).

Exploitation steps

  1. Gain local access: Obtain a low-privilege shell on a target Linux system running a vulnerable kernel version (2.6.37–6.12.69, 6.13–6.18.9, or 6.19-rc1–rc8) with the snd-aloop module loaded.
  2. Load the aloop module: If not already loaded, execute modprobe snd-aloop (may require appropriate permissions or a misconfigured system).
  3. Open tied PCM substreams: Open both the playback and capture substreams of the aloop cable device (e.g., /dev/snd/pcmC1D0p and /dev/snd/pcmC1D1c) from separate threads or processes.
  4. Race the trigger callback: In one thread, rapidly and repeatedly issue PCM trigger ioctls (SNDRV_PCM_IOCTL_START/SNDRV_PCM_IOCTL_DROP) on the playback substream while a second thread concurrently opens and closes the capture substream.
  5. Trigger UAF: The race condition causes the trigger callback to access the already-freed capture substream pointer, resulting in a UAF condition that can corrupt kernel memory or crash the system, and potentially be leveraged for privilege escalation (Feedly).

Indicators of compromise

  • Logs: Kernel oops or BUG messages in /var/log/kern.log or dmesg referencing snd_aloop, loopback_check_format, or loopback_trigger with use-after-free or null pointer dereference traces.
  • Logs: KASAN (Kernel Address Sanitizer) reports indicating use-after-free in sound/drivers/aloop.c if the kernel is compiled with KASAN enabled.
  • Process: Unusual processes repeatedly opening/closing /dev/snd/pcmC*D* devices at high frequency, detectable via lsof or auditd syscall monitoring on open/close/ioctl calls to ALSA PCM devices.
  • File System: Unexpected loading of the snd-aloop kernel module on systems that do not use audio loopback functionality (lsmod | grep snd_aloop).
  • Network: No direct network indicators; however, post-exploitation activity such as unexpected outbound connections or privilege escalation artifacts (new SUID binaries, modified /etc/passwd) may follow a successful kernel exploit.

Mitigation and workarounds

Patches are available in Linux kernel versions 6.12.70 and later (for the 6.12.x stable branch) and 6.18.10 and later (for 6.13+ branches); all releases after 6.19-rc8 are also fixed (Feedly, Kernel Patch 1). Downstream distributions including Red Hat (RHSA-2026:6632, RHSA-2026:9131, and others), SUSE, Debian, Ubuntu, Oracle Linux, AlmaLinux, and Rocky Linux have issued updated kernel packages. As a workaround for systems that cannot be immediately patched, restrict access to ALSA audio devices (/dev/snd/*) to trusted users only using udev rules or group permissions, and consider blacklisting the snd-aloop module (echo 'blacklist snd-aloop' >> /etc/modprobe.d/blacklist.conf) if audio loopback functionality is not required.

Community reactions

The vulnerability received coverage from Linux security aggregators including LinuxSecurity.com, pro-linux.de, and linuxcompatible.org, primarily in the context of downstream distribution patch advisories for SUSE, Red Hat, Oracle Linux, Rocky Linux, AlmaLinux, Debian, and Ubuntu. A blog post on portallinuxferramentas.blogspot.com discussed the flaw in the context of local privilege escalation risks in the Linux kernel. No notable independent researcher commentary or significant social media discussion has been identified beyond standard patch tracking (Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management