Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.9precedenti alla6.6.128→ aggiornare alla6.6.128o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.75→ aggiornare alla6.12.75o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.16→ aggiornare alla6.18.16o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.6→ aggiornare alla6.19.6o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/496269d12072ecb219826485bdb…
- Patch: git.kernel.org/stable/c/715c263119fd1b918a9fcbd8a36…
- Patch: git.kernel.org/stable/c/d2a0cac10597068567d336e85fa…
- Patch: git.kernel.org/stable/c/e15768e68820142077bbca402d8…
- Patch: git.kernel.org/stable/c/f2f65b28d802a667119147444ec…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 4.9 < 6.6.128 | 6.6.128 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.75 | 6.12.75 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.16 | 6.18.16 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.6 | 6.19.6 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/496269d12072ecb219826485bdbec70c92a8eef5
- Patchhttps://git.kernel.org/stable/c/715c263119fd1b918a9fcbd8a36ea5b604a46324
- Patchhttps://git.kernel.org/stable/c/d2a0cac10597068567d336e85fa3cbdbe8ca62bf
- Patchhttps://git.kernel.org/stable/c/e15768e68820142077bbca402d8e902f64ade1b0
- Patchhttps://git.kernel.org/stable/c/f2f65b28d802a667119147444ec2ae33eebf9a58
- Riferimentohttps://git.kernel.org/stable/c/69d9339c02eddfc2a345be7220651068a3684383