Descrizione
In the Linux kernel, the following vulnerability has been resolved: tracing: ring-buffer: Fix to check event length before using Check the event length before adding it for accessing next index in rb_read_data_buffer(). Since this function is used for validating possibly broken ring buffers, the length of the event could be broken. In that case, the new event (e + len) can point a wrong address. To avoid invalid memory access at boot, check whether the length of each event is in the possible range before using it.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.12precedenti 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/5026010110a5ad2268d8c23e1e2…
- Patch: git.kernel.org/stable/c/912b0ee248c529a4f45d1e7f568…
- Patch: git.kernel.org/stable/c/9eb80e54494ef1efef8a64bec4f…
- Patch: git.kernel.org/stable/c/b4700c089a10f89de3a5149d57f…
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 | ≥ 6.12 < 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/5026010110a5ad2268d8c23e1e286ab7c736f7ac
- Patchhttps://git.kernel.org/stable/c/912b0ee248c529a4f45d1e7f568dc1adddbf2a4a
- Patchhttps://git.kernel.org/stable/c/9eb80e54494ef1efef8a64bec4ffa672c9cf411e
- Patchhttps://git.kernel.org/stable/c/b4700c089a10f89de3a5149d57f8a58306458982