Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50642

UNSCOREDEPSS 13%

platform/chrome: cros_ec_typec: zero out stale pointers

Mitigation

  • Upgrade Linux to 9a8aadcf0b459c1257b9477fd6402e1d5952ae07 or later.

Who should check

  • Anyone running Linux >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 9a8aadcf0b459c1257b9477fd6402e1d5952ae07
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 9a8aadcf0b459c1257b9477fd6402e1d5952ae07; Linux 5.9
Fixed in
Linux 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40, Linux 6613f36a2fa5c69e528bccba8b3d831f759dad2f, Linux 9a8aadcf0b459c1257b9477fd6402e1d5952ae07
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 9a8aadcf0b459c1257b9477fd6402e1d5952ae07—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50642. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50642.md
Affected: Linux >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd9597…
Fixed in: Linux 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40, Linux 6613f36a2fa5c69e528bccba8b3d831f759dad2f, Linux 9a8aadcf0b459c1257b9477fd6402e1d5952ae07

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50642 being exploited?

There is no confirmed exploitation: CVE-2022-50642 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50642?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50642?

Linux >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 9a8aadcf0b459c1257b9477fd6402e1d5952ae07; Linux 5.9.

Is there a fix for CVE-2022-50642?

Yes. Fixed in Linux 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40, Linux 6613f36a2fa5c69e528bccba8b3d831f759dad2f, Linux 9a8aadcf0b459c1257b9477fd6402e1d5952ae07. Upgrade Linux to 9a8aadcf0b459c1257b9477fd6402e1d5952ae07 or later.

How do I check if I'm affected by CVE-2022-50642?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors