Bug 2419920 (CVE-2025-40318) - CVE-2025-40318 kernel: Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
Summary: CVE-2025-40318 kernel: Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_...
Keywords:
Status: NEW
Alias: CVE-2025-40318
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:08 UTC by OSIDB Bzimport
Modified: 2025-12-08 19:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:08:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.