В ядре Linux устранена следующая уязвимость:
bluetooth/hci: запретить установку дескриптора больше HCI_CONN_HANDLE_MAX
Syzbot получил предупреждение в hci_conn_del(), вызванное освобождением дескриптора, который был
не выделяется с помощью распределителя ida.
Это вызвано тем, что переданный дескриптор превышает HCI_CONN_HANDLE_MAX.
hci_le_big_sync_installed_evt(), который заставляет код думать, что он не установлен
соединение.
Добавьте ту же проверку верхней границы дескриптора, что и в hci_conn_set_handle(), в
предотвратить предупреждение.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX Syzbot hit warning in hci_conn_del() caused by freeing handle that was not allocated using ida allocator. This is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by hci_le_big_sync_established_evt(), which makes code think it's unset connection. Add same check for handle upper bound as in hci_conn_set_handle() to prevent warning.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 9
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.5.12
|
6.6
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.6.2
|
6.6.39
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.9.9
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*
|
— | — |