CVE Catalog

CVE-2025-40318

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In the Linux kernel's Bluetooth stack (hci_sync), a race condition in hci_cmd_sync_dequeue_once allowed double list deletion and use-after-free (UAF). The fix holds the lock across both lookup and cancel operations.

Risk Assessment

Double list deletion and UAF can cause system crashes or potential code execution by an attacker.

Recommendation

Update the Linux kernel to a version containing this commit.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS