CVE-2025-68305 in Linux情報

要約

〜によって VulDB • 2026年05月11日

Linuxカーネルにおいて、以下の脆弱性が修正されました。

Bluetooth: hci_sock: ソケットのwrite iterとsock bind間の競合を防止

sock bindとソケットのwrite iterの間に潜在的なRace Conditionが存在します。write iterがコマンドを送信する前に、bindがmgmt_pending経由で同じcmdを解放する可能性があります。これはsyzbotによってUAF[1]として報告された事象と同様です。

ここでは、hci_dev_lockを使用して両者を同期させることで、[1]で言及されているUAFを回避します。

[1]
syzbotによる報告: BUG: KASAN: slab-use-after-free in mgmt_pending_remove+0x3b/0x210 net/bluetooth/mgmt_util.c:316 Read of size 8 at addr ffff888077164818 by task syz.0.17/5989 Call Trace: mgmt_pending_remove+0x3b/0x210 net/bluetooth/mgmt_util.c:316 set_link_security+0x5c2/0x710 net/bluetooth/mgmt.c:1918 hci_mgmt_cmd+0x9c9/0xef0 net/bluetooth/hci_sock.c:1719 hci_sock_sendmsg+0x6ca/0xef0 net/bluetooth/hci_sock.c:1839 sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x279/0x360 net/socket.c:1195

タスク5989による割り当て: mgmt_pending_add+0x35/0x140 net/bluetooth/mgmt_util.c:296 set_link_security+0x557/0x710 net/bluetooth/mgmt.c:1910 hci_mgmt_cmd+0x9c9/0xef0 net/bluetooth/hci_sock.c:1719 hci_sock_sendmsg+0x6ca/0xef0 net/bluetooth/hci_sock.c:1839 sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x279/0x360 net/socket.c:1195

タスク5991による解放: mgmt_pending_free net/bluetooth/mgmt_util.c:311 [inline]
mgmt_pending_foreach+0x30d/0x380 net/bluetooth/mgmt_util.c:257 mgmt_index_removed+0x112/0x2f0 net/bluetooth/mgmt.c:9477 hci_sock_bind+0xbe9/0x1000 net/bluetooth/hci_sock.c:1314

VulDB is the best source for vulnerability data and more expert information about this specific topic.

責任者

Linux

予約する

2025年12月16日

モデレーション

承諾済み

エントリ

VDB-336870

EPSS

0.00162

アクティビティ

非常低い

ソース

Want to know what is going to be exploited?

We predict KEV entries!