{"id":"CVE-2026-139738","summary":"wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry","details":"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-\u003epaddr. 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-\u003epaddr_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-\u003epaddr and skb-\u003elen 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-\u003epaddr_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","modified":"2026-12-01T07:00:25.091492551Z","published":"2026-11-30T13:37:31.081Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139738.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4de5a8a0edddc453f1a4c93b6d9f09013a23b72e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b065c82703ac354b44bcab7ee9de9697b576172e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139738.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139738"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"37a068fc9dc4feb8d76e8896bb33883d06c11a6b"},{"fixed":"b065c82703ac354b44bcab7ee9de9697b576172e"},{"fixed":"4de5a8a0edddc453f1a4c93b6d9f09013a23b72e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3fffbb8d33de8cb3f33454ff93efb5ee32b98ec8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1111e612c5f8b6e1a21091bbfcd26776c4318554"}]}],"versions":["v6.12.120","v6.12.119","v6.12.118","v6.12.117","v6.12.116","v6.12.115","v6.12.114","v6.12.113","v6.12.112","v6.12.111","v6.12.110","v6.12.109","v6.12.108","v6.12.107","v6.12.106","v6.12.105","v6.12.104","v6.12.103","v6.12.102","v6.12.101","v6.12.100","v6.12.99","v6.12.98","v6.12.97","v6.12.96","v6.12.95","v6.12.94","v6.12.93","v6.12.92","v6.12.91","v6.12.90","v6.12.89","v6.12.88","v6.12.87","v6.12.86","v6.12.85","v6.12.84","v6.12.83","v6.12.82","v6.12.81","v6.12.80","v6.12.79","v6.12.78","v6.12.77","v6.12.76","v6.12.75","v6.12.74","v6.12.73","v6.12.72","v6.12.71","v6.12.70","v6.12.69","v6.12.68","v6.12.67","v6.12.66","v6.12.65","v6.12.64","v6.12.63","v6.12.62","v6.12.61","v6.12.60","v6.12.59","v6.12.58","v6.12.57","v6.12.56","v6.12.55","v6.12.54","v6.12.53","v6.12.52","v6.12.51","v6.12.50","v6.12.49","v6.12.48","v6.12.47","v6.12.46","v6.12.45","v6.12.44","v6.12.43","v6.12.42","v6.12.41","v6.12.40","v6.12.39","v6.12.38","v6.12.37","v6.15.11","v6.15.10","v6.15.9","v6.15.8","v6.15.7","v6.15.6","v6.15.5","v6.15.4","v6.15.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139738.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.37"},{"fixed":"6.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.15.3"},{"fixed":"6.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139738.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}