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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:31.081Z
- Modified: 2026-12-01T06:17:47.960Z
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 37a068fc9dc4feb8d76e8896bb33883d06c11a6b before b065c82703ac354b44bcab7ee9de9697b576172e; from 37a068fc9dc4feb8d76e8896bb33883d06c11a6b before 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e; 3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8; 1111e612c5f8b6e1a21091bbfcd26776c4318554; from 6.12.37 before 6.13; from 6.15.3 before 6.16; 6.16 (not affected: before 6.16; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b065c82703ac354b44bcab7ee9de9697b576172e>
- <https://git.kernel.org/stable/c/4de5a8a0edddc453f1a4c93b6d9f09013a23b72e>

## Sources

- CVE List: [CVE-2026-139738](https://www.cve.org/CVERecord?id=CVE-2026-139738), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139738](https://nvd.nist.gov/vuln/detail/CVE-2026-139738), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139738 · Whole record: https://cve.day/CVE-2026-139738.json · Rebuilt by cve.day 2026-12-01T06:32:50.913Z
