{"api_version":"1","generated_at":"2026-12-01T06:50:24+00:00","cve":"CVE-2026-139738","urls":{"html":"https://cve.report/CVE-2026-139738","api":"https://cve.report/api/cve/CVE-2026-139738.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139738","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139738"},"summary":{"title":"wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix DMA unwind for ext MSDU descriptor retry\n\nath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and\nstores the address in skb_cb->paddr. When an extended MSDU descriptor\nis used, the function later maps the ext descriptor and overwrites\nti.paddr and ti.data_len with the ext-desc DMA address and length.\n\nIf TCL ring allocation then fails, the error path first unmaps the\next-desc DMA address from skb_cb->paddr_ext_desc. It then falls through\nto fail_unmap_dma, which uses ti.paddr/ti.data_len for the original\nMSDU unmap. At that point ti.paddr still refers to the ext-desc\nmapping, so the ext descriptor is unmapped twice and the original MSDU\nmapping is left mapped.\n\nFix the original MSDU unwind to use skb_cb->paddr and skb->len instead\nof ti.paddr/ti.data_len. The ti fields cannot be used after the ext\ndescriptor is mapped because they are intentionally reused for the\nbuffer submitted to TCL. Also clear skb_cb->paddr_ext_desc after the\next-desc unmap so a TCL ring retry cannot observe stale ext-desc DMA\nstate from the previous attempt.\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:05","updated_at":"2026-12-01 06:17:47"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/4de5a8a0edddc453f1a4c93b6d9f09013a23b72e","name":"https://git.kernel.org/stable/c/4de5a8a0edddc453f1a4c93b6d9f09013a23b72e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b065c82703ac354b44bcab7ee9de9697b576172e","name":"https://git.kernel.org/stable/c/b065c82703ac354b44bcab7ee9de9697b576172e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139738","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139738","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 37a068fc9dc4feb8d76e8896bb33883d06c11a6b b065c82703ac354b44bcab7ee9de9697b576172e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 37a068fc9dc4feb8d76e8896bb33883d06c11a6b 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1111e612c5f8b6e1a21091bbfcd26776c4318554 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.37 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15.3 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b065c82703ac354b44bcab7ee9de9697b576172e","status":"affected","version":"37a068fc9dc4feb8d76e8896bb33883d06c11a6b","versionType":"git"},{"lessThan":"4de5a8a0edddc453f1a4c93b6d9f09013a23b72e","status":"affected","version":"37a068fc9dc4feb8d76e8896bb33883d06c11a6b","versionType":"git"},{"status":"affected","version":"3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8","versionType":"git"},{"status":"affected","version":"1111e612c5f8b6e1a21091bbfcd26776c4318554","versionType":"git"},{"lessThan":"6.13","status":"affected","version":"6.12.37","versionType":"semver"},{"lessThan":"6.16","status":"affected","version":"6.15.3","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix DMA unwind for ext MSDU descriptor retry\n\nath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and\nstores the address in skb_cb->paddr. When an extended MSDU descriptor\nis used, the function later maps the ext descriptor and overwrites\nti.paddr and ti.data_len with the ext-desc DMA address and length.\n\nIf TCL ring allocation then fails, the error path first unmaps the\next-desc DMA address from skb_cb->paddr_ext_desc. It then falls through\nto fail_unmap_dma, which uses ti.paddr/ti.data_len for the original\nMSDU unmap. At that point ti.paddr still refers to the ext-desc\nmapping, so the ext descriptor is unmapped twice and the original MSDU\nmapping is left mapped.\n\nFix the original MSDU unwind to use skb_cb->paddr and skb->len instead\nof ti.paddr/ti.data_len. The ti fields cannot be used after the ext\ndescriptor is mapped because they are intentionally reused for the\nbuffer submitted to TCL. Also clear skb_cb->paddr_ext_desc after the\next-desc unmap so a TCL ring retry cannot observe stale ext-desc DMA\nstate from the previous attempt.\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1"}],"metrics":[{"cvssV3_1":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI:N - No victim action is required. The AP's normal handshake and traffic handling produce the frames and the ring pressure.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:43:08.529Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b065c82703ac354b44bcab7ee9de9697b576172e"},{"url":"https://git.kernel.org/stable/c/4de5a8a0edddc453f1a4c93b6d9f09013a23b72e"}],"title":"wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139738","datePublished":"2026-11-30T13:37:31.081Z","dateReserved":"2026-11-30T13:22:15.950Z","dateUpdated":"2026-12-01T05:43:08.529Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:05","lastModifiedDate":"2026-12-01 06:17:47","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139738","Ordinal":"1","Title":"wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry","CVE":"CVE-2026-139738","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139738","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix DMA unwind for ext MSDU descriptor retry\n\nath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and\nstores the address in skb_cb->paddr. When an extended MSDU descriptor\nis used, the function later maps the ext descriptor and overwrites\nti.paddr and ti.data_len with the ext-desc DMA address and length.\n\nIf TCL ring allocation then fails, the error path first unmaps the\next-desc DMA address from skb_cb->paddr_ext_desc. It then falls through\nto fail_unmap_dma, which uses ti.paddr/ti.data_len for the original\nMSDU unmap. At that point ti.paddr still refers to the ext-desc\nmapping, so the ext descriptor is unmapped twice and the original MSDU\nmapping is left mapped.\n\nFix the original MSDU unwind to use skb_cb->paddr and skb->len instead\nof ti.paddr/ti.data_len. The ti fields cannot be used after the ext\ndescriptor is mapped because they are intentionally reused for the\nbuffer submitted to TCL. Also clear skb_cb->paddr_ext_desc after the\next-desc unmap so a TCL ring retry cannot observe stale ext-desc DMA\nstate from the previous attempt.\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1","Type":"Description","Title":"wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry"}]}}}