usb: xhci: Fix bounce buffer overflow
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
4.8.0 以上 5.10.275 未満→ 5.10.275 5.11.0 以上 5.15.226 未満→ 5.15.226 5.16.0 以上 6.1.193 未満→ 6.1.193 6.2.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.118 未満→ 6.12.118 6.13.0 以上 6.18.63 未満→ 6.18.63 6.19.0 以上 7.3.4 未満→ 7.3.4 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.118 6.18.63 7.3.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99308 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99308 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99308 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org