CVE-2024-57995: wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix read pointer after free in ath12kmacassignviftovdev()
In ath12kmacassignviftovdev(), if arvif is created on a different radio, it gets deleted from that radio through a call to ath12kmacunassignlinkvif(). 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 ath12kmacassignlinkvif().
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPLSILICONZ-1
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.57-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.16.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57995?
The severity of CVE-2024-57995 is categorized as a high-risk vulnerability affecting the Linux kernel.
How do I fix CVE-2024-57995?
To fix CVE-2024-57995, update the Linux kernel to versions 6.10 to 6.13.2 or later where the vulnerability is patched.
What systems are affected by CVE-2024-57995?
CVE-2024-57995 affects various versions of the Linux kernel between versions 6.10 and 6.13.2.
What type of vulnerability is CVE-2024-57995?
CVE-2024-57995 is a memory safety vulnerability due to a read pointer being utilized after being freed.
Is CVE-2024-57995 exploitable in remote attacks?
CVE-2024-57995 may be exploitable through local attacks, potentially allowing a malicious actor to crash or compromise the kernel.