CVE-2022-50642
Last modified
CVE-2022-50642 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 0ceadb5a3e45f1b81cf54bd496b40a5e50b6bd40; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < b610758bb3e0674644c1255cdafc2f46b7e05ff9; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 6613f36a2fa5c69e528bccba8b3d831f759dad2f; >= f28adb41dab4a2795fd959750df57adffd2bb0be, < 9a8aadcf0b459c1257b9477fd6402e1d5952ae07 |
| Linux | Linux | 5.9 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50642?
How severe is CVE-2022-50642?
How do I fix CVE-2022-50642?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50636In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50637In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50638In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50639In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50640In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50641In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50643In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50644In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50645In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50646In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50647In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50648In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50642?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
