В ядре Linux была устранена следующая уязвимость: Bluetooth: virtio_bt: избегайте чтения OOB строки build info The virtbt_setup_zephyr() отправляет команду поставщика Zephyr 0xfc08 (Read Build Information) и передает ответ bt_dev_info() и hci_set_fw_info() как строку «%s», начиная с skb->data + 1, не проверяя длину. Бэкэнд, который отвечает со статусом, оставляет этот указатель только за концом полученных данных, поэтому проход считывает соседнюю память плиты, пока не встретит NUL. Эти байты достигают журнала ядра и файла отладки firmware-info.
Чтобы исправить это, напечатайте строку с ограниченным "%.*s", ограниченным skb->len - 1. Короткий или неоконченный ответ затем печатает столько, сколько пришло, вместо неудачной настройки. Эти зеркала фиксируют dd068ef04412 ("Bluetooth: bpa10x: избегайте чтения строки ревизий OOB в bpa10x_setup()"), который исправил идентичный шаблон.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: virtio_bt: avoid OOB read of build info string The virtbt_setup_zephyr() sends the Zephyr vendor command 0xfc08 (Read Build Information) and hands the response to bt_dev_info() and hci_set_fw_info() as a "%s" string starting at skb->data + 1, without checking the length. A backend that answers with status only leaves that pointer past the end of the received data, so the walk reads adjacent slab memory until it meets a NUL. Those bytes reach the kernel log and the firmware-info debugfs file. To fix this, print the string with a bounded "%.*s" limited to skb->len - 1. A short or unterminated response then prints as much as arrived instead of failing setup. This mirrors commit dd068ef04412 ("Bluetooth: bpa10x: avoid OOB read of revision string in bpa10x_setup()"), which fixed the identical pattern.