Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 913bd7d3d3d842b5c1d2b908a0201efa8fc79793affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 45abc14ab3f15da7d689f1a8809c1a01240a94d9affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 08193e733e5d4790e6c937af86d78793b02709beaffectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 6a3c384393d3f0b41669ed5a2e88744aad9d87c8affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 26c183a86ea4dd1f2ff90c6f783649e7f5722a10affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 01155ded5d4dad61840a9a3c33ab56778ef1f100affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 1554fa522f16ec7c5c342ad33fe734eeb6eb2452affectede3037485c68ec1a299ff41160d8fedbd4abc29b9 to < 6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/913bd7d3d3d842b5c1d2b908a0201efa8fc79793 ↗
- https://git.kernel.org/stable/c/45abc14ab3f15da7d689f1a8809c1a01240a94d9 ↗
- https://git.kernel.org/stable/c/08193e733e5d4790e6c937af86d78793b02709be ↗
- https://git.kernel.org/stable/c/6a3c384393d3f0b41669ed5a2e88744aad9d87c8 ↗
- https://git.kernel.org/stable/c/26c183a86ea4dd1f2ff90c6f783649e7f5722a10 ↗
- https://git.kernel.org/stable/c/01155ded5d4dad61840a9a3c33ab56778ef1f100 ↗
- https://git.kernel.org/stable/c/1554fa522f16ec7c5c342ad33fe734eeb6eb2452 ↗
- https://git.kernel.org/stable/c/6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6 ↗