{"id":"CVE-2025-38116","published":"2025-07-03T08:35:24Z","modified":"2026-08-05T11:59:40Z","title":"wifi: ath12k: fix uaf in ath12k_core_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix uaf in ath12k_core_init()\n\nWhen the execution of ath12k_core_hw_group_assign() or\nath12k_core_hw_group_create() fails, the registered notifier chain is not\nunregistered properly. Its memory is freed after rmmod, which may trigger\nto a use-after-free (UAF) issue if there is a subsequent access to this\nnotifier chain.\n\nFixes the issue by calling ath12k_core_panic_notifier_unregister() in\nfailure cases.\n\nCall trace:\n notifier_chain_register+0x4c/0x1f0 (P)\n atomic_notifier_chain_register+0x38/0x68\n ath12k_core_init+0x50/0x4e8 [ath12k]\n ath12k_pci_probe+0x5f8/0xc28 [ath12k]\n pci_device_probe+0xbc/0x1a8\n really_probe+0xc8/0x3a0\n __driver_probe_device+0x84/0x1b0\n driver_probe_device+0x44/0x130\n __driver_attach+0xcc/0x208\n bus_for_each_dev+0x84/0x100\n driver_attach+0x2c/0x40\n bus_add_driver+0x130/0x260\n driver_register+0x70/0x138\n __pci_register_driver+0x68/0x80\n ath12k_pci_init+0x30/0x68 [ath12k]\n ath12k_init+0x28/0x78 [ath12k]\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00285,"percentile":0.13627,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/65e1b3404c211dcfaea02698539cdcd26647130f","tags":[]},{"url":"https://git.kernel.org/stable/c/f3fe49dbddd73f0155a8935af47cb63693069dbe","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.73},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6f245ea0ec6c29b90c8fa4fdf6e178c646125d7e, < 65e1b3404c211dcfaea02698539cdcd26647130f",">= 6f245ea0ec6c29b90c8fa4fdf6e178c646125d7e, < f3fe49dbddd73f0155a8935af47cb63693069dbe"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2025-19827","exploited":false,"provenance":"source"}}