CVE-2024-57995 Details
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
A read-after-free vulnerability has been identified in the Linux kernel's ath12k Wi-Fi driver. The issue arises in the function ath12k_mac_assign_vif_to_vdev(), where a virtual interface (VIF) assigned to one radio is deleted from that radio, freeing the associated pointer. If this pointer is subsequently checked before being reassigned, it creates a read-after-free condition. The vulnerability has been fixed by rearranging the code to ensure the pointer is reassigned before any checks are made.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/57100b87c77818cb0d582a92e5cb32fff85c757d | kernel.org | |
| https://git.kernel.org/stable/c/5a10971c7645a95f5d5dc23c26fbac4bf61801d0 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/f3a95a312419e4f1e992525917da9dbcd247038f | kernel.org | Mailing ListPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.10, < 6.13.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 2, 2025 | CVE Modified | kernel.org |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |