CVE-2025-38199CWE-401

CVE-2025-38199

Medium · published July 4, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
6.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00176 · 6.7th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-07-04T18:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 6.3, < 6.15.46.15.4
References (3)
EPSS history
Timeline
  • 04 JUL 13:37Z
    wifi: ath12k: Fix memory leak due to multiple rx_stats allocation
    cvelistv5