CVE-2026-139611: wifi: ath12k: fix skb leak on monitor PPDU ID wraparound
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix skb leak on monitor PPDU ID wraparound
ath12kdpmoncompppduid() updates ppduid and returns msduppduid to indicate that a PPDU transition was detected.
When PPDU IDs wrap around, msduppduid can be 0. In that case the function updates ppduid but returns 0, causing ath12kwifi7dprxmonmpdupop() to interpret the result as "no PPDU update" and continue processing the MPDU.
The MSDUs are then linked into headmsdu while their RX descriptors have already been detached. Later, ath12kwifi7dprxmondestprocess() detects the PPDU mismatch and exits with the partially built MSDU chain, leaking the SKBs.
kmemleak reports the leak through: kmemleakalloc() netdevallocskb() ath12kdprxbufsreplenish() ath12kwifi7dprxmondestprocess()
Fix this by returning a boolean value from ath12kdpmoncompppduid() so the update notification is independent of the actual PPDU ID value.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPLV1.0V2.0SILICONZUPSTREAM-3
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel ath12k Wi-Fi driver with monitor-mode receive processing are affected. The issue was tested on WCN7850 hardware over PCI; the provided data does not identify other affected hardware.
What condition triggers the leak?
The leak occurs when monitor-mode PPDU IDs wrap around and the MSDU PPDU ID is 0. That value is incorrectly treated as no PPDU transition, leading to a partially built MSDU chain being abandoned after its RX descriptors have been detached.
How can administrators identify whether the issue has occurred?
Kernel memory leak detection can report allocations through kmemleak, with a stack including kmemleak_alloc(), __netdev_alloc_skb(), ath12k_dp_rx_bufs_replenish(), and ath12k_wifi7_dp_rx_mon_dest_process().
What does the fix change?
The fix changes ath12k_dp_mon_comp_ppduid() to return a boolean PPDU-update indication rather than using the PPDU ID value itself. This ensures a transition is recognized even when the wrapped PPDU ID is 0.