wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 8.1epss 0.3%
probabilidade de exploração
0.3%top 79% das CVEs
exploração observada
nãonenhuma fonte reporta
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer
In rtw_pci_rx_napi(), new_len is computed as the sum of pkt_len (14-bit
descriptor field, max 16383) and pkt_offset (drv_info_sz + shift, both
firmware-controlled). The result can exceed RTK_PCI_RX_BUF_SIZE (11478),
causing an out-of-bounds read from the pre-allocated DMA buffer when
skb_put_data copies new_len bytes. The USB transport already validates
this (rtw_usb_rx_data_put checks against RTW_USB_MAX_RECVBUF_SZ); the
PCIe path does not.
Add a check that new_len does not exceed the DMA buffer size.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/01155ded5d4dad61840a9a3c33ab56778ef1f100https://git.kernel.org/stable/c/08193e733e5d4790e6c937af86d78793b02709behttps://git.kernel.org/stable/c/1554fa522f16ec7c5c342ad33fe734eeb6eb2452https://git.kernel.org/stable/c/26c183a86ea4dd1f2ff90c6f783649e7f5722a10https://git.kernel.org/stable/c/45abc14ab3f15da7d689f1a8809c1a01240a94d9https://git.kernel.org/stable/c/6a3c384393d3f0b41669ed5a2e88744aad9d87c8https://git.kernel.org/stable/c/6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6https://git.kernel.org/stable/c/913bd7d3d3d842b5c1d2b908a0201efa8fc79793