CVE-2025-38199
wifi: ath12k: Fix memory leak due to multiple rx_stats allocation
Reported by linux · Published July 4, 2025
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix memory leak due to multiple rx_stats allocation rx_stats for each arsta is allocated when adding a station. arsta->rx_stats will be freed when a station is removed. Redundant allocations are occurring when the same station is added multiple times. This causes ath12k_mac_station_add() to be called multiple times, and rx_stats is allocated each time. As a result there is memory leaks. Prevent multiple allocations of rx_stats when ath12k_mac_station_add() is called repeatedly by checking if rx_stats is already allocated before allocating again. Allocate arsta->rx_stats if arsta->rx_stats is NULL respectively. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d889913205cf7ebda905b1e62c5867ed4e39f6c2, d889913205cf7ebda905b1e62c5867ed4e39f6c2, d889913205cf7ebda905b1e62c5867ed4e39f6c2 |
| Linux | Linux | 6.3, 0, 6.12.114 |
| linux | linux_kernel | 6.3, 6.3, 6.3 |
| chainguard | linux-gcp-6.12 | 0 |
| chainguard | linux-qemu-6.12 | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| chainguard | linux-aws-6.12 | 0 |
| chainguard | linux-azure-6.12 | 0 |
| Linux | Linux | 6.16, *, * |
Timeline
- Jul 4, 2025 CVE Published
- Jul 5, 2025 EPSS Score (30 in total, the first dated here)
- Nov 20, 2025 PoC Published (5 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (187 in total, the first dated here)
- Apr 29, 2026 Security Advisory (237 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38199
vulnetix vdb fixes CVE-2025-38199
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38199/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart