CVE-2026-139422

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

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

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

ath12k_mac_vdev_delete() walks txmgmt_idr with idr_for_each(), and its
callback removes each entry belonging to the interface. Removing the
current entry can invalidate the radix-tree iterator retained by
idr_for_each().

Move the walk into a helper that uses idr_for_each_entry(). It performs a
fresh lookup for every iteration, so each matching entry can be removed
through the locked removal helper without retaining iterator state across
the removal.

Analysis

AI-generated

Technical impact

In the Linux kernel’s ath12k Wi‑Fi driver, the function that deletes virtual interfaces walks a radix tree (txmgmt_idr) with idr_for_each and removes matching entries. When an entry is removed while the iterator is active, the iterator’s state can be invalidated, potentially leading to kernel memory corruption or a system crash. The bug manifests as a failure to clean up resources safely and can result in a denial of service if the affected operation is triggered.

Affected Systems

Any Linux system that includes the ath12k driver in its kernel is potentially affected. Since the vendor list lists only \"Linux:Linux\" and no specific version ranges are provided, the vulnerability may exist in all kernel versions that compile the ath12k code without the applied fix, including in‑production embedded routers, desktop distributions, and server deployments that rely on the kernel’s Wi‑Fi stack.

Risk and Exploitability

The EPSS score is <1% (approximately 0.00201), indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation at this time. However, the flaw requires the kernel to perform a vif management TX cleanup, implying local interaction with Wi‑Fi hardware. Attackers would need local or privileged access to trigger the cleanup and would face a low to medium probability of successful exploitation, but the potential impact is high: kernel instability or crash leading to denial of service. The flaw is also classified as CWE-825.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the committed fix replacing idr_for_each with idr_for_each_entry, which safely removes entries without invalidating the iterator
  • If an immediate kernel upgrade is not possible, unload the ath12k module using \"modprobe -r ath12k\" or disable Wi‑Fi radio operation to prevent the vulnerable cleanup path
  • Configure the system to block or restrict local processes from initiating vif management operations until the patch is applied

Generated by OpenCVE AI on December 2, 2026 at 15:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

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

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup ath12k_mac_vdev_delete() walks txmgmt_idr with idr_for_each(), and its callback removes each entry belonging to the interface. Removing the current entry can invalidate the radix-tree iterator retained by idr_for_each(). Move the walk into a helper that uses idr_for_each_entry(). It performs a fresh lookup for every iteration, so each matching entry can be removed through the locked removal helper without retaining iterator state across the removal.
Title wifi: ath12k: avoid IDR mutation during vif 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
  • CWE-825

    Expired Pointer Dereference

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