In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix NULL pointer dereference in rhash table destroy
When unbinding the ath12k driver, kernel NULL pointer dereferences occur in irq_work_sync() called from rhashtable_destroy().
Two hash tables are affected: 1. ath12k_link_sta hash table in ath12k_base 2. ath12k_dp_link_peer hash table in ath12k_dp
The issue happens because the destroy functions are called unconditionally in cleanup paths, but the hash tables are only initialized late in their respective init functions. If the device was never fully started or if the init functions failed before initializing the hash tables, the pointers will be NULL. The issues are always reproducible from a VM because the MSI addressing initialization is failing.
Call trace for ath12k_link_sta_rhash_tbl_destroy: RIP: irq_work_sync+0x1e/0x70 rhashtable_destroy+0x12/0x60 ath12k_link_sta_rhash_tbl_destroy+0x19/0x40 [ath12k] ath12k_core_stop+0xe/0x80 [ath12k] ath12k_core_hw_group_cleanup+0x6b/0xb0 [ath12k] ath12k_pci_remove+0x60/0x110 [ath12k]
Call trace for ath12k_dp_link_peer_rhash_tbl_destroy: RIP: irq_work_sync+0x1e/0x70 rhashtable_destroy+0x12/0x60 ath12k_dp_link_peer_rhash_tbl_destroy+0x29/0x50 [ath12k] ath12k_dp_cmn_device_deinit+0x21/0x140 [ath12k] ath12k_core_hw_group_cleanup+0x6b/0xb0 [ath12k] ath12k_pci_remove+0x60/0x110 [ath12k]
Fix this by adding NULL checks before calling rhashtable_destroy() in both destroy functions.
The NULL check approach was chosen because the rhashtable pointer serves as the initialization state indicator. The init can fail at various points, leaving some components uninitialized. Checking the pointer directly is simpler than adding separate state flags that would need synchronization.
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Aug 17, 2026 | Aug 10, 2026 |
| Ubuntu | — | Upgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1014-awsUpgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-awsUpgrade linux-image-generic-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-azure-fde-7.0Upgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-oracleUpgrade linux-image-gke-7.0Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-realtimeUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-gcp-7.0Upgrade linux-image-virtual-7.0Upgrade linux-image-azure-fdeUpgrade linux-image-7.0.0-38-genericUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-azure-lts-26.04Upgrade linux-image-gke-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-oem-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-1015-oemUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-oem-26.04aUpgrade linux-image-ibmUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-generic-64k-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-gcp-64kUpgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-aws-64kUpgrade linux-image-gcpUpgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-gkeUpgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-azureUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-virtualUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-generic-64kUpgrade linux-image-genericUpgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-virtual-hwe-24.04 | Oct 7, 2026 | Oct 6, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub