Local kernel compromise via stale Type-C pointers
Published Dec 9, 2025 · Updated May 11, 2026
Use-after-free in the Linux kernel allows local users to compromise the host during ChromeOS EC Type-C switch setup. When cros_typec_get_switch_handles fails to obtain any of four switch handles, it frees every handle but leaves the corresponding port fields unchanged, so later paths dereference or free stale pointers. Exploitation requires local low-privileged access and the affected ChromeOS EC Type-C driver path; successful memory corruption compromises kernel confidentiality, integrity, and availability.
Summary
What happened
Use-after-free in the Linux kernel allows local users to compromise the host during ChromeOS EC Type-C switch setup. When cros_typec_get_switch_handles fails to obtain any of four switch handles, it frees every handle but leaves the corresponding port fields unchanged, so later paths dereference or free stale pointers. Exploitation requires local low-privileged access and the affected ChromeOS EC Type-C driver path; successful memory corruption compromises kernel confidentiality, integrity, and availability.
The record
- CVE
- CVE-2022-50642
- Published
- Dec 9, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 9, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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.9
- Affected versionversion=f28adb41dab4a2795fd959750df57adffd2bb0be <0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40
- Affected versionversion=f28adb41dab4a2795fd959750df57adffd2bb0be <6613f36a2fa5c69e528bccba8b3d831f759dad2f
- Affected versionversion=f28adb41dab4a2795fd959750df57adffd2bb0be <9a8aadcf0b459c1257b9477fd6402e1d5952ae07
- Affected versionversion=f28adb41dab4a2795fd959750df57adffd2bb0be <b610758bb3e0674644c1255cdafc2f46b7e05ff9
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