{"id":"CVE-2025-40318","aliases":["CVE-2025-40318"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once\n\nhci_cmd_sync_dequeue_once() does lookup and then cancel\nthe entry under two separate lock sections. Meanwhile,\nhci_cmd_sync_work() can also delete the same entry,\nleading to double list_del() and \"UAF\".\n\nFix this by holding cmd_sync_work_lock across both\nlookup and cancel, so that the entry cannot be removed\nconcurrently.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once\n\nhci_cmd_sync_dequeue_once() does lookup and then cancel\nthe entry under two separate lock sections. Meanwhile,\nhci_cmd_sync_work() can also delete the same entry,\nleading to double list_del() and \"UAF\".\n\nFix this by holding cmd_sync_work_lock across both\nlookup and cancel, so that the entry cannot be removed\nconcurrently.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: hci_sync: corrección de condición de carrera en hci_cmd_sync_dequeue_once\n\nhci_cmd_sync_dequeue_once() realiza una búsqueda y luego cancela la entrada bajo dos secciones de bloqueo separadas. Mientras tanto, hci_cmd_sync_work() también puede eliminar la misma entrada, lo que lleva a un doble list_del() y 'UAF'.\n\nEsto se soluciona manteniendo cmd_sync_work_lock durante la búsqueda y la cancelación, para que la entrada no pueda ser eliminada concurrentemente.","source":"nvd"}],"published":"2025-12-08T00:46:45.382Z","modified":"2026-10-15T22:19:07.860Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f00f36db76eb8fd10d13e80e2590f23b5beaa54d","fixed":"0a94f7e017438935c09ef833a1aa908ad9875213","status":"affected"},{"type":"git","introduced":"1499f79995c7ee58e3bfeeff75f6d1b37dcda881","fixed":"932c0a4f77ac13e526fdd5b42914d29c9821d389","status":"affected"},{"type":"git","introduced":"505ea2b295929e7be2b4e1bc86ee31cb7862fb01","fixed":"ae76cf6c2c842944c6514c57df54d728f1916553","status":"affected"},{"type":"git","introduced":"505ea2b295929e7be2b4e1bc86ee31cb7862fb01","fixed":"9cd536970192b72257afcdfba0bfc09993e6f19c","status":"affected"},{"type":"git","introduced":"505ea2b295929e7be2b4e1bc86ee31cb7862fb01","fixed":"09b0cd1297b4dbfe736aeaa0ceeab2265f47f772","status":"affected"},{"type":"git","version":"357603f4d396d85fbf0045512efaf1d7f7394ed7","status":"affected"},{"type":"semver","introduced":"6.1.120","fixed":"6.1.159","status":"affected"},{"type":"semver","introduced":"6.6.51","fixed":"6.6.117","status":"affected"},{"type":"semver","introduced":"6.8.9","fixed":"6.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0a94f7e017438935c09ef833a1aa908ad9875213","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/932c0a4f77ac13e526fdd5b42914d29c9821d389","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae76cf6c2c842944c6514c57df54d728f1916553","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9cd536970192b72257afcdfba0bfc09993e6f19c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09b0cd1297b4dbfe736aeaa0ceeab2265f47f772","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:59:09.036Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40318","url":"https://www.cve.org/CVERecord?id=CVE-2025-40318","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:43.644Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40318","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40318","licence":"Public domain","modified":"2026-10-15T22:19:07.860Z"}],"updatedAt":"2026-11-25T22:59:08.402Z","epss":{"score":0.0029,"percentile":0.23134,"date":"2026-12-02T12:00:21.000Z"}}