Local privilege escalation via double mutex unlock
Published Jun 18, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel 5.19 through 5.19.3 allows local users to corrupt kernel memory through AMDGPU command submission. When amdgpu_cs_vm_handling fails, it unlocks bo_list_mutex before amdgpu_cs_parser_fini unlocks the same mutex again, underflowing a reference count and leaving freed state reachable. Access to an AMD GPU render node and a command-submission error path are required; successful exploitation grants kernel privileges or crashes the host.
Summary
What happened
Use-after-free in the Linux kernel 5.19 through 5.19.3 allows local users to corrupt kernel memory through AMDGPU command submission. When amdgpu_cs_vm_handling fails, it unlocks bo_list_mutex before amdgpu_cs_parser_fini unlocks the same mutex again, underflowing a reference count and leaving freed state reachable. Access to an AMD GPU render node and a command-submission error path are required; successful exploitation grants kernel privileges or crashes the host.
The record
- CVE
- CVE-2022-50035
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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.19
- Affected versionversion=90af0ca047f3049c4b46e902f432ad6ef1e2ded6 <1b38e3b423f0bb41ee6abae5ca9deec1546ba227
- Affected versionversion=90af0ca047f3049c4b46e902f432ad6ef1e2ded6 <bbca24d0a3c11193bafb9e174f89f52a379006e3
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.
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