xhci: Remove device endpoints from bandwidth list when freeing the device
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2e27980e6eb78114c4ecbaad1ba71836e3887d18 · < c892a81c7424b4f6a660cb9c249d354ccf3afeca| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xhci: Remove device endpoints from bandwidth list when freeing the device
Endpoints are normally deleted from the bandwidth list when they are dropped, before the virt device is freed.
If xHC host is dying or being removed then the endpoints aren't dropped cleanly due to functions returning early to avoid interacting with a non-accessible host controller.
So check and delete endpoints that are still on the bandwidth list when freeing the virt device.
Solves a list_del corruption kernel crash when unbinding xhci-pci, caused by xhci_mem_cleanup() when it later tried to delete already freed endpoints from the bandwidth list.
This only affects hosts that use software bandwidth checking, which currenty is only the xHC in intel Panther Point PCH (Ivy Bridge)
From the CVE record · Linux
The Linux kernel can leave device endpoints on an xHCI bandwidth list when a host controller is dying or being removed. Unbinding xhci-pci can then cause a kernel crash during cleanup on hosts using software bandwidth checking, currently identified as Intel Panther Point PCH (Ivy Bridge). The input does not describe an attacker path, authentication requirement, or user interaction.
Operators of Linux kernels on Intel Panther Point PCH (Ivy Bridge) systems should check whether they are affected; no affected versions are specified.