Descrizione
In the Linux kernel, the following vulnerability has been resolved: spi: imx: fix use-after-free on unbind The SPI subsystem frees the controller and any subsystem allocated driver data as part of deregistration (unless the allocation is device managed). Take another reference before deregistering the controller so that the driver data is not freed until the driver is done with it.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.19precedenti alla6.6.140→ aggiornare alla6.6.140o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.86→ aggiornare alla6.12.86o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.27→ aggiornare alla6.18.27o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.4→ aggiornare alla7.0.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df…
- Patch: git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5…
- Patch: git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83…
- Patch: git.kernel.org/stable/c/aa9025a498036b6012769f7af36…
- Patch: git.kernel.org/stable/c/f99165ef067723221472ce1aff6…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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.19 < 6.6.140 | 6.6.140 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.86 | 6.12.86 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.27 | 6.18.27 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.4 | 7.0.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff
- Patchhttps://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096
- Patchhttps://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003
- Patchhttps://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17
- Patchhttps://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643
- Riferimentohttps://git.kernel.org/stable/c/c7c40c3e7b9fb900504aa746de3e53c5275b24bd