Descrizione
In the Linux kernel, the following vulnerability has been resolved: scsi: core: wake eh reliably when using scsi_schedule_eh Drivers which use the scsi_schedule_eh function to run the error handler currently risk the error handler thread never waking once all commands are timed out or inactive. There is no enforced memory order between setting the host into error recovery state and counting busy commands. This can result in a race with scsi_dec_host_busy where neither CPU sees both conditions of all commands inactive and the host error state to request waking the error handler. To fix this, run the scsi_schedule_eh's scsi_eh_wakeup from a new work item which will use rcu to ensure scsi_schedule_eh's call to scsi_host_busy will occur after the error state is globally visible and will be seen by any current scsi_dec_host_busy callers.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/24d7abda6a2a19e113334accc10029f6a4b57257
- Riferimentohttps://git.kernel.org/stable/c/4827c824a203eea2c0aa5bfdb13d5c5038cc84da
- Riferimentohttps://git.kernel.org/stable/c/866efe8ae8b8b4d095501001b026e1022734be28
- Riferimentohttps://git.kernel.org/stable/c/c7a15091237205770bd9bd4d14eb1f3029d97a34
- Riferimentohttps://git.kernel.org/stable/c/d1280822db11c423ad47b43c9d69a5e56199161e
- Riferimentohttps://git.kernel.org/stable/c/dccf3b1798b70f94e958b3d00b83010399e6fb05