cve.bz

CVE-2023-1872 Use After Free

7.0 highEPSS 0.3%Fix available

High (7.0). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free vulnerability in the Linux Kernel io_uring system can be exploited to achieve local privilege escalation. The io_file_get_fixed function lacks the presence of ctx->uring_lock which can lead to a Use-After-Free vulnerability due a race condition with fixed files getting unregistered. We recommend upgrading past commit da24142b1ef9fd5d36b76e36bab328a5b27523e8.

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
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1872 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1872?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1872?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-1872 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 CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 5.7 through 5.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux5.17.3-1DEBIAN-CVE-2023-1872
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1872
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-1872
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1035.39~20.04.1UBUNTU-CVE-2023-1872 USN-6044-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1037.44~20.04.1UBUNTU-CVE-2023-1872 USN-6051-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1037.44~20.04.1.1UBUNTU-CVE-2023-1872 USN-6070-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1033.41~20.04.1UBUNTU-CVE-2023-1872 USN-6107-1
Ubuntu20.04:LTSlinux-gke-5.155.15.0-1032.37~20.04.1UBUNTU-CVE-2023-1872 USN-6044-1
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1019.24~20.04.1UBUNTU-CVE-2023-1872
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-71.78~20.04.1UBUNTU-CVE-2023-1872 USN-6044-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1030.35~20.04.1UBUNTU-CVE-2023-1872 USN-6134-1
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1034.40~20.04.1UBUNTU-CVE-2023-1872 USN-6044-1
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 22 moreno fix listedUBUNTU-CVE-2023-1872
77 more for Ubuntu in the JSON and on Ubuntu'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.151.1.150200.9.73.1SUSE-SU-2023:2146-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.151.1SUSE-SU-2023:2146-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-source and 3 more5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.121.2.150300.18.70.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morekernel-syms5.3.18-150300.59.121.1SUSE-SU-2023:2148-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.151.1SUSE-SU-2023:2146-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.121.2SUSE-SU-2023:2148-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_2911-150200.2.3SUSE-SU-2023:2405-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_325-150200.2.3SUSE-SU-2023:2448-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_352-150200.2.3SUSE-SU-2023:2401-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_361-150200.5.3.1SUSE-SU-2023:2146-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_1914-150300.2.3SUSE-SU-2023:2405-1
10 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.121.1SUSE-SU-2023:2148-1
Azure Linux2kernel5.15.111.1-1AZL-26167

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

Red Hat

Red Hat rates this Important.

Red Hat's statement

Shipping releases of Red Hat Enterprise Linux kernels are not affected by this flaw, as they do not include support for the `io_uring` subsystem (CONFIG_IO_URING is not set).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

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-1872.

References

Check your stackJSON