CVE-2026-98632

Source
https://cve.org/CVERecord?id=CVE-2026-98632
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98632.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98632
Downstream
Published
2026-10-18T15:19:56Z
Modified
2026-10-19T02:47:03Z
Summary
Bluetooth: mgmt: Dequeue pending mesh_send_sync entries on cancel
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98632.json"
}
References

Affected packages

Git / 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
b338d91703fae6f6afd67f3f75caa3b8f36ddef3
Fixed
f84e52829021d00bca8e067302f597c71af1f71a
Fixed
718a8ffa180d469f99ad4f746f00cafd39456415
Fixed
084be90948632a5a358821e687b11a14445aae76
Fixed
2189a219397d8e73808a67c4aade837b635705da
Fixed
03ced4687fb79286be7fdee0fc58d2c74de3e7bb
Fixed
71af682ba4692c2ed9ace4c3d4ca462ae368c029

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98632.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98632.json"