wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 913bd7d3d3d842b5c1d2b908a0201efa8fc79793, Kernel 01155ded5d4dad61840a9a3c33ab56778ef1f100, Kernel 08193e733e5d4790e6c937af86d78793b02709be and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <913bd7d3d3d842b5c1d2b908a0201efa8fc79793, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <01155ded5d4dad61840a9a3c33ab56778ef1f100, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <08193e733e5d4790e6c937af86d78793b02709be, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <1554fa522f16ec7c5c342ad33fe734eeb6eb2452, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <26c183a86ea4dd1f2ff90c6f783649e7f5722a10, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <45abc14ab3f15da7d689f1a8809c1a01240a94d9, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <6a3c384393d3f0b41669ed5a2e88744aad9d87c8, >=e3037485c68ec1a299ff41160d8fedbd4abc29b9 <6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6, =5.2 | 913bd7d3d3d842b5c1d2b908a0201efa8fc79793, 01155ded5d4dad61840a9a3c33ab56778ef1f100, 08193e733e5d4790e6c937af86d78793b02709be, 1554fa522f16ec7c5c342ad33fe734eeb6eb2452, 26c183a86ea4dd1f2ff90c6f783649e7f5722a10, 45abc14ab3f15da7d689f1a8809c1a01240a94d9, 6a3c384393d3f0b41669ed5a2e88744aad9d87c8, 6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6 |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=5.2.0 <5.10.261, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.11.0 <5.15.212 | 6.1.178, 5.10.261, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket