CVE-2026-139738

wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry

ath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and
stores the address in skb_cb->paddr. When an extended MSDU descriptor
is used, the function later maps the ext descriptor and overwrites
ti.paddr and ti.data_len with the ext-desc DMA address and length.

If TCL ring allocation then fails, the error path first unmaps the
ext-desc DMA address from skb_cb->paddr_ext_desc. It then falls through
to fail_unmap_dma, which uses ti.paddr/ti.data_len for the original
MSDU unmap. At that point ti.paddr still refers to the ext-desc
mapping, so the ext descriptor is unmapped twice and the original MSDU
mapping is left mapped.

Fix the original MSDU unwind to use skb_cb->paddr and skb->len instead
of ti.paddr/ti.data_len. The ti fields cannot be used after the ext
descriptor is mapped because they are intentionally reused for the
buffer submitted to TCL. Also clear skb_cb->paddr_ext_desc after the
ext-desc unmap so a TCL ring retry cannot observe stale ext-desc DMA
state from the previous attempt.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1

Analysis

AI-generated

Technical impact

The ath12k driver in the Linux kernel contains a flaw where, during an extended MSDU descriptor retry, the DMA address of the extended descriptor is mistakenly unmapped twice while leaving the original MSDU mapping active. This double‑unmap corrupts DMA bookkeeping and can lead to kernel instability or a crash, resulting in a denial of service that affects system availability.

Affected Systems

This bug is present in all Linux kernel builds that include the ath12k wireless driver, especially those running on QCN9274 hardware or equivalent WLAN devices. All systems that ship the unpatched kernel and have the ath12k module loaded are vulnerable. No specific kernel version is supplied, so any kernel incorporating the code before the patch is affected.

Risk and Exploitability

The vulnerability is not listed in CISA KEV and no EPSS score is available, indicating a low level of publicly known exploitation. Exploitation would likely require a local or privileged attacker able to trigger the failure path, such as by inducing allocation failures or manipulating traffic to the wifi interface. In the absence of a published CVSS score, the potential impact is judged high only if an attacker can reliably cause the fault, which would crash the kernel and result in a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel patch that includes the ath12k driver fix and reboot the system
  • If a patch is not immediately available, disable the ath12k module or the Wi‑Fi hardware to prevent the fault from being triggered
  • After applying the patch or disabling the module, restart the system to ensure the DMA state is cleared

Generated by OpenCVE AI on December 1, 2026 at 02:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-415
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry ath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and stores the address in skb_cb->paddr. When an extended MSDU descriptor is used, the function later maps the ext descriptor and overwrites ti.paddr and ti.data_len with the ext-desc DMA address and length. If TCL ring allocation then fails, the error path first unmaps the ext-desc DMA address from skb_cb->paddr_ext_desc. It then falls through to fail_unmap_dma, which uses ti.paddr/ti.data_len for the original MSDU unmap. At that point ti.paddr still refers to the ext-desc mapping, so the ext descriptor is unmapped twice and the original MSDU mapping is left mapped. Fix the original MSDU unwind to use skb_cb->paddr and skb->len instead of ti.paddr/ti.data_len. The ti fields cannot be used after the ext descriptor is mapped because they are intentionally reused for the buffer submitted to TCL. Also clear skb_cb->paddr_ext_desc after the ext-desc unmap so a TCL ring retry cannot observe stale ext-desc DMA state from the previous attempt. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1
Title wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry
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:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM