SecurityContext

CVE-2022-50642: Linux kernel - Use After Free

  • Cve: CVE-2022-50642
  • Name: Linux kernel - Use After Free
  • 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.
  • Impact: Attackers can cause memory corruption leading to potential system crashes or privilege escalation.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: use_after_free
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00214
  • Epss percentile: 0.11691
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-12-09T01:16:46Z
  • Age in days: 350
  • Modified at: 2026-11-10T12:10:00Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-50642
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, requirements, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40
https://git.kernel.org/stable/c/6613f36a2fa5c69e528bccba8b3d831f759dad2f
https://git.kernel.org/stable/c/9a8aadcf0b459c1257b9477fd6402e1d5952ae07
https://git.kernel.org/stable/c/b610758bb3e0674644c1255cdafc2f46b7e05ff9

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.9, < 6.2; >= 5.9, < 6.1.2; >= 5.9, < 6.0.16; >= 5.9, < 5.15.86nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports