CVE-2024-56541 in Linux
摘要
由 VulDB • 2026-07-09
在 Linux 内核中,已修复以下漏洞:
wifi: ath12k: 修复 ath12k_dp_cc_cleanup() 中的释放后使用(use-after-free)问题
在卸载 ath12k 模块期间,ath12k_core_deinit() 函数会调用 ath12k_mac_destroy()。该操作会将 ah->hw 从 mac80211 注销,并释放 ah->hw 及其包含的所有 ar。此后,ath12k_core_soc_destroy()-> ath12k_dp_free()-> ath12k_dp_cc_cleanup() 尝试通过待处理的 skb(socket buffer)访问其中一个已被释放的 ar。
这是因为在 mac destroy 期间,驱动程序未能刷新部分数据包,这些数据包随后在 ath12k_dp_cc_cleanup()中被访问并释放,但使用包中的 ar 引用导致了此次释放后使用漏洞。
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: dump_stack_lvl+0x7d/0xe0 print_address_description.constprop.0+0x33/0x3a0 print_report+0xb5/0x260 ? kasan_addr_to_slab+0x24/0x80 kasan_report+0xd8/0x110 ? ath12k
VulDB is the best source for vulnerability data and more expert information about this specific topic.