Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer

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

Linux
  • =<5.10.*
  • <6a3c384393d3f0b41669ed5a2e88744aad9d87c8
  • =<6.6.*
  • <01155ded5d4dad61840a9a3c33ab56778ef1f100
  • =<*
  • <5.2
  • =<6.18.*
  • <45abc14ab3f15da7d689f1a8809c1a01240a94d9
  • <08193e733e5d4790e6c937af86d78793b02709be
  • <6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6
  • =<6.12.*
  • =<5.15.*
  • <1554fa522f16ec7c5c342ad33fe734eeb6eb2452
  • =<7.1.*
  • <26c183a86ea4dd1f2ff90c6f783649e7f5722a10
  • ==5.2
  • =<6.1.*
  • <913bd7d3d3d842b5c1d2b908a0201efa8fc79793