{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50642","published":"2025-12-09T01:16:46.693000Z","last_modified":"2026-11-10T12:10:00.177000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"epss":{"score":0.00277,"percentile":0.1282,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2022-50642/","html_en":"/en/cve/CVE-2022-50642/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50642","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50642"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/chrome: cros_ec_typec: zero out stale pointers\n\n`cros_typec_get_switch_handles` allocates four pointers when obtaining\ntype-c switch handles. These pointers are all freed if failing to obtain\nany of them; therefore, pointers in `port` become stale. The stale\npointers eventually cause use-after-free or double free in later code\npaths. Zeroing out all pointer fields after freeing to eliminate these\nstale pointers.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40","tags":[]},{"url":"https://git.kernel.org/stable/c/6613f36a2fa5c69e528bccba8b3d831f759dad2f","tags":[]},{"url":"https://git.kernel.org/stable/c/9a8aadcf0b459c1257b9477fd6402e1d5952ae07","tags":[]},{"url":"https://git.kernel.org/stable/c/b610758bb3e0674644c1255cdafc2f46b7e05ff9","tags":[]}]}}