В ядре Linux устранена следующая уязвимость:
iommu: исправлено разыменование группы NULL->домена в pci_dev_reset_iommu_done().
В местном обзоре sashiko указано, что group->domain может иметь значение NULL, когда
домен по умолчанию не может выделиться во время первой проверки, что может привести к сбою
при вызове домена->ops->attach_dev в __iommu_attach_device()
с помощью pci_dev_reset_iommu_done().
pci_dev_reset_iommu_prepare() подходит, поскольку указатель old_domain может иметь значение NULL.
Пропустите повторное подключение в pci_dev_reset_iommu_done(), чтобы исправить ошибку.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: iommu: Fix NULL group->domain dereference in pci_dev_reset_iommu_done() Local sashiko review pointed it out that group->domain could be NULL when a default domain fails to allocate during the first probe, which can crash at domain->ops->attach_dev dereference in __iommu_attach_device() invoked by pci_dev_reset_iommu_done(). pci_dev_reset_iommu_prepare() is fine as an old_domain pointer can be NULL. Skip the re-attach in pci_dev_reset_iommu_done() to fix the bug.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
7.0
|
7.0.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
|
— | — |