CVE-2025-40318

HIGHCVSS 8.8/10EPSS 0.17%

Last modified

CVE-2025-40318 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.17%

6.2th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= f00f36db76eb8fd10d13e80e2590f23b5beaa54d, < 0a94f7e017438935c09ef833a1aa908ad9875213; >= 1499f79995c7ee58e3bfeeff75f6d1b37dcda881, < 932c0a4f77ac13e526fdd5b42914d29c9821d389; >= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, < ae76cf6c2c842944c6514c57df54d728f1916553; >= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, < 9cd536970192b72257afcdfba0bfc09993e6f19c; >= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, < 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772; 357603f4d396d85fbf0045512efaf1d7f7394ed7; >= 6.1.120, < 6.1.159; >= 6.6.51, < 6.6.117; >= 6.8.9, < 6.9
LinuxLinux6.9

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40318?
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.
How severe is CVE-2025-40318?
CVE-2025-40318 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 0.17% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40318?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40318?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST