ZeroHour

CVE-2023-0266

KEVmass

Use-After-Free in Linux Kernel ALSA PCM Enables Local Privilege Escalation

CISA: Linux Kernel Use-After-Free Vulnerability

CVSS 3.1
7.0 high
EPSS
4%p89
Published
()
KEV added
AI analysis

CVE-2023-0266 is a use-after-free (CWE-416) in the ALSA PCM subsystem of the Linux kernel: the SNDRV_CTL_IOCTL_ELEM_READ32 and SNDRV_CTL_IOCTL_ELEM_WRITE32 compat ioctl handlers are missing locking, so a local user can trigger access to a control element that has already been freed. An attacker with low-privilege local user access on a system with the ALSA subsystem can exploit this race to escalate privileges and gain ring0 (kernel-level) access. The flaw affects Linux kernel builds fixed by commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e, including kernels shipped in distributions such as Debian. Exploitation is confirmed in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2023-03-30, and reporting around commercial surveillance spyware campaigns (per Google TAG) indicates it was used as a zero-day in spyware exploit chains. EPSS assigns a 3.7% probability of exploitation in the next 30 days (89th percentile), and no public proof-of-concept is known.

What to do: Upgrade affected systems to a Linux kernel that includes fix commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e, and apply vendor updates per instructions — for Debian systems, install the updated kernel packages from Debian security updates and reboot to load the patched kernel. Prioritize multi-user servers and workstations where untrusted or low-privilege local users can execute code, as this is a local privilege escalation vector with in-the-wild spyware exploitation. As interim mitigation, restrict which local users can access ALS device nodes (e.g., /dev/snd/*) or limit local account access on exposed systems.

Affected
Linux KernelKernel builds containing the vulnerable ALSA PCM code prior to fix commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e (upgrade past this commit); no specific versi
Debian Linux
Estimated exposure
masshundreds of millions of Linux installations broadly (kernel runs on most servers, cloud instances, and Linux desktops); practically, multi-user systems with… — The Linux kernel is the dominant OS for servers and cloud workloads by public market-share surveys, giving hundreds of millions of installations, but because exploitation requires local user access and the ALSA sound subsystem, only a…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A use after free vulnerability exists in the ALSA PCM package in the Linux Kernel. SNDRV_CTL_IOCTL_ELEM_{READ|WRITE}32 is missing locks that can be used in a use-after-free that can result in a priviledge escalation to gain ring0 access from the system user. We recommend upgrading past commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e

CISA Known Exploited Vulnerability
Affected
Linux Kernel
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
debianlinux
Products
debian linux, linux kernel
Weakness
CWE-416
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news