В ядре Linux устранена следующая уязвимость:
vfio/pci: освободить клиент арбитра VGA при ошибке Register_device(). Изменение порядка в фиксации исправлений ниже заменило vfio_pci_vga_init() как
последняя точка отказа того, что сейчас называется vfio_pci_core_register_device()
без введения отмены регистрации арбитра VGA. В текущих ядрах это в основном безвредно, потому что vfio_pci_set_decode()
использует только состояние pci_dev, но исходный путь отказа может оставить
обратный вызов с освобожденным файлом cookie vdev.
Просроченная регистрация также становится снова небезопасно, как только обратный вызов следует за drvdata на устройство vfio. Добавьте необходимую выноску размотки VGA.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Release the VGA arbiter client on register_device() failure The re-order in the Fixes commit below displaced vfio_pci_vga_init() as the last failure point of what is now vfio_pci_core_register_device() without introducing an unwind for the VGA arbiter registration. In current kernels this is mostly benign because vfio_pci_set_decode() only uses pci_dev state, but the original failure path could leave a callback with a freed vdev cookie. The stale registration also becomes unsafe again once the callback follows drvdata to the vfio device. Add the required VGA unwind callout.
Характеристики атаки
Последствия
Строка CVSS v3.1