CVE-2025-38116

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
03/07/2025
Last modified:
20/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> wifi: ath12k: fix uaf in ath12k_core_init()<br /> <br /> When the execution of ath12k_core_hw_group_assign() or<br /> ath12k_core_hw_group_create() fails, the registered notifier chain is not<br /> unregistered properly. Its memory is freed after rmmod, which may trigger<br /> to a use-after-free (UAF) issue if there is a subsequent access to this<br /> notifier chain.<br /> <br /> Fixes the issue by calling ath12k_core_panic_notifier_unregister() in<br /> failure cases.<br /> <br /> Call trace:<br /> notifier_chain_register+0x4c/0x1f0 (P)<br /> atomic_notifier_chain_register+0x38/0x68<br /> ath12k_core_init+0x50/0x4e8 [ath12k]<br /> ath12k_pci_probe+0x5f8/0xc28 [ath12k]<br /> pci_device_probe+0xbc/0x1a8<br /> really_probe+0xc8/0x3a0<br /> __driver_probe_device+0x84/0x1b0<br /> driver_probe_device+0x44/0x130<br /> __driver_attach+0xcc/0x208<br /> bus_for_each_dev+0x84/0x100<br /> driver_attach+0x2c/0x40<br /> bus_add_driver+0x130/0x260<br /> driver_register+0x70/0x138<br /> __pci_register_driver+0x68/0x80<br /> ath12k_pci_init+0x30/0x68 [ath12k]<br /> ath12k_init+0x28/0x78 [ath12k]<br /> <br /> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14 (including) 6.15.3 (excluding)
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*