Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix skb leak on monitor PPDU ID wraparound ath12k_dp_mon_comp_ppduid() updates *ppdu_id and returns msdu_ppdu_id to indicate that a PPDU transition was detected. When PPDU IDs wrap around, msdu_ppdu_id can be 0. In that case the function updates *ppdu_id but returns 0, causing ath12k_wifi7_dp_rx_mon_mpdu_pop() to interpret the result as "no PPDU update" and continue processing the MPDU. The MSDUs are then linked into head_msdu while their RX descriptors have already been detached. Later, ath12k_wifi7_dp_rx_mon_dest_process() detects the PPDU mismatch and exits with the partially built MSDU chain, leaking the SKBs. kmemleak reports the leak through: kmemleak_alloc() __netdev_alloc_skb() ath12k_dp_rx_bufs_replenish() ath12k_wifi7_dp_rx_mon_dest_process() Fix this by returning a boolean value from ath12k_dp_mon_comp_ppduid() so the update notification is independent of the actual PPDU ID value. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
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
72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2 to < a453c6fa39d5f47d283c60e03e2eb7044dbc286caffected72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2 to < 023df2c07566b1e6d0d4e63fb09233b4bef260eaaffected72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2 to < 97b144b82e2388efef1f78269626d61de0480febaffected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.66 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected