В ядре Linux устранена следующая уязвимость:
iommupt: проверьте отсутствие PAGE_SIZE в pgsize_bitmap. Сашико отметила, что драйвер может удалить PAGE_SIZE из
pgsize_bitmap. Технически это разрешено, но ничто не делает этого, и
такой iommu_domain сегодня не будет использоваться с API DMA.
Тем не менее, это противоречит дизайну, и исправить это тривиально. Лифт
PT_WARN_ON в ветку if и просто пропустите быстрый путь.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: iommupt: Check for missing PAGE_SIZE in the pgsize_bitmap Sashiko pointed out that the driver could drop PAGE_SIZE from the pgsize_bitmap. That is technically allowed but nothing does it, and such an iommu_domain would not be used with the DMA API today. Still, it is against the design and it is trivial to fix up. Lift the PT_WARN_ON to the if branch and just skip the fast path.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
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:*:*:*:*:*:*
|
— | — |