NONE · 0

CVE-2022-50642

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 typ...

Vulnerability 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.

References

FAQ

What is CVE-2022-50642?

CVE-2022-50642 is a documented vulnerability. 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 typ...

How severe is CVE-2022-50642?

CVSS scoring is not yet available for CVE-2022-50642. Check NVD for updates.

Is there a patch for CVE-2022-50642?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.