CVE-2022-1043: Linux io_uring credential use-after-free privilege escalation
- Vendor
- Linux
CVE-2022-1043 is a use-after-free vulnerability in the Linux kernel's io_uring subsystem involving premature release of process credentials. The associated fix corrects the error-return check for xa_alloc_cycle(). A local attacker can exploit dangling credential pointers to corrupt system memory, crash the system, or escalate privileges. The affected range begins at Linux 5.12-rc3; the upper boundary is inconsistently identified as 5.14-rc6 or 5.14-rc7.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can elevate a local user to root, corrupt system memory, or cause a system crash. Demonstrated exploitation obtains UID 0 through a data-only temporal memory integrity attack without ROP, information leaks, or SMEP/SMAP/PTI bypasses.
Mitigation
If you can’t patch tonight, do this now.
Grsecurity credential-object canary validation and compiler-instrumented credential-read checks, combined with slab object-reuse hardening, demonstrated prevention of the exploit. With CONFIG_GRKERNSEC_SLAB_OBJREUSE_HARDEN and CONFIG_GRKERNSEC_SLAB_OBJREUSE_HARDEN_PLUGIN enabled, the exploit triggered a canary check, was terminated, and resulted in the attacking user being banned. This hardening is a defense-in-depth measure rather than a replacement for the kernel fix.
Remediation
Patch, then assume compromise.
Apply the Linux kernel fix titled “io_uring: fix xa_alloc_cycle() error return value check” or install a vendor kernel update incorporating that fix. An exact fixed release is not established by the available information.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-1043 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2022-1043 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-1043?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2022-1043, the earliest disclosed Mar 22, 2022.
- Is there a patch for CVE-2022-1043?
- Apply the Linux kernel fix titled “io_uring: fix xa_alloc_cycle() error return value check” or install a vendor kernel update incorporating that fix. An exact fixed release is not established by the available information.
- What products are affected by CVE-2022-1043?
- Linux Kernel.
- How severe is CVE-2022-1043?
- CVE-2022-1043 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 3.8% (90th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.