CVE-2024-57995

published 27 Feb 2025 · updated 5 Aug 2026

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

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 57100b87c77818cb0d582a92e5cb32fff85c757d, Kernel 5a10971c7645a95f5d5dc23c26fbac4bf61801d0 and Kernel f3a95a312419e4f1e992525917da9dbcd247038f.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=b5068bc9180d06a5ac242b0f9263047c14f86211 <57100b87c77818cb0d582a92e5cb32fff85c757d, >=b5068bc9180d06a5ac242b0f9263047c14f86211 <5a10971c7645a95f5d5dc23c26fbac4bf61801d0, >=b5068bc9180d06a5ac242b0f9263047c14f86211 <f3a95a312419e4f1e992525917da9dbcd247038f57100b87c77818cb0d582a92e5cb32fff85c757d, 5a10971c7645a95f5d5dc23c26fbac4bf61801d0, f3a95a312419e4f1e992525917da9dbcd247038f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57995 severity on Zeptric[![CVE-2024-57995](https://zeptric.io/badge/cve/CVE-2024-57995.svg)](https://zeptric.io/cve/CVE-2024-57995)