CVE-2024-57995CWE-416

CVE-2024-57995

High · published February 27, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
29.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()

In ath12k_mac_assign_vif_to_vdev(), if arvif is created on a different

radio, it gets deleted from that radio through a call to

ath12k_mac_unassign_link_vif(). This action frees the arvif pointer.

Subsequently, there is a check involving arvif, which will result in a

read-after-free scenario.

Fix this by moving this check after arvif is again assigned via call to

ath12k_mac_assign_link_vif().

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00364 · 29.0th percentile
Weakness
CWE-416 · Use After Free
Published
2025-02-27T07:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 6.10, < 6.13.26.13.2
References (3)
EPSS history
Timeline
  • 27 FEB 02:07Z
    wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
    cvelistv5