CVE-2022-50642
Description
In the Linux kernel, the following vulnerability has been resolved: platform/chrome: cros_ec_typec: zero out stale pointers `cros_typec_get_switch_handles` allocates four pointers when obtaining type-c switch handles. These pointers are all freed if failing to obtain any of them; therefore, pointers in `port` become stale. The stale pointers eventually cause use-after-free or double free in later code paths. Zeroing out all pointer fields after freeing to eliminate these stale pointers.
AI Remediation Playbook Pro+
Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.
Upgrade to Pro+AI Attack Path AnalysisPro+
Visualize potential attack chains and lateral movement paths with AI-powered analysis.
AI Risk ForecastingPro+
Predict exploitation likelihood with AI-powered threat intelligence forecasting.
AI Compliance MappingPro+
Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.
MITRE ATT&CK TechniquesThreat Intelligence
How attackers may exploit this vulnerability