CVE-2022-29582
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-29582 is a use-after-free vulnerability discovered in the Linux kernel's io_uring subsystem, affecting versions 5.10+ before 5.17.3. The vulnerability was discovered by Jayden Rivers and David Bouman and disclosed in April 2022. The issue occurs due to a race condition in io_uring timeouts, specifically when IORING_OP_TIMEOUT and IORING_OP_LINK_TIMEOUT opcodes are combined in a linked submission queue entry (Openwall List, NVD).

Technical details

The vulnerability arises when a timeout request (T) and a link timeout request (LT) are combined, and another request (B) completes. A race condition occurs when T is cancelled through the completion event count while LT is simultaneously canceled by its hrtimer. During T's cleanup, LT is freed by a different execution context, but since they are linked, T retains a dangling reference to the freed LT, resulting in a use-after-free condition. The issue was fixed in Linux kernel 5.17.3 through commit e677edbcabee849bfdd43f1602bccbecf736a646 (Kernel Commit, Openwall List).

Impact

The vulnerability can be exploited by an unprivileged local attacker to achieve local privilege escalation to root, even from within a container. Unlike many other Linux vulnerabilities, this one does not require any special privileges (such as user namespace access) to exploit, making it particularly dangerous (Openwall List, Debian Security).

Exploitability

While the vulnerability is exploitable, the race window is quite tight and the scenario is complicated, making successful exploitation infrequent. A proof-of-concept exploit has been developed that can elevate privileges to system root from an unprivileged process. The exploit technique involves reallocating the freed LT to another struct io_kiocb and deferring the use-after-free to a struct file (Exploit Repository, Openwall List).

Mitigation and workarounds

The primary mitigation is to upgrade to Linux kernel version 5.17.3 or later, which contains the fix. The patch modifies io_flush_timeouts() to leave the timeout on the list and let the normal timeout cancelation handle it, rather than unconditionally removing it from the timeout list (Kernel Commit, Debian 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-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 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