← CVE Intelligence

CVE-2022-49962

xhci: Fix null pointer dereference in remove if xHC has only one roothub PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected e0fe986972f5b6b12086c73569206dd29c520be9 before 7081b2f34ff291ada012bd6abacaf7d51c4cf73f; affected e0fe986972f5b6b12086c73569206dd29c520be9 before 4a593a62a9e3a25ab4bc37f612e4edec144f7f43
Linux / Linuxaffected 5.19; unaffected 0 before 5.19; unaffected 5.19.8 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References