В ядре Linux устранена следующая уязвимость:
iommu: обработка ошибки unmap, когда iommu_debug включен
Сашико заметил скрытую ошибку, из-за которой поток ошибок карты назывался iommu_unmap().
который вызывает iommu_debug_unmap_begin()/iommu_debug_unmap_end(), однако
поскольку это ошибочный путь, поток карты фактически никогда не устанавливал
оригинальный iommu_debug_map() будет работать неправильно.
Поднимите обработку ошибок unmap в iommu_map_nosync() и измените ее порядок
трассировка_map()/iommu_debug_map() записывает частичное сопоставление, а затем
немедленно отменяет отображение. Это позволяет избежать создания несбалансированного отслеживания и
обеспечивает более разумную трассировку вместо unmap, не имеющего аналогов ни на одной карте.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: iommu: Handle unmap error when iommu_debug is enabled Sashiko noticed a latent bug where the map error flow called iommu_unmap() which calls iommu_debug_unmap_begin()/iommu_debug_unmap_end() however since this is an error path the map flow never actually established the original iommu_debug_map() it will malfunction. Lift the unmap error handling into iommu_map_nosync() and reorder it so the trace_map()/iommu_debug_map() records the partial mapping and then immediately unmaps it. This avoid creating the unbalanced tracking and provides saner tracing instead of a unmap unmatched to any map.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
7.0
|
7.0.11
|
|
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:*:*:*:*:*:*
|
— | — |