CVE-2024-57995: wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
Vulnerability summary
CVE-2024-57995 is a high (CVSS 8.8) Use After Free vulnerability in linux. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 30.2% of scored vulnerabilities.
Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.34% 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: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu83 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Chainguard15 products
- hyperv-daemons-6.12< 6.12.57-r0
- linux-aws-6.12< 6.12.62-r0 | < 6.12.62-r2 | < 6.12.77-r2 | < 6.12.72-r1 | < 6.12.67-r0 | < 6.12.68-r1 | < 6.12.65-r2 | < 6.12.60-r4 | < 6.12.80-r0 | < 6.12.65-r0 | < 6.12.76-r0 | < 6.12.78-r0 | < 6.12.72-r0 | < 6.12.57-r2 | < 6.12.69-r0 | < 6.12.66-r0 | < 6.12.70-r0 | < 6.12.71-r0 | < 6.12.77-r1 | < 6.12.63-r0 | < 6.12.74-r0 | < 6.12.77-r0 | < 6.12.62-r1 | < 6.12.68-r0 | < 6.12.65-r1 | < 6.12.74-r1 | < 6.12.57-r0
- linux-aws-6.12-boot-installed< 6.12.57-r0
- linux-aws-6.12-fips-boot-installed< 6.12.57-r0
- linux-aws-6.12-modules< 6.12.57-r0
Linux2 products
- linux≥ b5068bc9180d06a5ac242b0f9263047c14f86211, < 57100b87c77818cb0d582a92e5cb32fff85c757d | ≥ b5068bc9180d06a5ac242b0f9263047c14f86211, < f3a95a312419e4f1e992525917da9dbcd247038f | ≥ b5068bc9180d06a5ac242b0f9263047c14f86211, < 5a10971c7645a95f5d5dc23c26fbac4bf61801d0 | 6.10
- linux_kernel≥ 6.10, < 6.13.2
Debian1 product
- linux< 6.12.57-1 | < 6.16.3-1
4 vendors · 101 products