CVE-2023-0266 Linux Kernel Use-After-Free

Exploited in the wild High 7.9 Published Updated

A use-after-free in the Linux Kernel ALSA PCM package allows local attackers to escalate privileges to ring0 access.

Exploited in the wild
Since 30 Mar 2023
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-0266?

CVE-2023-0266 is a high-severity use after free vulnerability in Debian Debian Linux, published on 30 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-416

Which versions are affected by CVE-2023-0266?

It affects 2 products.

Linux distribution packages (40)
bpftool Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
bpftool-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-abi-whitelists Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-core Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug-core Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug-devel Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug-modules Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debug-modules-extra Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debuginfo-common-ppc64le Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-debuginfo-common-x86_64 Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-devel Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-doc Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-modules Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-modules-extra Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-tools Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-tools-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kernel-tools-libs Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
kpatch-patch-4_18_0-147_74_1 Red Hat:rhel_e4s:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_74_1-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_74_1-debugsource Red Hat:rhel_e4s:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_76_1 Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_76_1-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_76_1-debugsource Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_77_1 Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_77_1-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_77_1-debugsource Red Hat:rhel_e4s:8.1::baseosAll versions0:1-3.el8_1
kpatch-patch-4_18_0-147_78_1 Red Hat:rhel_e4s:8.1::baseosAll versions0:1-2.el8_1
kpatch-patch-4_18_0-147_78_1-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:1-2.el8_1
kpatch-patch-4_18_0-147_78_1-debugsource Red Hat:rhel_e4s:8.1::baseosAll versions0:1-2.el8_1
kpatch-patch-4_18_0-147_80_1 Red Hat:rhel_e4s:8.1::baseosAll versions0:1-1.el8_1
kpatch-patch-4_18_0-147_80_1-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:1-1.el8_1
kpatch-patch-4_18_0-147_80_1-debugsource Red Hat:rhel_e4s:8.1::baseosAll versions0:1-1.el8_1
perf Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
perf-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
python3-perf Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1
python3-perf-debuginfo Red Hat:rhel_e4s:8.1::baseosAll versions0:4.18.0-147.81.1.el8_1

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-0266?

Apply the vendor's patch. US federal agencies must fix it by 20 Apr 2023.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-0266 being exploited?

Yes. Attackers have exploited CVE-2023-0266 in the wild since at least 30 Mar 2023.

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as A-265303544, AZL-13190, AZL-13229, DEBIAN-CVE-2023-0266, GHSA-h8jm-3c82-6vvq, OESA-2023-1198 and 7 more.

Is CVE-2023-0266 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free