Katalog CVE

CVE-2026-99015

Niskie ryzyko· EPSS 6%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

Percentyl 6 - wyżej niż 6% wszystkich znanych CVE

Streszczenie

W jądrze Linux podsystem Bluetooth hci_sock: ponowne powiązanie gniazda HCI po wyrejestrowaniu kontrolera może wyścignąć się z odtwarzaniem monitora. hci_sock_bind() czyści wskaźnik hdev i zwalnia referencję tylko pod blokadą gniazda, podczas gdy send_monitor_control_replay() czyta pod hci_sk_list.lock, co prowadzi do dereferencji NULL lub use-after-free. Poprawka pobiera hci_sk_list.lock do zapisu przy czyszczeniu wskaźnika i resetowaniu stanu gniazda.

Ocena ryzyka

Może powodować awarię jądra (NULL pointer dereference lub use-after-free) wywołaną przez lokalnego użytkownika, prowadząc do odmowy usługi lub potencjalnej eskalacji uprawnień.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką dla hci_sock. Ogranicz dostęp do interfejsów Bluetooth nieuprzywilejowanym użytkownikom do czasu aktualizacji.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: Serialize dead-device detachment Rebinding an HCI socket after its controller is unregistered can race monitor control replay and crash the kernel. hci_sock_bind() clears hci_pi(sk)->hdev and drops the device reference under only the socket lock, whereas send_monitor_control_replay() holds hci_sk_list.lock for reading. Replay can observe a non-NULL hdev, then bind can clear it and drop the last reference before create_monitor_ctrl_open() reads hdev->id. This can cause a NULL pointer dereference if the pointer is reloaded, or a use-after-free if the old pointer is retained. The kernel reported: KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] RIP: 0010:create_monitor_ctrl_open+0x579/0x800 Call Trace: hci_sock_bind+0xd96/0x1190 __sys_bind+0x166/0x200 __x64_sys_bind+0x6d/0xb0 do_syscall_64+0xdd/0x4a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f The same missing serialization lets hci_send_to_sock() select a socket for the old device and queue its frame after bind has detached the socket or installed a new binding. Take hci_sk_list.lock for writing when clearing the device pointer and resetting the socket state. This waits for existing replay and delivery readers to finish before detachment and prevents later readers from using the old binding. Keep hci_dev_put() outside the critical section because the final device release can sleep.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS