Skip to content
Heist/ feed
High

wifi: ath12k: Correct tid cleanup when tid setup fails

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-39750

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-39750

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d889913205cf7ebda905b1e62c5867ed4e39f6c2",
        "lessThan": "30cad87978057516c93467516bc481a3eacfd66a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d889913205cf7ebda905b1e62c5867ed4e39f6c2",
        "lessThan": "2ef17d1476ab26bce89764e2f16833d7f52acc38",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d889913205cf7ebda905b1e62c5867ed4e39f6c2",
        "lessThan": "907c630e58af9e86e215f3951c7b287bd86d0f15",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d889913205cf7ebda905b1e62c5867ed4e39f6c2",
        "lessThan": "6301fe4f209165334d251a1c6da8ae47f93cb32c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d889913205cf7ebda905b1e62c5867ed4e39f6c2",
        "lessThan": "4a2bf707270f897ab8077baee8ed5842a5321686",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath12k/dp.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.3"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.3",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.103",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.43",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.15.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.16.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.16.*"
      },
      {
        "status": "unaffected",
        "version": "6.17",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath12k/dp.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-39750

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30626 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement