In the Linux kernel, the following vulnerability has been resolved:
xhci: sideband: don't dereference freed ring when removing sideband endpoint
xhci_sideband_remove_endpoint() incorrecly assumes that the endpoint is running and has a valid transfer ring.
Lianqin reported a crash during suspend/wake-up stress testing, and found the cause to be dereferencing a non-existing transfer ring 'ep->ring' during xhci_sideband_remove_endpoint().
The endpoint and its ring may be in unknown state if this function is called after xHCI was reinitialized in resume (lost power), or if device is being re-enumerated, disconnected or endpoint already dropped.
Fix this by both removing unnecessary ring access, and by checking ep->ring exists before dereferencing it. Also make sure endpoint is running before attempting to stop it.
Remove the xhci_initialize_ring_info() call during sideband endpoint removal as is it only initializes ring structure enqueue, dequeue and cycle state values to their starting values without changing actual hardware enqueue, dequeue and cycle state. Leaving them out of sync is worse than leaving it as it is. The endpoint will get freed in after this in most usecases.
If the (audio) class driver want's to reuse the endpoint after offload then it is up to the class driver to ensure endpoint is properly set up.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Jan 25, 2026 |
| Ubuntu | — | Upgrade linux-image-gcp-64k-6.17Upgrade linux-image-6.17.0-1021-gcp-64kUpgrade linux-image-oracle-64k-6.17Upgrade linux-image-6.17.0-1018-realtimeUpgrade linux-image-oem-24.04Upgrade linux-image-6.17.0-1021-gcpUpgrade linux-image-6.17.0-1019-oracleUpgrade linux-image-nvidia-6.17Upgrade linux-image-gcp-6.17Upgrade linux-image-oracleUpgrade linux-image-gcp-64kUpgrade linux-image-azure-fde-6.17Upgrade linux-image-nvidia-64k-6.17Upgrade linux-image-nvidia-hwe-24.04Upgrade linux-image-6.17.0-1019-oracle-64kUpgrade linux-image-nvidia-64k-hwe-24.04Upgrade linux-image-azure-6.17Upgrade linux-image-azure-fdeUpgrade linux-image-realtime-hwe-24.04Upgrade linux-image-6.17.0-1030-oemUpgrade linux-image-gcpUpgrade linux-image-azureUpgrade linux-image-oracle-6.17Upgrade linux-image-6.17.0-1018-azure-fdeUpgrade linux-image-oracle-64kUpgrade linux-image-oem-24.04dUpgrade linux-image-realtime-6.17Upgrade linux-image-oem-6.17Upgrade linux-image-oem-24.04bUpgrade linux-image-oem-24.04cUpgrade linux-image-oem-24.04aUpgrade linux-image-6.17.0-1021-azureUpgrade linux-image-6.17.0-1031-nvidia-64kUpgrade linux-image-6.17.0-1031-nvidia | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub