Descrizione
In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm90) Add lock protection to lm90_alert Sashiko reports: lm90_alert() executes in the smbus alert context and calls lm90_update_confreg() to disable the hardware alert line, without acquiring hwmon_lock. Concurrently, sysfs write operations (such as lm90_write_convrate) hold the hwmon_lock, temporarily modify data->config, and then restore it. If an alert interrupt occurs concurrently with a sysfs write, the sysfs path will overwrite the alert handler's modifications to data->config and the hardware register. This unintentionally re-enables the hardware alert line while the alarm is still active, causing an interrupt storm. Add the missing lock to lm90_alert() to solve the problem.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.3precedenti alla6.18.34→ aggiornare alla6.18.34o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.11→ aggiornare alla7.0.11o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc3→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/873e919e3101063a7a75989510c…
- Patch: git.kernel.org/stable/c/b0b66aae8a94c3663d47e4000b0…
- Patch: git.kernel.org/stable/c/bed1fc32e0eb653806fa98afcf5…
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 | ≥ 5.3 < 6.18.34 | 6.18.34 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.11 | 7.0.11 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
| Linux | Linux Kernel | 7.1 rc3 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/873e919e3101063a7a75989510ccfc125a4391cf
- Patchhttps://git.kernel.org/stable/c/b0b66aae8a94c3663d47e4000b0e81b89ce32186
- Patchhttps://git.kernel.org/stable/c/bed1fc32e0eb653806fa98afcf55f9a311fc4ce2
- Riferimentohttps://git.kernel.org/stable/c/02b88fa993582b4fe228b4143b330b0bb9f28353
- Riferimentohttps://git.kernel.org/stable/c/165ef777ec6f634a5e4b8d9b0dadca8ef91fa90e
- Riferimentohttps://git.kernel.org/stable/c/1dc6a3469b5427e3bfd19010d7755ebc6019abc1