CVE-2026-139738: wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

ath12kwifi7dptx() maps the original MSDU into ti.paddr and stores the address in skbcb->paddr. When an extended MSDU descriptor is used, the function later maps the ext descriptor and overwrites ti.paddr and ti.datalen 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 skbcb->paddrextdesc. It then falls through to failunmapdma, which uses ti.paddr/ti.datalen 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 skbcb->paddr and skb->len instead of ti.paddr/ti.datalen. 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 skbcb->paddrextdesc 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-QCAHKSWPLSILICONZ-1

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ath12k_wifi7_dp_tx(), clear skb_cb->paddr_ext_desc after the ext-desc unmap, and make the original MSDU unwind use skb_cb->paddr and skb->len instead of ti.paddr and ti.data_len.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Frequently Asked Questions

1

Under what conditions can this occur?

The issue occurs in the ath12k Wi-Fi transmit path when an extended MSDU descriptor is used and TCL ring allocation fails. The affected error path can then unmap the extended descriptor twice while leaving the original MSDU DMA mapping in place.

2

What hardware was this fix tested on?

The fix was tested on QCN9274 hardware revision 2.0 using PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICO.

3

How can I tell whether my kernel includes the fix?

Check whether your kernel incorporates either referenced stable commit: b065c82703ac354b44bcab7ee9de9697b576172e or 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e. The corrected code unmaps the original MSDU using skb_cb->paddr and skb->len, and clears skb_cb->paddr_ext_desc after unmapping the extended descriptor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203