CVE-2025-40318 Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.120 이상 6.1.159 미만
- 6.6.51 이상 6.6.117 미만
- 6.8.9 이상 6.9 미만
- 6.9
해결 버전
- 6.1.159 이상
- 6.6.117 이상
- 6.9 이상
- 6.9 미만
- 6.12.58 이상
- 6.17.8 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/09b0cd1297b4dbfe736aeaa0ceeab2265f47f772 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/0a94f7e017438935c09ef833a1aa908ad9875213 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/932c0a4f77ac13e526fdd5b42914d29c9821d389 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9cd536970192b72257afcdfba0bfc09993e6f19c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ae76cf6c2c842944c6514c57df54d728f1916553 (새 창)