# CVE-2023-0266: Use after free in SNDRV\_CTL\_IOCTL\_ELEM in Linux Kernel

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.9
- **CVSS:** 7.9 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2023-03-30; federal due date 2023-04-20
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2023-01-30T13:09:32.141Z
- **Modified:** 2026-06-17T05:25:09.763Z

## Who should check

- Anyone running Linux Kernel \>= 4.14, \< 56b88b50565cd8b946a2d00b0c83927b7ebb055e

## 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

## Affected and fixed versions

- Linux Kernel: \>= 4.14, \< 56b88b50565cd8b946a2d00b0c83927b7ebb055e (cvelist)

## Mitigation

- Upgrade Linux Kernel to 56b88b50565cd8b946a2d00b0c83927b7ebb055e or later.

## Timeline

- 2023-01-30: Published
- 2023-03-30: Added to CISA KEV (exploited in the wild)
- 2023-04-20: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-0266. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-0266.md
Affected: Linux Kernel >= 4.14, < 56b88b50565cd8b946a2d00b0c83927b7ebb055e
Fixed in: Linux Kernel 56b88b50565cd8b946a2d00b0c83927b7ebb055e

Steps:
1. Search this machine and project for Linux Kernel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-0266 being exploited?

Yes. CISA lists CVE-2023-0266 in its Known Exploited Vulnerabilities catalog since 2023-03-30, which means attacks have been seen. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-0266?

High: CVSS 7.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-0266?

Linux Kernel \>= 4.14, \< 56b88b50565cd8b946a2d00b0c83927b7ebb055e.

### Is there a fix for CVE-2023-0266?

Yes. Fixed in Linux Kernel 56b88b50565cd8b946a2d00b0c83927b7ebb055e. Upgrade Linux Kernel to 56b88b50565cd8b946a2d00b0c83927b7ebb055e or later.

### How do I check if I'm affected by CVE-2023-0266?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/torvalds/linux/commit/becf9e5d553c2389d857a3c178ce80fdb34a02e1>
- patch: <https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-5.10/alsa-pcm-move-rwsem-lock-inside-snd_ctl_elem_read-to-prevent-uaf.patch?id=72783cf35e6c55bca84c4bb7b776c58152856fd4>
- patch: <https://github.com/torvalds/linux/commit/56b88b50565cd8b946a2d00b0c83927b7ebb055e>
- other: <https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-0266>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-0266>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2023-0266> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-0266>
