В ядре Linux устранена следующая уязвимость:
Bluetooth: l2cap: очистить chan->ident при успешной реконфигурации ECRED
l2cap_ecred_reconf_rsp() возвращает досрочно при успехе без очистки
чан->идент. Все остальные обработчики ответов L2CAP (l2cap_ecred_conn_rsp,
l2cap_le_connect_rsp, l2cap_config_rsp) очищает chan->ident после
успешная транзакция, чтобы предотвратить сопоставление канала с последующими
ответы с переработанным значением идентификатора. Удаленный злоумышленник, выполнивший реконфигурацию, которую может выполнить партнер.
воспроизвести ответ об ошибке с устаревшим идентификатором, в результате чего ядро
сопоставить и уничтожить уже установленный канал через
l2cap_chan_del(chan, ECONNRESET).
В случае успеха очистите chan->ident для всех совпадающих каналов и укрепите
путь отказа с помощью l2cap_chan_hold_unless_zero() в соответствии с
другие обработчики L2CAP (l2cap_le_command_rej, __l2cap_get_chan_by_ident).
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: l2cap: clear chan->ident on ECRED reconfiguration success l2cap_ecred_reconf_rsp() returns early on success without clearing chan->ident. Every other L2CAP response handler (l2cap_ecred_conn_rsp, l2cap_le_connect_rsp, l2cap_config_rsp) clears chan->ident after a successful transaction to prevent the channel from matching subsequent responses with the recycled ident value. A remote attacker that completed a reconfiguration as the peer can replay a failure response with the stale ident, causing the kernel to match and destroy the already-established channel via l2cap_chan_del(chan, ECONNRESET). Clear chan->ident for all matching channels on success, and harden the failure path by using l2cap_chan_hold_unless_zero() consistent with other L2CAP handlers (l2cap_le_command_rej, __l2cap_get_chan_by_ident).
Характеристики атаки
Последствия
Строка CVSS v3.1