{"id":"CVE-2026-143384","state":"PUBLISHED","title":"wifi: ath12k: fix IRQ disable imbalance in AHB ext interrupt handler","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix IRQ disable imbalance in AHB ext interrupt handler\n\nOn AHB platforms such as IPQ5332, IRQ group 3 maps multiple hardware\nrings to a single NAPI instance. Each ring is assigned its own IRQ\nline, but all IRQs in the group share one napi struct and one poll\nfunction.\n\nWhen two IRQs from the same group fire simultaneously on different\nCPUs, both handlers call ath12k_ahb_ext_grp_disable(), which invokes\ndisable_irq_nosync() for every IRQ in the group. This increments the\ninterrupt controller's disable reference count for each IRQ twice. The\nsingle NAPI poll that runs calls ath12k_ahb_ext_grp_enable() once,\ndecrementing each count from 2 to 1. Because the count never reaches 0,\nall IRQs in the group remain permanently masked by the interrupt\ncontroller.\n\nWith no further interrupts, TX completions stop being reaped from the\nWBM release ring. The pending TX descriptor count grows until the WBM\nidle link descriptor pool is exhausted. Once full, TX ring allocation\nfails and no new packets including management frames can be enqueued.\nThis causes stations to disassociate with reason 34 (DISASSOC_LOW_ACK)\nand ath12k_mac_flush() to time out:\n\"failed to flush transmit queue, data pkts req N pending N\"\nwhere N equals ATH12K_NUM_POOL_TX_DESC(ab).\n\nFix this by using napi_schedule_prep() to atomically test-and-set\nNAPI_STATE_SCHED before disabling IRQs. Only the first CPU to win the\natomic operation disables the group and calls __napi_schedule(). Any\nconcurrent handler that loses the race skips the disable entirely,\nkeeping the reference count balanced. Guard the enable_irq() call in\nthe poll routine with the return value of napi_complete_done() to\nprevent an unbalanced enable if the NAPI instance was re-scheduled\nbefore the poll completed.\n\nTested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.7-00587-QCAHKSWPL_SILICONZ-1","publishedAt":"2026-12-03T09:22:29.638Z","updatedAt":"2026-12-03T09:22:29.638Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"b342b6609fece24ebaacb5032f403c4d03aa0b7c","versionType":"git"},{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"1188e36809750306fe0f9cd6e439b6a987d81553","versionType":"git"},{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"216dd4fc57435726506e250ba2483f31ddc3c01b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/ahb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","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/ahb.c"]}],"references":["https://git.kernel.org/stable/c/b342b6609fece24ebaacb5032f403c4d03aa0b7c","https://git.kernel.org/stable/c/1188e36809750306fe0f9cd6e439b6a987d81553","https://git.kernel.org/stable/c/216dd4fc57435726506e250ba2483f31ddc3c01b"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143384.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143384","state":"PUBLISHED","datePublished":"2026-12-03T09:22:29.638Z","dateUpdated":"2026-12-03T09:22:29.638Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.372Z"},"containers":{"cna":{"title":"wifi: ath12k: fix IRQ disable imbalance in AHB ext interrupt handler","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix IRQ disable imbalance in AHB ext interrupt handler\n\nOn AHB platforms such as IPQ5332, IRQ group 3 maps multiple hardware\nrings to a single NAPI instance. Each ring is assigned its own IRQ\nline, but all IRQs in the group share one napi struct and one poll\nfunction.\n\nWhen two IRQs from the same group fire simultaneously on different\nCPUs, both handlers call ath12k_ahb_ext_grp_disable(), which invokes\ndisable_irq_nosync() for every IRQ in the group. This increments the\ninterrupt controller's disable reference count for each IRQ twice. The\nsingle NAPI poll that runs calls ath12k_ahb_ext_grp_enable() once,\ndecrementing each count from 2 to 1. Because the count never reaches 0,\nall IRQs in the group remain permanently masked by the interrupt\ncontroller.\n\nWith no further interrupts, TX completions stop being reaped from the\nWBM release ring. The pending TX descriptor count grows until the WBM\nidle link descriptor pool is exhausted. Once full, TX ring allocation\nfails and no new packets including management frames can be enqueued.\nThis causes stations to disassociate with reason 34 (DISASSOC_LOW_ACK)\nand ath12k_mac_flush() to time out:\n\"failed to flush transmit queue, data pkts req N pending N\"\nwhere N equals ATH12K_NUM_POOL_TX_DESC(ab).\n\nFix this by using napi_schedule_prep() to atomically test-and-set\nNAPI_STATE_SCHED before disabling IRQs. Only the first CPU to win the\natomic operation disables the group and calls __napi_schedule(). Any\nconcurrent handler that loses the race skips the disable entirely,\nkeeping the reference count balanced. Guard the enable_irq() call in\nthe poll routine with the return value of napi_complete_done() to\nprevent an unbalanced enable if the NAPI instance was re-scheduled\nbefore the poll completed.\n\nTested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.7-00587-QCAHKSWPL_SILICONZ-1"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"b342b6609fece24ebaacb5032f403c4d03aa0b7c","versionType":"git"},{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"1188e36809750306fe0f9cd6e439b6a987d81553","versionType":"git"},{"version":"6cee30f0da751284662affaa0d7fc567cdd65f48","status":"affected","lessThan":"216dd4fc57435726506e250ba2483f31ddc3c01b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/ahb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","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/ahb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b342b6609fece24ebaacb5032f403c4d03aa0b7c"},{"url":"https://git.kernel.org/stable/c/1188e36809750306fe0f9cd6e439b6a987d81553"},{"url":"https://git.kernel.org/stable/c/216dd4fc57435726506e250ba2483f31ddc3c01b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:22:29.638Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}