В ядре Linux устранена следующая уязвимость:
net: vxlan: предотвратить разыменование NULL в vxlan_xmit_one
Ни указатели sock4, ни sock6 не гарантированно будут отличными от NULL в
vxlan_xmit_one, например. если ифейс сбит. Это может привести к
следующее разыменование NULL:
ОШИБКА: разыменование нулевого указателя ядра, адрес: 0000000000000010
Упс: Упс: 0000 [#1] SMP NOPTI
RIP: 0010:vxlan_xmit_one+0xbb3/0x1580
Отслеживание вызова:
vxlan_xmit+0x429/0x610
dev_hard_start_xmit+0x55/0xa0
__dev_queue_xmit+0x6d0/0x7f0
ip_finish_output2+0x24b/0x590
ip_output+0x63/0x110
Упомянутые коммиты изменили путь к коду в vxlan_xmit_one и, как следствие,
эффект проверки правильности указателя sock4/6 в vxlan(6)_get_route был
потерял. Исправьте это, добавив обратные проверки.
Поскольку оба исправленных коммита были выпущены в одной версии (v6.7) и тесно связаны, объединяйте исправления в один коммит.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net: vxlan: prevent NULL deref in vxlan_xmit_one Neither sock4 nor sock6 pointers are guaranteed to be non-NULL in vxlan_xmit_one, e.g. if the iface is brought down. This can lead to the following NULL dereference: BUG: kernel NULL pointer dereference, address: 0000000000000010 Oops: Oops: 0000 [#1] SMP NOPTI RIP: 0010:vxlan_xmit_one+0xbb3/0x1580 Call Trace: vxlan_xmit+0x429/0x610 dev_hard_start_xmit+0x55/0xa0 __dev_queue_xmit+0x6d0/0x7f0 ip_finish_output2+0x24b/0x590 ip_output+0x63/0x110 Mentioned commits changed the code path in vxlan_xmit_one and as a side effect the sock4/6 pointer validity checks in vxlan(6)_get_route were lost. Fix this by adding back checks. Since both commits being fixed were released in the same version (v6.7) and are strongly related, bundle the fixes in a single commit.
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.18.2
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.19
|