{"id":"CVE-2026-139612","state":"PUBLISHED","title":"wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop\n\nath12k_wifi7_dp_rx_mon_mpdu_pop() assigns *tail_msdu from the loop\ncursor msdu at function exit. That cursor reflects the state of the\nlast msdu_list entry processed, not the end of the accumulated MSDU\nchain: on next_msdu paths (invalid skb, drop_mpdu, first-MSDU rx_desc\ninvalid) it is set to NULL, and on the set_pktlen failure path it\nbecomes a dangling pointer to a freed skb. When these occur on the\nfinal iteration, callers see head_msdu populated with a valid chain\nwhile tail_msdu is NULL or points to freed memory.\n\nThe chain end is already tracked by the local variable last, which is\nupdated only after each MSDU has been validated and linked. Use it as\nthe source for tail_msdu so head_msdu and tail_msdu are either both\nNULL or both point into the same live chain.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3","publishedAt":"2026-11-30T13:36:21.601Z","updatedAt":"2026-11-30T13:36:21.601Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"3b310cba823d61cbd18deb45c5e6819c477fa0e6","versionType":"git"},{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"a5354898b32b2c368dcf09c7500410348ba70cee","versionType":"git"},{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"1a10a558555072dba8510ded23a9174b2a00d079","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c"]}],"references":["https://git.kernel.org/stable/c/3b310cba823d61cbd18deb45c5e6819c477fa0e6","https://git.kernel.org/stable/c/a5354898b32b2c368dcf09c7500410348ba70cee","https://git.kernel.org/stable/c/1a10a558555072dba8510ded23a9174b2a00d079"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139612.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139612","state":"PUBLISHED","datePublished":"2026-11-30T13:36:21.601Z","dateUpdated":"2026-11-30T13:36:21.601Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.943Z"},"containers":{"cna":{"title":"wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop\n\nath12k_wifi7_dp_rx_mon_mpdu_pop() assigns *tail_msdu from the loop\ncursor msdu at function exit. That cursor reflects the state of the\nlast msdu_list entry processed, not the end of the accumulated MSDU\nchain: on next_msdu paths (invalid skb, drop_mpdu, first-MSDU rx_desc\ninvalid) it is set to NULL, and on the set_pktlen failure path it\nbecomes a dangling pointer to a freed skb. When these occur on the\nfinal iteration, callers see head_msdu populated with a valid chain\nwhile tail_msdu is NULL or points to freed memory.\n\nThe chain end is already tracked by the local variable last, which is\nupdated only after each MSDU has been validated and linked. Use it as\nthe source for tail_msdu so head_msdu and tail_msdu are either both\nNULL or both point into the same live chain.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"3b310cba823d61cbd18deb45c5e6819c477fa0e6","versionType":"git"},{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"a5354898b32b2c368dcf09c7500410348ba70cee","versionType":"git"},{"version":"72bfbf19b7da6edc6db1d8ea81751ee6d31fe2f2","status":"affected","lessThan":"1a10a558555072dba8510ded23a9174b2a00d079","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3b310cba823d61cbd18deb45c5e6819c477fa0e6"},{"url":"https://git.kernel.org/stable/c/a5354898b32b2c368dcf09c7500410348ba70cee"},{"url":"https://git.kernel.org/stable/c/1a10a558555072dba8510ded23a9174b2a00d079"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:21.601Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}