{"id":"CVE-2026-93094","state":"PUBLISHED","title":"wifi: ath12k: fix dp_link_peer dangling references on AP vdev rollback","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix dp_link_peer dangling references on AP vdev rollback\n\nath12k_mac_vdev_create() for an AP vdev creates the bss self-peer via\nath12k_peer_create(), which finishes by calling\nath12k_dp_link_peer_assign() to publish the dp_link_peer in the\ndp_hw->dp_peers[peerid_index] RCU table, in the dp_peer's\nlink_peers[] array, and in the per-addr rhashtable.\n\nIf a step after ath12k_peer_create() fails the function jumps to\nerr_peer_del, which open-codes a WMI peer_delete and waits for the\nunmap / delete_resp events. The wait_for_peer_delete_done() path\nrelies on ath12k_dp_link_peer_unmap_event() freeing the dp_link_peer\nwhen the unmap arrives, but err_peer_del never calls\nath12k_dp_link_peer_unassign() first. The published references in\nthe dp_hw RCU table, dp_peer->link_peers[] and the rhashtable are\nleft pointing at the dp_link_peer that unmap_event then frees,\nproducing dangling pointers and use-after-free on subsequent\nlookups.\n\nReplace the open-coded sequence with a call to ath12k_peer_delete(),\nwhich already does ath12k_dp_link_peer_unassign() before sending the\nWMI command. This drops the published references before the\ndp_link_peer is freed, in the same order as the normal teardown path\nin ath12k_mac_remove_link_interface().\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3","publishedAt":"2026-09-17T16:11:09.034Z","updatedAt":"2026-10-19T09:05:27.516Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5525f12fa671a007c6c6044c861eee86de71b576","status":"affected","lessThan":"af405d216316d99f9b48733145fc708110011e0f","versionType":"git"},{"version":"5525f12fa671a007c6c6044c861eee86de71b576","status":"affected","lessThan":"f066e1a93703c5be0fd905109d00587541711c97","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/mac.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/mac.c"]}],"references":["https://git.kernel.org/stable/c/af405d216316d99f9b48733145fc708110011e0f","https://git.kernel.org/stable/c/f066e1a93703c5be0fd905109d00587541711c97"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93094.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93094","state":"PUBLISHED","datePublished":"2026-09-17T16:11:09.034Z","dateUpdated":"2026-10-19T09:05:27.516Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.084Z"},"containers":{"cna":{"title":"wifi: ath12k: fix dp_link_peer dangling references on AP vdev rollback","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix dp_link_peer dangling references on AP vdev rollback\n\nath12k_mac_vdev_create() for an AP vdev creates the bss self-peer via\nath12k_peer_create(), which finishes by calling\nath12k_dp_link_peer_assign() to publish the dp_link_peer in the\ndp_hw->dp_peers[peerid_index] RCU table, in the dp_peer's\nlink_peers[] array, and in the per-addr rhashtable.\n\nIf a step after ath12k_peer_create() fails the function jumps to\nerr_peer_del, which open-codes a WMI peer_delete and waits for the\nunmap / delete_resp events. The wait_for_peer_delete_done() path\nrelies on ath12k_dp_link_peer_unmap_event() freeing the dp_link_peer\nwhen the unmap arrives, but err_peer_del never calls\nath12k_dp_link_peer_unassign() first. The published references in\nthe dp_hw RCU table, dp_peer->link_peers[] and the rhashtable are\nleft pointing at the dp_link_peer that unmap_event then frees,\nproducing dangling pointers and use-after-free on subsequent\nlookups.\n\nReplace the open-coded sequence with a call to ath12k_peer_delete(),\nwhich already does ath12k_dp_link_peer_unassign() before sending the\nWMI command. This drops the published references before the\ndp_link_peer is freed, in the same order as the normal teardown path\nin ath12k_mac_remove_link_interface().\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5525f12fa671a007c6c6044c861eee86de71b576","status":"affected","lessThan":"af405d216316d99f9b48733145fc708110011e0f","versionType":"git"},{"version":"5525f12fa671a007c6c6044c861eee86de71b576","status":"affected","lessThan":"f066e1a93703c5be0fd905109d00587541711c97","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/mac.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/mac.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/af405d216316d99f9b48733145fc708110011e0f"},{"url":"https://git.kernel.org/stable/c/f066e1a93703c5be0fd905109d00587541711c97"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:05:27.516Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}