CVE-2024-57995
published high CVSS 3.1 · 8.8wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb5068bc9180d06a5ac242b0f9263047c14f86211 to < 57100b87c77818cb0d582a92e5cb32fff85c757d · b5068bc9180d06a5ac242b0f9263047c14f86211 to < f3a95a312419e4f1e992525917da9dbcd247038f · b5068bc9180d06a5ac242b0f9263047c14f86211 to < 5a10971c7645a95f5d5dc23c26fbac4bf61801d0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.57 through 6.12.* (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The vulnerable code is a mac80211 chanctx-assignment op driven by 802.11 events — cross-radio scanning, band steering/BSS-transition requests, channel-switch announcements and MLO link reconfiguration — so an attacker within WiFi range (rogue/evil-twin AP or frame injection) can drive the radio migration that frees the arvif. AC:L - The attacker can repeatedly force band/radio migrations of the link vif via beacons, CSA and MLO link reconfiguration, and the freeing plus the stale read happen deterministically on that path with no race to win; heap grooming to control the reallocated object is standard. PR:N - An adjacent 802.11 attacker needs no credentials on the target — background scans and auto-connect to a spoofed known SSID reach the path pre-authentication, and no local account or capability is required. UI:N - Background scanning across radios and auto-reconnect to saved networks occur without any user action, and CSA/band-steering frames are processed automatically by the connected station. S:U - The freed object, the corrupted structures and the resulting code execution all reside in the kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - Taking the `goto flush` branch runs `ath12k_mac_vif_cache_flush()` on the freed arvif, using freed bytes as `arvif->link_id` to index `ahvif->cache[]` and returning `arvif->ar` from freed memory for the caller to dereference — an out-of-bounds/arbitrary read primitive over kernel memory. I:H - The same use-after-free path performs writes through freed-memory-derived pointers (`ath12k_mac_bss_info_changed()`, `ath12k_mac_conf_tx()`, key-cache flush, and the caller's `arvif->punct_bitmap` store), giving a heap-spray-controlled write primitive suitable for control-flow hijack. A:H - Dereferencing freed and reallocated memory as pointers reliably produces a kernel oops/panic even when not exploited further, taking down the affected system.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b5068bc9180d06a5ac242b0f9263047c14f86211 to < 57100b87c77818cb0d582a92e5cb32fff85c757d (affected · git)b5068bc9180d06a5ac242b0f9263047c14f86211 to < f3a95a312419e4f1e992525917da9dbcd247038f (affected · git)b5068bc9180d06a5ac242b0f9263047c14f86211 to < 5a10971c7645a95f5d5dc23c26fbac4bf61801d0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.57 through 6.12.* (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
3Provider assertions
2Linux · cna
wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 336127db5f6b1c1493897cc391744fbbcdde5d27d771fd346bdf03877054ad10
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record