xhci: Fix null pointer dereference in remove if xHC has only one roothub
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's xHCI platform driver can dereference a null pointer during reboot when a controller has only one roothub. The input does not establish whether an attacker can trigger this, or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with xHCI platform controllers that have only one roothub should check their systems; affected versions are not specified.