В ядре Linux устранена следующая уязвимость:
KVM: прекратить поиск объединенных зон MMIO, если шина разрушена
Прервать обход объединенных зон MMIO, если kvm_io_bus_unregister_dev()
не удается выделить память для нового экземпляра шины. Если он не может
создать экземпляр новой шины, unregister_dev() уничтожает все устройства, кроме_
целевое устройство. Но он не сообщает вызывающему абоненту, что он уничтожил
bus и вызвал деструктор для всех устройств, находящихся на шине.
В
в случае объединенного MMIO это может привести к удалению записи списка
разыменование из-за попытки продолжить итерацию в Coalesced_zones
после того, как будущие записи (в обходе) были удалены. По возможности добавьте фигурные скобки в цикл for, который включает в себя
много строк, но проходит без скобок, потому что кишки едины
если заявление.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed Abort the walk of coalesced MMIO zones if kvm_io_bus_unregister_dev() fails to allocate memory for the new instance of the bus. If it can't instantiate a new bus, unregister_dev() destroys all devices _except_ the target device. But, it doesn't tell the caller that it obliterated the bus and invoked the destructor for all devices that were on the bus. In the coalesced MMIO case, this can result in a deleted list entry dereference due to attempting to continue iterating on coalesced_zones after future entries (in the walk) have been deleted. Opportunistically add curly braces to the for-loop, which encompasses many lines but sneaks by without braces due to the guts being a single if statement.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.4.66
|
5.4.119
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.9
|
5.10.37
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.11.21
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.12
|
5.12.4
|