Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823220; b=q6yCW7MPEs8hX6rmAugeruJGb10/rpCS1VnoIeSjrqPK/IYeE/dyxZNu56u9cWEfsrow gZrr7JNSRr0t6ANOTE//xV1C2VMoHxvw8M7pKQkbXBqDq9hQczsu8foGitaKHyCH3Z8dp A+0Rc2ejYmyF4mvXzk8UMdYJw9zjFF0QeKbFcwGggSj8SPEzAzo4urhLxwbqfU+DFQ175 joclEFCWEHkiA2Me4SsOhNa5H6QHAq8/yxBy+8wsJhLU00GYzrCHxtbYOZDo3LbsPEQIX YbecNzRX+UetQwWz7Ycl+EgpS+sFLsCGSk4+VI7v8OqxD4A1qy++pHub+HzqXhVRUkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823220; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=5V1tyhpdH0fR7ZamTHAJDk0qsWtJq2/ug9RmxiaFi54=; b=MMBlF9Awa8MI4bA+/A7RYzdkFxMupw/7PJ+JsfBey1ip5SgOIxDQWQuVAo5Fv8xsdAlU GhgNjPgUmzJx2An7HzAdpeja67IwhLbfONkCIZcQk7cDLqYdTOtG1p8awFy5x/rWokMgi RfBnpCZ4UIAZEfYvd2Ve0GzFcuqFYaKWyi34jWNF3Ub/FIzk8mjUt4XwWIkQa0+LwKszy 7zucgU1u8duOSC9VppUUZ51kNUttdyoq2EYXQyM3cMcDRXLAbXPZZ8BU2Ofbu4f+lSsAa oado5I9RjARQAq/yEbDtcHe5X7mVk1Fnl7QUolxPMaoy5RImQebENxMbk65f6QwbgAg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=J+j7kVlC; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BB50606A31C for ; Mon, 16 Nov 2026 10:00:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=J+j7kVlC Received: by smtp.kernel.org (Postfix) with ESMTPSA id E726E1F000C9; Mon, 16 Nov 2026 10:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823220; bh=5V1tyhpdH0fR7ZamTHAJDk0qsWtJq2/ug9RmxiaFi54=; h=From:To:Cc:Subject:Date:Reply-To; b=J+j7kVlC16yRl8n7I7Dpty8Fx4J3rwpwGeDWYhVLra02Ts5v10d9dtKxvcfEFJ5SH OxApS56m2ed8oMVTcuFfL0OAde67RqRtiVW/4rXRe5k4bamqoiR7GqV30nCa0O+C1B xS/ItezDeRPRzDYRCe8byCGx3d6FF0FjDkHlUAtE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99308: usb: xhci: Fix bounce buffer overflow Date: Mon, 16 Nov 2026 10:59:57 +0100 Message-ID: <2026111641-CVE-2026-99308-98f9@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SZPJj0Aq3zGnH9zhWWsK9ObDcNHHarNbW99r5148f7U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rvDyLXet379mnVCAeaGDRNfdx1dnKe4J0bA4q/J5R fWblrzdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR2X0M80MjfjfPmcOeXcBZ G/X3ovLeGe2GFQwLdjIYbeaStXvW92Oes1ilKOcZ5cZ0AA== 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: Fix bounce buffer overflow High-speed devices with out of spec 1024 byte bulk endpoints exist and are allowed by USB core, but xhci-hcd always sets packet size to 512. The exact nature of these devices isn't documented, commit fb5ee84ea72c ("USB: Accept bulk endpoints with 1024-byte maxpacket") only states that they "don't work with xHCI host controllers", whatever it means. But somebody (or a malicious device) can try, and then the driver will allocate a 512 byte bounce buffer for this endpoint and may write up to 1024 bytes into it if particular scatter-gather URBs are used, because xhci_align_td() obtains packet size from the descriptor. Fix this. As a side effect, TRBs will be aligned to the packet size chosen by the driver on all endpoints of all speeds. Alignment serves the xHC, not device, so this is fine. Only out of spec devices are affected anyway. The Linux kernel CVE team has assigned CVE-2026-99308 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit f9c589e142d04b8a19eb382162f804d17102b5ed and fixed in 6.18.63 with commit d0d15d7a11f2a45e5d29ab4780a094992d7a26a2 Issue introduced in 4.8 with commit f9c589e142d04b8a19eb382162f804d17102b5ed and fixed in 7.3.4 with commit e95ace4abebd564b50b856513e24853d35be06cd Issue introduced in 4.8 with commit f9c589e142d04b8a19eb382162f804d17102b5ed and fixed in 7.4-rc1 with commit 68c5cb7574c567e83ba95258cb146db95e069a87 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-99308 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-ring.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/d0d15d7a11f2a45e5d29ab4780a094992d7a26a2 https://git.kernel.org/stable/c/e95ace4abebd564b50b856513e24853d35be06cd https://git.kernel.org/stable/c/68c5cb7574c567e83ba95258cb146db95e069a87