Skip to content
Heist/ feed
Unrated

Bluetooth: mgmt: Dequeue pending mesh_send_sync entries on cancel

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: mgmt: Dequeue pending mesh_send_sync entries on cancel In send_cancel(), pending mesh_tx objects are removed from the hdev->mesh_pending list and freed via mesh_send_complete(). However, if a mesh transmission was already queued onto hdev->cmd_sync_work_list via mesh_next(), the queued entry retains a raw pointer to mesh_tx. When hci_cmd_sync_work later processes the entry, it attempts to execute mesh_send_sync and its destroy callback mesh_send_start_complete using the already freed mesh_tx pointer, leading to a use-after-free. Fix this by invoking hci_cmd_sync_dequeue() for mesh_send_sync on the target mesh_tx before completing it. If the entry is found and dequeued, its destroy callback will complete and free the object; otherwise, mesh_send_complete() is called directly. Additionally, ensure the transmission queue advances after cancellation or errors. In mesh_send_start_complete(), call mesh_next() on error unless err is -ECANCELED, because hci_cmd_sync_dequeue() holds hdev->cmd_sync_work_lock and calling mesh_next() synchronously would deadlock. Instead, advance the queue in send_cancel() once the lock is released and if no transmission is in progress.

Announced Source revision 1
Original source ↗

CVE-2026-98632

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-2026-98632

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": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "f84e52829021d00bca8e067302f597c71af1f71a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "718a8ffa180d469f99ad4f746f00cafd39456415",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "084be90948632a5a358821e687b11a14445aae76",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "2189a219397d8e73808a67c4aade837b635705da",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "03ced4687fb79286be7fdee0fc58d2c74de3e7bb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b338d91703fae6f6afd67f3f75caa3b8f36ddef3",
        "lessThan": "71af682ba4692c2ed9ace4c3d4ca462ae368c029",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/bluetooth/mgmt.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.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.55",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/bluetooth/mgmt.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98632

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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