# CVE-2023-0266

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

- Page: https://www.vulneraibility.com/cve/CVE-2023-0266
- CVSS: 7.9
- Known exploited: yes, in CISA KEV since 2023-03-30; CISA due date 2023-04-20
- EPSS: 2.60% (percentile 85.6)
- Unvetted proof-of-concept code on GitHub: 1 GitHub proof of concept (first 2024-03-10)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-01-29)
- Weakness: CWE-416
- Published: 2023-01-30

## Affected versions

- Linux Linux Kernel: affected >= 4.14 and < 56b88b50565cd8b946a2d00b0c83927b7ebb055e

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://github.com/torvalds/linux/commit/becf9e5d553c2389d857a3c178ce80fdb34a02e1
- [other] 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
- [other] 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

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
