CVE-2022-50642
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
platform/chrome: cros_ec_typec: zero out stale pointers
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| f28adb41dab4a2795fd959750df57adffd2bb0be | affected | git | 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40 | Unavailable | None listed |
| f28adb41dab4a2795fd959750df57adffd2bb0be | affected | git | b610758bb3e0674644c1255cdafc2f46b7e05ff9 | Unavailable | None listed |
| f28adb41dab4a2795fd959750df57adffd2bb0be | affected | git | 6613f36a2fa5c69e528bccba8b3d831f759dad2f | Unavailable | None listed |
| f28adb41dab4a2795fd959750df57adffd2bb0be | affected | git | 9a8aadcf0b459c1257b9477fd6402e1d5952ae07 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.9 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.9 | Unavailable | None listed |
| 5.15.86 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.16 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1.2 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |