{"id":"CVE-2025-39750","summary":"wifi: ath12k: Correct tid cleanup when tid setup fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: Correct tid cleanup when tid setup fails\n\nCurrently, if any error occurs during ath12k_dp_rx_peer_tid_setup(),\nthe tid value is already incremented, even though the corresponding\nTID is not actually allocated. Proceed to\nath12k_dp_rx_peer_tid_delete() starting from unallocated tid,\nwhich might leads to freeing unallocated TID and cause potential\ncrash or out-of-bounds access.\n\nHence, fix by correctly decrementing tid before cleanup to match only\nthe successfully allocated TIDs.\n\nAlso, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(),\nas decrementing the tid before cleanup in loop will take care of this.\n\nCompile tested only.","modified":"2026-04-02T12:48:08.312757Z","published":"2025-09-11T16:52:21.917Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39750.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2ef17d1476ab26bce89764e2f16833d7f52acc38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30cad87978057516c93467516bc481a3eacfd66a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a2bf707270f897ab8077baee8ed5842a5321686"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6301fe4f209165334d251a1c6da8ae47f93cb32c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/907c630e58af9e86e215f3951c7b287bd86d0f15"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39750.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39750"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d889913205cf7ebda905b1e62c5867ed4e39f6c2"},{"fixed":"30cad87978057516c93467516bc481a3eacfd66a"},{"fixed":"2ef17d1476ab26bce89764e2f16833d7f52acc38"},{"fixed":"907c630e58af9e86e215f3951c7b287bd86d0f15"},{"fixed":"6301fe4f209165334d251a1c6da8ae47f93cb32c"},{"fixed":"4a2bf707270f897ab8077baee8ed5842a5321686"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39750.json"}}],"schema_version":"1.7.5"}