CVE-2023-1295 json
Privilege escalation with IO_RING_OP_CLOSE in the Linux Kernel
published 2023-06-28 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-23560
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
A time-of-check to time-of-use issue exists in io_uring subsystem's IORING_OP_CLOSE operation in the Linux kernel's versions 5.6 - 5.11 (inclusive), which allows a local user to elevate their privileges to root. Introduced in b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb, patched in 9eac1904d3364254d622bf2c771c4f85cd435fc2, backported to stable in 788d0824269bef539fe31a785b1517882eafed93.
Patch / fix
- linux linux_kernel 5.10.162, 5.11.6
- linux Debian 14, Debian 13, Debian 12 5.14.6-1
debian advisories DEBIAN-CVE-2023-1295
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9ea… commit
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=788d0… commit
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5d… commit
- kernel.dance/9eac1904d3364254d622bf2c771c4f85cd435fc2 patch
- kernel.dance/788d0824269bef539fe31a785b1517882eafed93 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-1295 updated cvss 7.8
kernel: io_uring: TOCTOU vulnerability in IORING_OP_CLOSE operation
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux Kernel
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9eac1904d3364254d622bf2c771c4f85cd435fc2
patch
-
git.kernel.org
/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=788d0824269bef539fe31a785b1517882eafed93
patch
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb
related, patch
-
kernel.dance
/9eac1904d3364254d622bf2c771c4f85cd435fc2
patch
-
kernel.dance
/788d0824269bef539fe31a785b1517882eafed93
patch
-
security.netapp.com
/advisory/ntap-20230731-0006/
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2023-1295
- NVD CVE-2023-1295
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.