CVE-2025-40318
published high CVSS 3.1 · 8.8Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf00f36db76eb8fd10d13e80e2590f23b5beaa54d to < 0a94f7e017438935c09ef833a1aa908ad9875213 · 1499f79995c7ee58e3bfeeff75f6d1b37dcda881 to < 932c0a4f77ac13e526fdd5b42914d29c9821d389 · 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < ae76cf6c2c842944c6514c57df54d728f1916553 · 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < 9cd536970192b72257afcdfba0bfc09993e6f19c · 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772 · 357603f4d396d85fbf0045512efaf1d7f7394ed7 · 6.1.120 to < 6.1.159 · 6.6.51 to < 6.6.117 · 6.8.9 to < 6.9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.31.1.el10_1 | ALSA-2026:1690 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.159-1~deb11u1 | DLA-4436-1 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.31.1.el10_1 | ALSA-2026:1690 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once hci_cmd_sync_dequeue_once() does lookup and then cancel the entry under two separate lock sections. Meanwhile, hci_cmd_sync_work() can also delete the same entry, leading to double list_del() and "UAF". Fix this by holding cmd_sync_work_lock across both lookup and cancel, so that the entry cannot be removed concurrently.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The flaw is in the Bluetooth HCI command-sync queue, and the create-connection entries it manages are queued and aborted in response to LE/ACL link events from a peer in radio range (advertising reports driving `check_pending_le_conn()`, and `le_conn_timeout` when the peer stops responding). An attacker within Bluetooth range can drive both the queue and cancel sides without any local access. AC:L - The attacker controls both sides of the race — repeatedly forcing connection attempts and aborts cycles `hci_cancel_connect_sync()` against the `cmd_sync_work` kthread draining the same list entry, and the attempt can be retried without limit. The window sits between two lock acquisitions in the same function with the worker on a separate CPU, making it readily hit on SMP. PR:N - The adjacent attacker holds no credentials on the target: the LE create-connection queue/cancel cycle happens entirely before pairing or authentication completes. Even on the purely local path only an unprivileged AF_BLUETOOTH socket is needed, since `l2cap_sock_create()` gates only SOCK_RAW behind CAP_NET_RAW. UI:N - Background LE auto-connect and connection-timeout handling proceed autonomously in kernel workqueues with no victim action. No file must be opened, device mounted, or prompt accepted. S:U - The corruption is confined to kernel heap objects managed by the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossed. Impact is standard in-kernel compromise. C:H - The use-after-free reads `entry->destroy` and `entry->data` out of a freed kmalloc-64 object and dereferences them, and the resulting hijacked call plus double-`list_del` write primitive can be leveraged into arbitrary kernel memory disclosure. Freed-slab reads alone already expose adjacent kernel heap contents. I:H - `_hci_cmd_sync_cancel_entry()` calls a function pointer read from freed memory and then performs a double `list_del()` that writes attacker-groomable pointers to attacker-groomable addresses, plus a double `kfree()`. That combination is a direct control-flow-hijack and arbitrary-write path to full kernel code execution. A:H - Without successful grooming the same code path dereferences LIST_POISON or freed slab contents, producing a `list_del corruption` BUG, GPF, or panic. The double free additionally corrupts the slab allocator, crashing the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f00f36db76eb8fd10d13e80e2590f23b5beaa54d to < 0a94f7e017438935c09ef833a1aa908ad9875213 (affected · git)1499f79995c7ee58e3bfeeff75f6d1b37dcda881 to < 932c0a4f77ac13e526fdd5b42914d29c9821d389 (affected · git)505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < ae76cf6c2c842944c6514c57df54d728f1916553 (affected · git)505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < 9cd536970192b72257afcdfba0bfc09993e6f19c (affected · git)505ea2b295929e7be2b4e1bc86ee31cb7862fb01 to < 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772 (affected · git)357603f4d396d85fbf0045512efaf1d7f7394ed7 (affected · git)6.1.120 to < 6.1.159 (affected · semver)6.6.51 to < 6.6.117 (affected · semver)6.8.9 to < 6.9 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/09b0cd1297b4dbfe736aeaa0ceeab2265f47f772
- https://git.kernel.org/stable/c/0a94f7e017438935c09ef833a1aa908ad9875213
- https://git.kernel.org/stable/c/932c0a4f77ac13e526fdd5b42914d29c9821d389
- https://git.kernel.org/stable/c/9cd536970192b72257afcdfba0bfc09993e6f19c
- https://git.kernel.org/stable/c/ae76cf6c2c842944c6514c57df54d728f1916553
Provider assertions
2Linux · cna
Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0f12bb813b30b9821f898275ebad221e28925fb1434d31257a534348247fa582
- Ingested
- 15 Oct 2026, 23:29:36 UTC
- Source record
- Official CVE record