Skip to content
Heist/ feed
Back to feed
HighFix available

wifi: ath12k: Correct tid cleanup when tid setup fails

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Correct tid cleanup when tid setup fails Currently, if any error occurs during ath12k_dp_rx_peer_tid_setup(), the tid value is already incremented, even though the corresponding TID is not actually allocated. Proceed to ath12k_dp_rx_peer_tid_delete() starting from unallocated tid, which might leads to freeing unallocated TID and cause potential crash or out-of-bounds access. Hence, fix by correctly decrementing tid before cleanup to match only the successfully allocated TIDs. Also, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(), as decrementing the tid before cleanup in loop will take care of this. Compile tested only.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.43, 6.15.11, 6.16.2, 6.6.103
CVEs
CVE-2025-39750
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:50 UTC · Revision 1

Source evidence

wifi: ath12k: Correct tid cleanup when tid setup fails

core-osv · Original source

Published 11 Sept 2025, 16:52 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Correct tid cleanup when tid setup fails Currently, if any error occurs during ath12k_dp_rx_peer_tid_setup(), the tid value is already incremented, even though the corresponding TID is not actually allocated. Proceed to ath12k_dp_rx_peer_tid_delete() starting from unallocated tid, which might leads to freeing unallocated TID and cause potential crash or out-of-bounds access. Hence, fix by correctly decrementing tid before cleanup to match only the successfully allocated TIDs. Also, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(), as decrementing the tid before cleanup in loop will take care of this. Compile tested only.

osv:CVE-2025-39750

Kernel

Fixed versions: 6.6.103, 6.12.43, 6.15.11, 6.16.2

Complete source record
{
  "id": "a81e3790740b79eb28be1248b6d89252faa30a3207ece431a8b9d7d6d9d5187a",
  "url": "https://osv.dev/vulnerability/CVE-2025-39750",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: ath12k: Correct tid cleanup when tid setup fails",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Correct tid cleanup when tid setup fails Currently, if any error occurs during ath12k_dp_rx_peer_tid_setup(), the tid value is already incremented, even though the corresponding TID is not actually allocated. Proceed to ath12k_dp_rx_peer_tid_delete() starting from unallocated tid, which might leads to freeing unallocated TID and cause potential crash or out-of-bounds access. Hence, fix by correctly decrementing tid before cleanup to match only the successfully allocated TIDs. Also, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(), as decrementing the tid before cleanup in loop will take care of this. Compile tested only.",
    "evidence": "osv:CVE-2025-39750",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.43",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-39750",
      "aliases": [
        "CVE-2025-39750"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.6.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.43"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.16.0"
                },
                {
                  "fixed": "6.16.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39750.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.826812025Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2ef17d1476ab26bce89764e2f16833d7f52acc38",
        "https://git.kernel.org/stable/c/30cad87978057516c93467516bc481a3eacfd66a",
        "https://git.kernel.org/stable/c/4a2bf707270f897ab8077baee8ed5842a5321686",
        "https://git.kernel.org/stable/c/6301fe4f209165334d251a1c6da8ae47f93cb32c",
        "https://git.kernel.org/stable/c/907c630e58af9e86e215f3951c7b287bd86d0f15",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39750.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39750",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39750.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39750",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500104,
  "published_at": "2025-09-11T16:52:21.917+00:00"
}