CVE-2026-139423

wifi: ath12k: avoid IDR mutation during pending mgmt TX cleanup

Published Nov 30, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: avoid IDR mutation during pending mgmt TX cleanup

The pending management TX cleanup walks txmgmt_idr with idr_for_each(),
and its callback removes the current entry. This can invalidate the
radix-tree iterator retained by idr_for_each().

Use idr_for_each_entry() so every iteration starts with a fresh lookup.
Continue to remove each entry under txmgmt_idr_lock before freeing its skb,
preventing concurrent TX completion from finding a stale skb pointer.

Analysis

AI-generated

Technical impact

The ath12k Wi‑Fi driver in the Linux kernel cleans up pending management transmissions by iterating over a radix tree with idr_for_each(). During the iteration the callback removes the current entry, mutating the tree while the iterator is in use. This invalidates the iterator and may cause the driver to dereference a stale skb pointer. The result can be kernel memory corruption that leads to a crash.

Affected Systems

All Linux kernel builds that incorporate the ath12k driver and have not yet applied the upstream fix that replaces idr_for_each() with idr_for_each_entry(). The vulnerability is product‑independent and applies to any distribution shipping the affected kernel sources, though the specific kernel versions affected are not enumerated in the data.

Risk and Exploitability

No CVSS or EPSS score is provided, so the exact severity and likelihood of exploitation are unknown. The flaw resides in kernel space and could be triggered by malformed or crafted Wi‑Fi management frames. Based on the description, the likely attack vector is network‑based Wi‑Fi traffic that the ath12k driver processes; the vulnerability is therefore considered possible for an attacker with access to the wireless interface, but the exploitation technique has not been publicly documented. The vulnerability is not listed in the CISA KEV catalog, indicating no confirmed public exploitation at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the ath12k mutation fix, which replaces idr_for_each() with idr_for_each_entry() and prevents iterator corruption and potential crash.
  • If a kernel upgrade is not immediately possible, apply a local patch that uses idr_for_each_entry() for the cleanup loop as shown in the upstream commit, thereby safeguarding the iterator while still removing entries safely.
  • Regularly check the vendor’s security advisories for new kernel releases or patches that address the ath12k driver vulnerability.

Generated by OpenCVE AI on December 1, 2026 at 11:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: avoid IDR mutation during pending mgmt TX cleanup The pending management TX cleanup walks txmgmt_idr with idr_for_each(), and its callback removes the current entry. This can invalidate the radix-tree iterator retained by idr_for_each(). Use idr_for_each_entry() so every iteration starts with a fresh lookup. Continue to remove each entry under txmgmt_idr_lock before freeing its skb, preventing concurrent TX completion from finding a stale skb pointer.
Title wifi: ath12k: avoid IDR mutation during pending mgmt TX cleanup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:34 PM