cve.bz

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

7.0 highKEVEPSS 2.6%Fix available

High (7.0) in Linux Kernel. In CISA KEV since 2023-03-30. EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2023-03-30, due 2023-04-20
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-0266 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0266?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0266?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-0266 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux10.0
linux:linux_kernelfrom 4.14 before 4.14.303
linux:linux_kernelfrom 4.15 before 4.19.270
linux:linux_kernelfrom 4.20 before 5.4.229
linux:linux_kernelfrom 5.5 before 5.10.163
linux:linux_kernelfrom 5.11 before 5.15.88
linux:linux_kernelfrom 5.16 before 6.1.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.162-1~deb10u1DLA-3349-1
Debian11linux5.10.162-1DSA-5324-1
Debian12, 13, 14linux6.1.7-1DEBIAN-CVE-2023-0266
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-0266
Ubuntu18.04:LTSlinux4.15.0-208.220UBUNTU-CVE-2023-0266 USN-5984-1
Ubuntu18.04:LTSlinux-aws4.15.0-1153.166UBUNTU-CVE-2023-0266 USN-5984-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1097.105~18.04.1UBUNTU-CVE-2023-0266 USN-5917-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1162.177UBUNTU-CVE-2023-0266 USN-5927-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1104.110~18.04.1UBUNTU-CVE-2023-0266 USN-5917-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1062.67UBUNTU-CVE-2023-0266 USN-5984-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-0266
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1147.163UBUNTU-CVE-2023-0266 USN-5991-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1101.110~18.04.1UBUNTU-CVE-2023-0266 USN-5939-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-144.161~18.04.1UBUNTU-CVE-2023-0266 USN-5917-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1045.50~18.04.1UBUNTU-CVE-2023-0266 USN-5951-1
66 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_10_1, kpatch-patch-4_18_0-425_10_1-debuginfo, kpatch-patch-4_18_0-425_10_1-debugsource0:1-4.el8_7RHSA-2023:1659
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_13_1, kpatch-patch-4_18_0-425_13_1-debuginfo, kpatch-patch-4_18_0-425_13_1-debugsource0:1-2.el8_7RHSA-2023:1659
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_3_1, kpatch-patch-4_18_0-425_3_1-debuginfo, kpatch-patch-4_18_0-425_3_1-debugsource0:1-6.el8RHSA-2023:1659
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.19.2.el8_7RHSA-2023:1566
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.19.2.el8_7RHSA-2023:1566
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.19.2.rt7.230.el8_7RHSA-2023:1584
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-425.19.2.rt7.230.el8_7RHSA-2023:1584
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.22.2.el9_1RHSA-2023:1470
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.22.2.el9_1RHSA-2023:1470
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_12_1, kpatch-patch-5_14_0-162_12_1-debuginfo, kpatch-patch-5_14_0-162_12_1-debugsource0:1-2.el9_1RHSA-2023:1471
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_18_1, kpatch-patch-5_14_0-162_18_1-debuginfo, kpatch-patch-5_14_0-162_18_1-debugsource0:1-1.el9_1RHSA-2023:1471
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_6_1, kpatch-patch-5_14_0-162_6_1-debuginfo, kpatch-patch-5_14_0-162_6_1-debugsource0:1-3.el9_1RHSA-2023:1471
45 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.142.1.150200.9.67.1SUSE-SU-2023:0406-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.142.1SUSE-SU-2023:0406-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.109.1SUSE-SU-2023:0152-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 morekernel-default-base5.3.18-150300.59.109.1.150300.18.62.1SUSE-SU-2023:0152-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.150.1SUSE-SU-2023:0634-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.142.1SUSE-SU-2023:0406-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.109.1SUSE-SU-2023:0152-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.46.1SUSE-SU-2023:0433-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_3111-2.3SUSE-SU-2023:1653-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_348-2.3SUSE-SU-2023:1602-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_383-2.3SUSE-SU-2023:1619-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_392-2.3SUSE-SU-2023:1640-1
34 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.109.1SUSE-SU-2023:0152-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-syms and 7 more5.14.21-150400.24.46.1SUSE-SU-2023:0433-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.34.1SUSE-SU-2023:0394-1
openSUSELeap 15.4kernel-docs5.14.21-150400.24.46.2SUSE-SU-2023:0433-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.11.1SUSE-SU-2023:0488-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.46.1.150400.24.17.3SUSE-SU-2023:0433-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.109.1SUSE-SU-2023:0152-1
openSUSELeap Micro 5.2kernel-default-base5.3.18-150300.59.109.1.150300.18.62.1SUSE-SU-2023:0152-1
openSUSELeap Micro 5.3kernel-default5.14.21-150400.24.46.1SUSE-SU-2023:0433-1
openSUSELeap Micro 5.3kernel-rt5.14.21-150400.15.11.1SUSE-SU-2023:0488-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-425.19.2.rt7.230.el8_7ALSA-2023:1584
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-425.19.2.el8_7ALSA-2023:1566
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more5.14.0-162.22.2.rt21.186.el9_1ALSA-2023:1469
AlmaLinux9perf, kernel, bpftool and 24 more5.14.0-162.22.2.el9_1ALSA-2023:1470
Rocky Linux8kernel0:4.18.0-425.19.2.el8_7RLSA-2023:1566
Rocky Linux8kernel0:4.18.0-425.19.2.el8_7.cloudRXSA-2023:1566
Rocky Linux8kernel-rt0:4.18.0-425.19.2.rt7.230.el8_7RLSA-2023:1584
Rocky Linux9kernel0:5.14.0-162.22.2.el9_1RLSA-2023:1470
Rocky Linux9kernel-rt0:5.14.0-162.22.2.rt21.186.el9_1RLSA-2023:1469
Azure Linux2hyperv-daemons5.15.92.1-1AZL-13190
Azure Linux2kernel5.15.92.1-1AZL-13229

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

To mitigate this issue, skip loading (blacklist) the affected soundcard using modules like:

blacklist soundcore

blacklist snd

blacklist snd_pcm

blacklist snd_hda_codec_hdmi

blacklist snd_hda_codec_realtek

blacklist snd_hda_codec_generic

blacklist snd_hda_intel

blacklist snd_hda_codec

blacklist snd_hda_core

blacklist snd_hwdep

blacklist snd_timer

onto the system till we have a fix available.

This can be done by a blacklist mechanism, this will ensure the driver is not loaded at the boot time.

~~~

How do I blacklist a kernel module to prevent it from loading automatically?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.19.2.rt7.230.el8_7Fixed 2023-04-04RHSA-2023:1584
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.19.2.el8_7Fixed 2023-04-04RHSA-2023:1566
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-04-05RHSA-2023:1659
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.81.1.el8_1Fixed 2023-04-04RHSA-2023:1588
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-04-04RHSA-2023:1590
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.105.1.el8_2Fixed 2023-04-04RHSA-2023:1559
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.105.1.rt13.156.el8_2Fixed 2023-04-04RHSA-2023:1560
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.105.1.el8_2Fixed 2023-04-04RHSA-2023:1559
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.105.1.el8_2Fixed 2023-04-04RHSA-2023:1559
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2023-04-05RHSA-2023:1666
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.86.2.rt7.160.el8_4Fixed 2023-04-04RHSA-2023:1556
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.86.2.el8_4Fixed 2023-04-04RHSA-2023:1557
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchFixed 2023-04-05RHSA-2023:1662
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.51.1.el8_6Fixed 2023-04-04RHSA-2023:1554
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2023-04-05RHSA-2023:1660
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.22.2.el9_1Fixed 2023-03-27RHSA-2023:1470
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.22.2.rt21.186.el9_1Fixed 2023-03-27RHSA-2023:1469
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-0266.

References

Check your stackJSON