Menu

Star on GitHub · 3.3k

CVE-2024-56541

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix use-after-free in ath12k_dp_cc_cleanup() During ath12k module removal, in ath12k_core_deinit(), ath12k_mac_de…

Published Dec 27, 2024CWE-416EPSS 0.22%

Overview

CVE-2024-56541 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: fix use-after-free in ath12k_dp_cc_cleanup()

During ath12k module removal, in ath12k_core_deinit(),

ath12k_mac_destroy() un-registers ah->hw from mac80211 and frees

the ah->hw as well as all the ar's in it. After this

ath12k_core_soc_destroy()-> ath12k_dp_free()-> ath12k_dp_cc_cleanup()

tries to access one of the freed ar's from pending skb.

This is because during mac destroy, driver failed to flush few

data packets, which were accessed later in ath12k_dp_cc_cleanup()

and freed, but using ar from the packet led to this use-after-free.

BUG: KASAN: use-after-free in ath12k_dp_cc_cleanup.part.0+0x5e2/0xd40 [ath12k]

Write of size 4 at addr ffff888150bd3514 by task modprobe/8926

CPU: 0 UID: 0 PID: 8926 Comm: modprobe Not tainted

6.11.0-rc2-wt-ath+ #1746

Hardware name: Intel(R) Client Systems NUC8i7HVK/NUC8i7HVB, BIOS

HNKBLi70.86A.0067.2021.0528.1339 05/28/2021

Call Trace:

<TASK>

dump_stack_lvl+0x7d/0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-56541?

CVE-2024-56541 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-56541?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56541?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56541?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56541 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →