Local privilege escalation via async cleanup race
Published Dec 24, 2025 · Updated Dec 24, 2025
Use-after-free in the Linux kernel mlx5 async command interface allows local users to gain kernel privileges by winning a cleanup race. mlx5_cmd_cleanup_async_ctx can return and permit mlx5_async_ctx to be freed before mlx5_cmd_exec_cb_handler calls wake_up on that object. Exploitation requires local access and an mlx5 path such as DEVX asynchronous commands or kTLS transmit offload; success permits kernel memory corruption or a crash.
Summary
What happened
Use-after-free in the Linux kernel mlx5 async command interface allows local users to gain kernel privileges by winning a cleanup race. mlx5_cmd_cleanup_async_ctx can return and permit mlx5_async_ctx to be freed before mlx5_cmd_exec_cb_handler calls wake_up on that object. Exploitation requires local access and an mlx5 path such as DEVX asynchronous commands or kTLS transmit offload; success permits kernel memory corruption or a crash.
The record
- CVE
- CVE-2022-50726
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 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=e355477ed9e4f401e3931043df97325d38552d54 <0aa3ee1e4e5c9ed5dda11249450d609c3072c54e
- Affected versionversion=e355477ed9e4f401e3931043df97325d38552d54 <69dd3ad406c49aa69ce4852c15231ac56af8caf9
- Affected versionversion=e355477ed9e4f401e3931043df97325d38552d54 <ab3de780c176bb91995c6166a576b370d9726e17
- Affected versionversion=e355477ed9e4f401e3931043df97325d38552d54 <bacd22df95147ed673bec4692ab2d4d585935241
- Affected versionversion=e355477ed9e4f401e3931043df97325d38552d54 <bbcc06933f35651294ea1e963757502312c2171f
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
No public exploit references are available in this record.
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