{"schema":"threatline.record/2","record":{"id":"CVE-2026-98632","aliases":[],"summary":"Bluetooth: mgmt: Dequeue pending mesh_send_sync entries on cancel","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: mgmt: Dequeue pending mesh_send_sync entries on cancel\n\nIn send_cancel(), pending mesh_tx objects are removed from the\nhdev->mesh_pending list and freed via mesh_send_complete().  However, if\na mesh transmission was already queued onto hdev->cmd_sync_work_list via\nmesh_next(), the queued entry retains a raw pointer to mesh_tx.\n\nWhen hci_cmd_sync_work later processes the entry, it attempts to execute\nmesh_send_sync and its destroy callback mesh_send_start_complete using\nthe already freed mesh_tx pointer, leading to a use-after-free.\n\nFix this by invoking hci_cmd_sync_dequeue() for mesh_send_sync on the\ntarget mesh_tx before completing it.  If the entry is found and dequeued,\nits destroy callback will complete and free the object; otherwise,\nmesh_send_complete() is called directly.\n\nAdditionally, ensure the transmission queue advances after cancellation\nor errors.  In mesh_send_start_complete(), call mesh_next() on error\nunless err is -ECANCELED, because hci_cmd_sync_dequeue() holds\nhdev->cmd_sync_work_lock and calling mesh_next() synchronously would\ndeadlock.  Instead, advance the queue in send_cancel() once the lock is\nreleased and if no transmission is in progress.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"f84e52829021d00bca8e067302f597c71af1f71a","status":"affected","versionType":"git"},{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"718a8ffa180d469f99ad4f746f00cafd39456415","status":"affected","versionType":"git"},{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"084be90948632a5a358821e687b11a14445aae76","status":"affected","versionType":"git"},{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"2189a219397d8e73808a67c4aade837b635705da","status":"affected","versionType":"git"},{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"03ced4687fb79286be7fdee0fc58d2c74de3e7bb","status":"affected","versionType":"git"},{"version":"b338d91703fae6f6afd67f3f75caa3b8f36ddef3","lessThan":"71af682ba4692c2ed9ace4c3d4ca462ae368c029","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"718a8ffa180d469f99ad4f746f00cafd39456415","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"084be90948632a5a358821e687b11a14445aae76","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"2189a219397d8e73808a67c4aade837b635705da","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"03ced4687fb79286be7fdee0fc58d2c74de3e7bb","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","source_modified_at":"2026-10-19T09:23:00.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"71af682ba4692c2ed9ace4c3d4ca462ae368c029","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00172,"percentile":0.06311,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:19:56.287Z","modified_at":"2026-10-19T09:23:00.460Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98632","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:23:00.460Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98632","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/f84e52829021d00bca8e067302f597c71af1f71a"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/718a8ffa180d469f99ad4f746f00cafd39456415"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/084be90948632a5a358821e687b11a14445aae76"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/2189a219397d8e73808a67c4aade837b635705da"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/03ced4687fb79286be7fdee0fc58d2c74de3e7bb"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/71af682ba4692c2ed9ace4c3d4ca462ae368c029"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:23:00.460Z","content_hash":"64d5a94b1a790f638f8d87f772f824352af6766017d4f74a5be70b52ffbf1931"}}
