CVE-2023-1295
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-1295 is a time-of-check to time-of-use (TOCTOU) vulnerability in the io_uring subsystem's IORING_OP_CLOSE operation affecting Linux kernel versions 5.6 through 5.11. The vulnerability was introduced in commit b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb and later patched in commit 9eac1904d3364254d622bf2c771c4f85cd435fc2, with the fix backported to stable kernels in commit 788d0824269bef539fe31a785b1517882eafed93 (Kernel Git).

Technical details

The vulnerability exists in the implementation of the IORING_OP_CLOSE operation within the io_uring subsystem. The issue stems from a race condition in the file closing operation, where there is a gap between checking and using file descriptors. The CVSS score for this vulnerability is 7.0 (High), with the vector being CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could allow a local user to elevate their privileges to root. The vulnerability can lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies the io_uring subsystem's close operation handling. Users should upgrade to kernel versions that include the fix, which was backported to stable kernel versions in commit 788d0824269bef539fe31a785b1517882eafed93 (Kernel Git).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 2026

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