В ядре Linux устранена следующая уязвимость:
iommu/amd: вывести wait_on_sem() из спин-блокировки
При iommu.strict=1 существующий путь ожидания завершения может привести к программному
блокировки в стрессовой среде, так как wait_on_sem() занят-ожидает под
спинлок с отключенными прерываниями.
Переместите ожидание завершения в iommu_completion_wait() из спин-блокировки.
wait_on_sem() только опрашивает обновленный аппаратно cmd_sem и не требует
iommu->lock, поэтому удержание блокировки во время ожидания без необходимости
увеличивает конкуренцию и продлевает время с отключенными прерываниями.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: move wait_on_sem() out of spinlock With iommu.strict=1, the existing completion wait path can cause soft lockups under stressed environment, as wait_on_sem() busy-waits under the spinlock with interrupts disabled. Move the completion wait in iommu_completion_wait() out of the spinlock. wait_on_sem() only polls the hardware-updated cmd_sem and does not require iommu->lock, so holding the lock during the busy wait unnecessarily increases contention and extends the time with interrupts disabled.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
6.6.128
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.16
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.6
|