# CVE-2026-80861: usb: xhci: bail out of setup if the controller is inaccessible

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-04T15:55:15.491Z
- Modified: 2026-10-30T13:20:12.960Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: bail out of setup if the controller is inaccessible

xhci_gen_setup() locates the operational registers using the capability
length read from the very first register:

	xhci->op_regs = hcd->regs +
		HC_LENGTH(readl(&xhci->cap_regs->hc_capbase));

If the controller is dead or has dropped off the bus, that read returns
~0, HC_LENGTH() truncates it to 0xff, and op_regs ends up 0xff bytes
past the page-aligned MMIO base, i.e. unaligned. The first access
through it, xhci_halt() -> xhci_handshake() reading op_regs->status, is
then an unaligned readl() on device memory. arm64 faults on unaligned
device accesses, so instead of xhci_handshake() catching the all-ones
value and returning -ENODEV, setup oopses:

  xhci-pci-renesas 0005:08:00.0: Unable to change power state from D3cold to D0, device inaccessible
  xhci-pci-renesas 0005:08:00.0: xHCI Host Controller
  xhci-pci-renesas 0005:08:00.0: new USB bus registered, assigned bus number 1
  Unable to handle kernel paging request at virtual address ffff80030a770103
    ESR = 0x0000000096000021
    FSC = 0x21: alignment fault
  Internal error: Oops: 0000000096000021 [#1]  SMP
  pc : xhci_halt [xhci_hcd]
  Call trace:
   xhci_halt
   xhci_gen_setup
   xhci_pci_setup
   usb_add_hcd
   usb_hcd_pci_probe
   xhci_pci_common_probe
   xhci_pci_renesas_probe

This was hit with a Renesas uPD720201 that failed to power up ("Unable
to change power state from D3cold to D0, device inaccessible") yet still
reached the HCD probe path.

Read the capability register once, and if it reads back the all-ones
value (as xhci_handshake() and xhci_reset() already test for), abort
setup with -ENODEV before op_regs is derived from it. Reading it once
also avoids re-reading a register that may change under a concurrent
hot-removal.

(As written by CVE List.)

## Affected

- Linux Linux: from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 9f8b403d5f8c1ac361533c73fa449153a3c7fc6c; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 15e62f969fecf459a0b873004cc5f4c5a6ba5fcc; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 99e78b54cc3d70e008bd1a30d43e13d652c773e0; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 301f4a3303b21ea959a8294518ee883710498ac2; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 70706dbcf122940f4e3595d7ba1445004cc00074; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before c051f66b621695ad7c8438a9497d79e1f4f05edb; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before bf84c6b0264947794fa783c324a6d874ca6657d8; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 0b31744f70c5e06cce5fb660e02d057a3b9e0e37; from 66d4eadd8d067269ea8fead1a50fe87c2979a80d before 78203d5b54a40f0e36196ebf31c9c7a380fc8811; 2.6.31 (not affected: before 2.6.31; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.1.13 up to 7.1.*; from 7.2.3 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/9f8b403d5f8c1ac361533c73fa449153a3c7fc6c>
- <https://git.kernel.org/stable/c/15e62f969fecf459a0b873004cc5f4c5a6ba5fcc>
- <https://git.kernel.org/stable/c/99e78b54cc3d70e008bd1a30d43e13d652c773e0>
- <https://git.kernel.org/stable/c/301f4a3303b21ea959a8294518ee883710498ac2>
- <https://git.kernel.org/stable/c/70706dbcf122940f4e3595d7ba1445004cc00074>
- <https://git.kernel.org/stable/c/c051f66b621695ad7c8438a9497d79e1f4f05edb>
- <https://git.kernel.org/stable/c/bf84c6b0264947794fa783c324a6d874ca6657d8>
- <https://git.kernel.org/stable/c/0b31744f70c5e06cce5fb660e02d057a3b9e0e37>
- <https://git.kernel.org/stable/c/78203d5b54a40f0e36196ebf31c9c7a380fc8811>

## Sources

- CVE List: [CVE-2026-80861](https://www.cve.org/CVERecord?id=CVE-2026-80861), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-80861](https://nvd.nist.gov/vuln/detail/CVE-2026-80861), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-80861 · Whole record: https://cve.day/CVE-2026-80861.json · Rebuilt by cve.day 2026-11-25T22:59:36.354Z
