#VU119712 Use-after-free in Linux kernel - CVE-2022-50642
Published: December 10, 2025 / Updated: December 12, 2025
Vulnerability identifier: #VU119712
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-50642
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
Linux kernel
Linux kernel
Software vendor:
Linux Foundation
Linux Foundation
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the cros_typec_get_switch_handles() function in drivers/platform/chrome/cros_ec_typec.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's repository.
External links
- https://git.kernel.org/stable/c/0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40
- https://git.kernel.org/stable/c/6613f36a2fa5c69e528bccba8b3d831f759dad2f
- https://git.kernel.org/stable/c/9a8aadcf0b459c1257b9477fd6402e1d5952ae07
- https://git.kernel.org/stable/c/b610758bb3e0674644c1255cdafc2f46b7e05ff9
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.0.16