From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E99E451123F for ; Fri, 4 Sep 2026 15:59:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788537559; cv=none; b=X4gsGnYwI9dyTGDyrIqMRFEWdzQfMUqDBpQmaKP7+KQzViMZaraKaAfmFFGn0K3HRwdVq/Uf+Ge1X/FMAUDLSX7o7hXi82fAc1OUwvkhqo+/XK4kWMvDQfxgVRZKws9FBDJx3qR6TNPgoMP9okJ1XHPR0QIMzI7aCUwaa3EMI8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788537559; c=relaxed/simple; bh=JYnyhqk7ZAhwf37pFoskOlrvP3gP2zXZC6P21eYGg5o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VkN8ljCu87x89arzYFUQzncNLI3tihdr0TBm+YKH428u4RrwJvluAd9/neZAxizwFWv0vbXzUGa1xHhAOrBSq4hC2ePFjUJZNOWOXi1SEesJpyyrDI/n0PeqWe8vCAKsDNZJkrFlZLdnRQUuJBehdGNpWJ211LGD/iWHVNWOxU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ra+53xbi; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ra+53xbi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B29CF1F00A3D; Fri, 4 Sep 2026 15:59:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788537557; bh=pjiSudsXRki9Y5x7UvEOXz6kpXhefYORk+MM3xA1x+g=; h=From:To:Cc:Subject:Date:Reply-To; b=Ra+53xbi4J8iqZs6hhxEt6DIm5cbHJSaXwVMKWT7AYgG1A7nefOd+/6ikbjWUY5D7 AMq9luDBzK1jp8RzOEEMmc3qNFRy6gMxiCDmXF16pK6N97KYXChPyO4dfbG16AxevN XmkOL7cDyXvjmHYxiuUrTPcmnaylENrZYs0O2mlM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80861: usb: xhci: bail out of setup if the controller is inaccessible Date: Fri, 4 Sep 2026 17:53:28 +0200 Message-ID: <2026090403-CVE-2026-80861-a5c7@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3765; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tbNTiIu9e+Q88EitaXLbDyJoNJH5tHmmwby9+asb0xk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzXsYfeCVW9XjiXK+gIukYjksqreFth96fiNyhY7NQl nmC7mv+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIDz/D/MCX4tFNcc4hu24F +1U52y/fHX+XjWF+zI9yrkNfZH6qK2kVbPg6O2Za2+3dAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-80861 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.31 with commit 66d4eadd8d067269ea8fead1a50fe87c2979a80d and fixed in 7.1.13 with commit bf84c6b0264947794fa783c324a6d874ca6657d8 Issue introduced in 2.6.31 with commit 66d4eadd8d067269ea8fead1a50fe87c2979a80d and fixed in 7.2.3 with commit 0b31744f70c5e06cce5fb660e02d057a3b9e0e37 Issue introduced in 2.6.31 with commit 66d4eadd8d067269ea8fead1a50fe87c2979a80d and fixed in 7.3-rc1 with commit 78203d5b54a40f0e36196ebf31c9c7a380fc8811 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80861 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/usb/host/xhci.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/bf84c6b0264947794fa783c324a6d874ca6657d8 https://git.kernel.org/stable/c/0b31744f70c5e06cce5fb660e02d057a3b9e0e37 https://git.kernel.org/stable/c/78203d5b54a40f0e36196ebf31c9c7a380fc8811