Descrizione
In the Linux kernel, the following vulnerability has been resolved: usb: renesas_usbhs: fix use-after-free in ISR during device removal In usbhs_remove(), the driver frees resources (including the pipe array) while the interrupt handler (usbhs_interrupt) is still registered. If an interrupt fires after usbhs_pipe_remove() but before the driver is fully unbound, the ISR may access freed memory, causing a use-after-free. Fix this by calling devm_free_irq() before freeing resources. This ensures the interrupt handler is both disabled and synchronized (waits for any running ISR to complete) before usbhs_pipe_remove() is called.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
3.0precedenti alla5.10.253→ aggiornare alla5.10.253o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.203→ aggiornare alla5.15.203o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.167→ aggiornare alla6.1.167o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.130→ aggiornare alla6.6.130o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.78→ aggiornare alla6.12.78o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.19→ aggiornare alla6.18.19o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.9→ aggiornare alla6.19.9o successiva. - Linux Linux Kernel: vulnerabile la versione
7.0 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc4→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/0b7d11fd6e742ecc0b1eca44b4f…
- Patch: git.kernel.org/stable/c/1899edac312ef17a7234851686e…
- Patch: git.kernel.org/stable/c/3cbc242b88c607f55da3d0d0d33…
- Patch: git.kernel.org/stable/c/51afaf919bbaacdd9cc9e146033…
- Patch: git.kernel.org/stable/c/6287e0c01ccb818e7214f88d885…
- Patch: git.kernel.org/stable/c/6ffe44f022c95b1b29c691d2169…
- Patch: git.kernel.org/stable/c/9c6159d5b72d5fc265cce5da04f…
- Patch: git.kernel.org/stable/c/c7012fc73dab4829404fedeeaa8…
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 | ≥ 3.0 < 5.10.253 | 5.10.253 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.203 | 5.15.203 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.167 | 6.1.167 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.130 | 6.6.130 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.78 | 6.12.78 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.19 | 6.18.19 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.9 | 6.19.9 |
| Linux | Linux Kernel | 7.0 rc1 | — |
| Linux | Linux Kernel | 7.0 rc2 | — |
| Linux | Linux Kernel | 7.0 rc3 | — |
| Linux | Linux Kernel | 7.0 rc4 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/0b7d11fd6e742ecc0b1eca44b4f0b93140c74bae
- Patchhttps://git.kernel.org/stable/c/1899edac312ef17a7234851686e8a703f56d0a84
- Patchhttps://git.kernel.org/stable/c/3cbc242b88c607f55da3d0d0d336b49bf1e20412
- Patchhttps://git.kernel.org/stable/c/51afaf919bbaacdd9cc9e146033ae0a743a42dd7
- Patchhttps://git.kernel.org/stable/c/6287e0c01ccb818e7214f88d885ffb7c9e81b0e0
- Patchhttps://git.kernel.org/stable/c/6ffe44f022c95b1b29c691d2169c5abc046f7580
- Patchhttps://git.kernel.org/stable/c/9c6159d5b72d5fc265cce5da04f27d730b552e69
- Patchhttps://git.kernel.org/stable/c/c7012fc73dab4829404fedeeaa8531f12ac8545f