CVE-2025-38199: wifi: ath12k: Fix memory leak due to multiple rx_stats allocation
Vulnerability summary
CVE-2025-38199 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 7Timeline
- 04-07-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
Description
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
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 0.14% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu149 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.62-r1 | < 6.12.71-r0 | < 6.12.60-r4 | < 6.12.77-r0 | < 6.12.74-r0 | < 6.12.67-r0 | < 6.12.70-r0 | < 6.12.63-r0 | < 6.12.68-r0 | < 6.12.72-r0 | < 6.12.57-r2 | < 6.12.74-r1 | < 6.12.72-r1 | < 6.12.77-r1 | < 6.12.65-r0 | < 6.12.68-r1 | < 6.12.62-r2 | < 6.12.77-r2 | < 6.12.65-r2 | < 6.12.80-r0 | < 6.12.76-r0 | < 6.12.66-r0 | < 6.12.65-r1 | < 6.12.62-r0 | < 6.12.78-r0 | < 6.12.69-r0
- linux-azure-6.12< 6.12.72-r0 | < 6.12.63-r0 | < 6.12.60-r4 | < 6.12.76-r0 | < 6.12.77-r2 | < 6.12.74-r0 | < 6.12.65-r1 | < 6.12.71-r0 | < 6.12.62-r2 | < 6.12.66-r0 | < 6.12.77-r0 | < 6.12.77-r1 | < 6.12.65-r3 | < 6.12.74-r1 | < 6.12.78-r0 | < 6.12.60-r3 | < 6.12.65-r4 | < 6.12.65-r2 | < 6.12.67-r0 | < 6.12.68-r0 | < 6.12.70-r0 | < 6.12.57-r2 | < 6.12.62-r0 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.62-r1
- linux-gcp-6.12< 6.12.57-r2 | < 6.12.78-r0 | < 6.12.63-r0 | < 6.12.60-r3 | < 6.12.62-r2 | < 6.12.77-r2 | < 6.12.71-r0 | < 6.12.77-r1 | < 6.12.65-r2 | < 6.12.65-r0 | < 6.12.70-r0 | < 6.12.68-r1 | < 6.12.77-r0 | < 6.12.76-r0 | < 6.12.67-r0 | < 6.12.80-r0 | < 6.12.68-r0 | < 6.12.74-r1 | < 6.12.62-r1 | < 6.12.74-r0 | < 6.12.65-r1 | < 6.12.62-r0 | < 6.12.66-r0 | < 6.12.72-r0 | < 6.12.69-r0 | < 6.12.60-r4
- linux-qemu-6.12< 6.12.72-r0 | < 6.12.78-r0 | < 6.12.65-r1 | < 6.12.77-r0 | < 6.12.71-r0 | < 6.12.70-r0 | < 6.12.77-r2 | < 6.12.76-r0 | < 6.12.74-r0 | < 6.12.80-r0 | < 6.12.74-r1 | < 6.12.65-r2 | < 6.12.66-r0 | < 6.12.77-r1 | < 6.12.67-r0 | < 6.12.69-r0 | < 6.12.68-r0
- linux-vmware-6.12< 6.12.68-r0 | < 6.12.66-r0 | < 6.12.78-r0 | < 6.12.74-r1 | < 6.12.65-r2 | < 6.12.68-r1 | < 6.12.77-r2 | < 6.12.77-r1 | < 6.12.72-r0 | < 6.12.80-r0 | < 6.12.67-r0 | < 6.12.77-r0 | < 6.12.65-r1 | < 6.12.69-r0 | < 6.12.76-r0 | < 6.12.74-r0 | < 6.12.71-r0 | < 6.12.70-r0
Linux2 products
- linux≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 2c4b122c75581331177686f68a08981371147d37 | ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 232f962ae5fca98912a719e64b4964a5aec7c99b | ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2, < c426497fa2055c8005196922e7d29c41d7e0948a | 6.3
- linux_kernel≥ 6.3, < 6.15.4
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.115-2 | < 6.16.3-1
4 vendors · 157 products