CVE-2026-139613: wifi: ath12k: free pending MSDUs on duplicate mon link descriptor
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: free pending MSDUs on duplicate mon link descriptor
ath12kwifi7dprxmonmpdupop() aborts processing when a duplicate monitor link descriptor is detected.
Previous iterations may already have linked MSDUs onto headmsdu and detached the corresponding RX buffers from their descriptors. Returning without completing or freeing the chain leaves those skbs orphaned, resulting in a memory leak.
kmemleak reports these skbs in field testing: kmemleakalloc() netdevallocskb() ath12kdprxbufsreplenish() ath12kwifi7dprxmondestprocess()
Free the accumulated MSDU chain before returning and clear headmsdu so callers observe a consistent state.
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.
- Compensating control
In ath12k_wifi7_dp_rx_mpdu_pop(), free the accumulated MSDU chain before returning when a duplicate monitor link descriptor aborts processing, then clear *head_msdu.
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems using the Linux kernel ath12k Wi-Fi driver are affected when duplicate monitor link descriptors occur during receive monitor processing. The issue was tested on WCN7850 hardware over PCI WLAN, but the provided data does not limit impact to that hardware.
What is the operational impact?
Duplicate monitor link descriptors can cause receive buffers already detached from their descriptors to be orphaned. This produces a kernel memory leak, with the affected skbs detectable by kmemleak.
How can administrators tell whether the issue is occurring?
kmemleak can report leaked skb allocations whose stack includes __netdev_alloc_skb(), ath12k_dp_rx_bufs_replenish(), and ath12k_wifi7_dp_rx_mon_dest_process(). The trigger is a duplicate monitor link descriptor during ath12k monitor receive processing.
What does the fix change?
The fix frees the accumulated MSDU chain before returning after a duplicate descriptor is detected and clears the head MSDU pointer. This prevents the detached skbs from being left orphaned and keeps the caller-visible state consistent.