What’s Vulnerable › Vulnerabilities
CVE-2022-49962: xhci: Fix null pointer dereference in remove if xHC has only one roothub
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: xhci: Fix null pointer dereference in remove if xHC has only one roothub The remove path in xhci platform driver tries to remove and put both main and shared hcds even if only a main hcd exists (one roothub) This causes a null pointer dereference in reboot for those controllers. Check that the shared_hcd exists before trying to remove it.
Affected products
- Linux kernel: from 5.19 before 5.19.8; 6.0-rc1, 6.0-rc2, 6.0-rc3 — fixed in 5.19.8
How to fix
Upgrade to a fixed version: Linux kernel 5.19.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4a593a62a9e3a25ab4bc37f612e4edec144f7f43
- https://git.kernel.org/stable/c/7081b2f34ff291ada012bd6abacaf7d51c4cf73f
Get alerted when CVE-2022-49962 or the next vulnerability affects your stack