Home

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.

PUBLISHED Reserved 2025-04-16 | Published 2025-12-08 | Updated 2025-12-08 | Assigner Linux

Product status

Default status
unaffected

f00f36db76eb8fd10d13e80e2590f23b5beaa54d (git) before 0a94f7e017438935c09ef833a1aa908ad9875213
affected

1499f79995c7ee58e3bfeeff75f6d1b37dcda881 (git) before 932c0a4f77ac13e526fdd5b42914d29c9821d389
affected

505ea2b295929e7be2b4e1bc86ee31cb7862fb01 (git) before ae76cf6c2c842944c6514c57df54d728f1916553
affected

505ea2b295929e7be2b4e1bc86ee31cb7862fb01 (git) before 9cd536970192b72257afcdfba0bfc09993e6f19c
affected

505ea2b295929e7be2b4e1bc86ee31cb7862fb01 (git) before 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772
affected

357603f4d396d85fbf0045512efaf1d7f7394ed7 (git)
affected

Default status
affected

6.9
affected

Any version before 6.9
unaffected

6.1.159 (semver)
unaffected

6.6.117 (semver)
unaffected

6.12.58 (semver)
unaffected

6.17.8 (semver)
unaffected

6.18 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/0a94f7e017438935c09ef833a1aa908ad9875213

git.kernel.org/...c/932c0a4f77ac13e526fdd5b42914d29c9821d389

git.kernel.org/...c/ae76cf6c2c842944c6514c57df54d728f1916553

git.kernel.org/...c/9cd536970192b72257afcdfba0bfc09993e6f19c

git.kernel.org/...c/09b0cd1297b4dbfe736aeaa0ceeab2265f47f772

cve.org (CVE-2025-40318)

nvd.nist.gov (CVE-2025-40318)

Download JSON