CVE-2026-139738
published high CVSS 3.1 · 7.5wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux37a068fc9dc4feb8d76e8896bb33883d06c11a6b to < b065c82703ac354b44bcab7ee9de9697b576172e · 37a068fc9dc4feb8d76e8896bb33883d06c11a6b to < 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e · 3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8 · 1111e612c5f8b6e1a21091bbfcd26776c4318554 · 6.12.37 to < 6.13 · 6.15.3 to < 6.16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | 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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - ath12k_wifi7_dp_tx() fails this way on frames it transmits over WiFi. Its IOVA damage can redirect device DMA, writing over-the-air RX frame bytes into the wrong page or sending the wrong buffer on air. The ext-desc frames involved, such as EAPOL M1 sent after a station associates, are triggered by a peer within radio range, so the vector is Adjacent. AC:H - The bug needs ath12k_hal_srng_src_get_next_entry() to return NULL on the 512-entry TCL ring, which happens only under hardware back-pressure the driver calls highly unlikely. That ring-full moment must coincide with an ext-desc frame. Memory corruption further needs IOMMU translation and a later mapping that collides with the double-freed IOVA. None of this is attacker-controlled. PR:N - Ext-desc frames are any 802.11-path data frame on an Ethernet-offload vif, such as control-port EAPOL from mac80211 that skips offload. An unauthenticated station causes the AP to send EAPOL M1 just by associating, so no credentials are needed. UI:N - No victim action is required. The AP's normal handshake and traffic handling produce the frames and the ring pressure. S:U - The damage stays in the kernel's own DMA/IOVA bookkeeping and the memory reachable by its own trusted WiFi device. No guest/host or other authority boundary is crossed. C:H - The second dma_unmap_single() of the ext-desc IOVA re-inserts it into the IOVA cache through free_iova_fast(). Two later mappings then share one IOVA, and on 6.18 VT-d __domain_mapping keeps the old PTE yet reports success. TX descriptors can then make the device transmit another live buffer over the air. I:H - Through that aliased IOVA, RX DMA writes received frame bytes into the page of another mapping, such as a kzalloc'd REO qdesc mapped DMA_BIDIRECTIONAL and its slab neighbours. The original MSDU stays mapped after its skb is freed. A:H - With an IOMMU, every hit trips WARN_ON(unmapped != size) in __iommu_dma_unmap, which panics with panic_on_warn. The corrupted IOVA cache then causes repeated map collisions with WARN storms and DMA faults. Leaked MSDU mappings drain IOVA space or swiotlb slots.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 37a068fc9dc4feb8d76e8896bb33883d06c11a6b to < b065c82703ac354b44bcab7ee9de9697b576172e (affected · git)37a068fc9dc4feb8d76e8896bb33883d06c11a6b to < 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e (affected · git)3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8 (affected · git)1111e612c5f8b6e1a21091bbfcd26776c4318554 (affected · git)6.12.37 to < 6.13 (affected · semver)6.15.3 to < 6.16 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74c8c732bea29f459c7cc54e38b16309c5cffaca89262d91f8c45b52d7a6d0ec
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record