CVE-2022-50642

platform/chrome: cros_ec_typec: zero out stale pointers

published December 9, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-12-09T00:00Z
EPSS history
Timeline
  • 09 DEC 00:00Z
    platform/chrome: cros_ec_typec: zero out stale pointers
    cvelistv5