{"id":"CVE-2026-139422","state":"PUBLISHED","title":"wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup\n\nath12k_mac_vdev_delete() walks txmgmt_idr with idr_for_each(), and its\ncallback removes each entry belonging to the interface. Removing the\ncurrent entry can invalidate the radix-tree iterator retained by\nidr_for_each().\n\nMove the walk into a helper that uses idr_for_each_entry(). It performs a\nfresh lookup for every iteration, so each matching entry can be removed\nthrough the locked removal helper without retaining iterator state across\nthe removal.","publishedAt":"2026-11-30T13:34:36.437Z","updatedAt":"2026-11-30T13:34:36.437Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"8187ac6443b0de38f1a32c658285d6665d130de0","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"87f5c36448622c333b05602e0e5f5b225b194c65","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"7d7b7879806eeee83eaea9252835da9a4802a0cc","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"afeeced83707b8067508135f0280043a1b0aee14","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"4aa45334eb23d40bf31c43405daea9b73469f2a6","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":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/8187ac6443b0de38f1a32c658285d6665d130de0","https://git.kernel.org/stable/c/87f5c36448622c333b05602e0e5f5b225b194c65","https://git.kernel.org/stable/c/7d7b7879806eeee83eaea9252835da9a4802a0cc","https://git.kernel.org/stable/c/afeeced83707b8067508135f0280043a1b0aee14","https://git.kernel.org/stable/c/4aa45334eb23d40bf31c43405daea9b73469f2a6"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139422.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139422","state":"PUBLISHED","datePublished":"2026-11-30T13:34:36.437Z","dateUpdated":"2026-11-30T13:34:36.437Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.932Z"},"containers":{"cna":{"title":"wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup\n\nath12k_mac_vdev_delete() walks txmgmt_idr with idr_for_each(), and its\ncallback removes each entry belonging to the interface. Removing the\ncurrent entry can invalidate the radix-tree iterator retained by\nidr_for_each().\n\nMove the walk into a helper that uses idr_for_each_entry(). It performs a\nfresh lookup for every iteration, so each matching entry can be removed\nthrough the locked removal helper without retaining iterator state across\nthe removal."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"8187ac6443b0de38f1a32c658285d6665d130de0","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"87f5c36448622c333b05602e0e5f5b225b194c65","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"7d7b7879806eeee83eaea9252835da9a4802a0cc","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"afeeced83707b8067508135f0280043a1b0aee14","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","status":"affected","lessThan":"4aa45334eb23d40bf31c43405daea9b73469f2a6","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":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/8187ac6443b0de38f1a32c658285d6665d130de0"},{"url":"https://git.kernel.org/stable/c/87f5c36448622c333b05602e0e5f5b225b194c65"},{"url":"https://git.kernel.org/stable/c/7d7b7879806eeee83eaea9252835da9a4802a0cc"},{"url":"https://git.kernel.org/stable/c/afeeced83707b8067508135f0280043a1b0aee14"},{"url":"https://git.kernel.org/stable/c/4aa45334eb23d40bf31c43405daea9b73469f2a6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:34:36.437Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}