В ядре Linux устранена следующая уязвимость:
Tipc: переместите создание ссылки bc обратно в Tipc_node_create
Шуан Ли сообщил о сбое разыменования NULL-указателя:
[] ОШИБКА: разыменование нулевого указателя ядра, адрес: 0000000000000068
[] RIP: 0010:tipc_link_is_up+0x5/0x10 [совет]
[] Отслеживание вызовов:
[] <IRQ>
[] Tipc_bcast_rcv+0xa2/0x190 [совет]
[] Tipc_node_bc_rcv+0x8b/0x200 [совет]
[] Tipc_rcv+0x3af/0x5b0 [совет]
[] Tipc_udp_recv+0xc7/0x1e0 [совет]
Это было вызвано тем, что 'l', переданный в Tipc_bcast_rcv(), имеет значение NULL. Когда это
создает узел в Tipc_node_check_dest() после вставки нового узла
в хэш-таблицу в Tipc_node_create(), он создает ссылку bc. Однако,
между этой вставкой и созданием ссылки bc существует разрыв, пакет bc
может прийти и получить узел из хеш-таблицы, а затем попытаться разыменовать
его ссылка на bc, равная NULL.
Этот патч должен исправить это, переместив создание ссылки bc перед вставкой. в хеш-таблицу. Обратите внимание, что для того, чтобы предварительный узел стал «реальным», создание ссылки bc также следует вызывать перед его перефразированием, поскольку мы не создаем его для предварительные узлы.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: tipc: move bc link creation back to tipc_node_create Shuang Li reported a NULL pointer dereference crash: [] BUG: kernel NULL pointer dereference, address: 0000000000000068 [] RIP: 0010:tipc_link_is_up+0x5/0x10 [tipc] [] Call Trace: [] <IRQ> [] tipc_bcast_rcv+0xa2/0x190 [tipc] [] tipc_node_bc_rcv+0x8b/0x200 [tipc] [] tipc_rcv+0x3af/0x5b0 [tipc] [] tipc_udp_recv+0xc7/0x1e0 [tipc] It was caused by the 'l' passed into tipc_bcast_rcv() is NULL. When it creates a node in tipc_node_check_dest(), after inserting the new node into hashtable in tipc_node_create(), it creates the bc link. However, there is a gap between this insert and bc link creation, a bc packet may come in and get the node from the hashtable then try to dereference its bc link, which is NULL. This patch is to fix it by moving the bc link creation before inserting into the hashtable. Note that for a preliminary node becoming "real", the bc link creation should also be called before it's rehashed, as we don't create it for preliminary nodes.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.4.287
|
5.10.129
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.53
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.18.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:*
|
— | — |