7.5high
iommu/amd: move wait_on_sem() out of spinlock
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4bf5beef578e46393f11eb69dda7d17a065e05ff before 69d9339c02eddfc2a345be7220651068a3684383, from 4bf5beef578e46393f11eb69dda7d17a065e05ff before f2f65b28d802a667119147444ec2ae33eebf9a58, from 4bf5beef578e46393f11eb69dda7d17a065e05ff before 715c263119fd1b918a9fcbd8a36ea5b604a46324, from 4bf5beef578e46393f11eb69dda7d17a065e05ff before e15768e68820142077bbca402d8e902f64ade1b0, from 4bf5beef578e46393f11eb69dda7d17a065e05ff before 496269d12072ecb219826485bdbec70c92a8eef5, from 4bf5beef578e46393f11eb69dda7d17a065e05ff before d2a0cac10597068567d336e85fa3cbdbe8ca62bf, 4.9 Not affected: before 4.9, from 6.1.191 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.* | CVE List |
| linux linux_kernel | from 4.9 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iommu/amd: mover wait_on_sem() fuera del spinlock Con iommu.strict=1, la ruta de espera de finalización existente puede causar bloqueos suaves bajo un entorno estresado, ya que wait_on_sem() espera activamente bajo el spinlock con las interrupciones deshabilitadas. Mover la espera de finalización en iommu_completion_wait() fuera del spinlock. wait_on_sem() solo sondea el cmd_sem actualizado por hardware y no requiere iommu -> lock, por lo que mantener el bloqueo durante la espera activa aumenta innecesariamente la contención y extiende el tiempo con las interrupciones deshabilitadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43253 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-43253 changed 2026-11-11 | Public domain |