Local privilege escalation via registered-file use-after-free
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in the Linux kernel allows local users to obtain root privileges through io_uring and AF_UNIX operations. unix_gc frees a registered file and the ring descriptor while an io_uring request still uses the file, leaving a dangling struct file that can be reclaimed before the request resumes. Local users without capabilities can control the race through io_uring syscalls and AF_UNIX SCM_RIGHTS cycles, enabling privileged file writes or a kernel panic.
Summary
What happened
Use-after-free in the Linux kernel allows local users to obtain root privileges through io_uring and AF_UNIX operations. unix_gc frees a registered file and the ring descriptor while an io_uring request still uses the file, leaving a dangling struct file that can be reclaimed before the request resumes. Local users without capabilities can control the race through io_uring syscalls and AF_UNIX SCM_RIGHTS cycles, enabling privileged file writes or a kernel panic.
The record
- CVE
- CVE-2022-50234
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.1
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <0091bfc81741b8d3aeb3b7ab8636f911b2de6e80
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <04df9719df1865f6770af9bc7880874af0e594b2
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <75e94c7e8859e58aadc15a98cc9704edff47d4f2
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <813d8fe5d30388f73a21d3a2bf46b0a1fd72498c
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <b4293c01ee0d0ecdd3cb5801e13f62271144667a
- Affected versionversion=6b06314c47e141031be043539900d80d2c7ba10f <c378c479c5175833bb22ff71974cda47d7b05401
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- io_uring DirtyCred local privilege-escalation exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo