CVE-2023-1872
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2023-1872) was discovered in the Linux Kernel iouring system, specifically in the iofilegetfixed function. The vulnerability was disclosed on April 12, 2023, and affects Linux kernel versions prior to 5.17. The issue stems from the absence of ctx->uring_lock, which leads to a race condition with fixed files getting unregistered (Ubuntu Security, NVD).

Technical details

The vulnerability exists in the iouring subsystem where the iofilegetfixed function lacks the presence of ctx->uringlock. This missing lock creates a race condition when fixed files are being unregistered, potentially leading to a use-after-free condition. The issue was addressed by adding the missing lock in iogetfilefixed and ensuring proper issue_flags are passed. The fix was implemented through commit da24142b1ef9fd5d36b76e36bab328a5b27523e8 (Kernel Commit). The vulnerability has been assigned a CVSS score of 7.0 (High) (NetApp Security).

Impact

The successful exploitation of this vulnerability could lead to local privilege escalation, denial of service through system crash, memory corruption, or potentially arbitrary code execution. The vulnerability affects systems running the Linux kernel with io_uring subsystem enabled (Ubuntu Security, NetApp Security).

Mitigation and workarounds

The primary mitigation is to upgrade to a patched kernel version that includes the fix (commit da24142b1ef9fd5d36b76e36bab328a5b27523e8). Various Linux distributions have released security updates to address this vulnerability. For Ubuntu 22.04 LTS (jammy), the fix was included in version 5.15.0-71.78, and for Ubuntu 20.04 LTS (focal), it was fixed in version 5.15.0-1035.39 (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management