CVE-2024-57995: wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()

Published Feb 27, 2025
·
Updated

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

6 affected components
Linux Kernel
Linux Linux kernel>=6.10<6.13.2
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Fix the read-after-free by moving the check involving arvif so it runs after arvif is again assigned via the call to ath12k_mac_assign_link_vif(), instead of before ath12k_mac_unassign_link_vif()/after arvif can be freed by deletion from the radio in ath12k_mac_unassign_link_vif().

Event History

Feb 27, 2025
CVE Published
via MITRE·02:07 AM
Data Sourced
via MITRE·02:07 AM
Description
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·03:04 AM
DescriptionSeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203