Descrizione
In the Linux kernel, the following vulnerability has been resolved: xfs: fix exchmaps reservation limit check xfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt overhead to a local resblks variable, but the final UINT_MAX check still tests req->resblks. That is the reservation value from before the overhead was added. The computed value is stored back in req->resblks and later passed to xfs_trans_alloc(), whose block reservation argument is unsigned int. Check the computed reservation so the existing limit applies to the value that will be used.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.10precedenti alla6.12.96→ aggiornare alla6.12.96o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.39→ aggiornare alla6.18.39o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.4→ aggiornare alla7.1.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7…
- Patch: git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20…
- Patch: git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082…
- Patch: git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b6…
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.10 < 6.12.96 | 6.12.96 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.39 | 6.18.39 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.4 | 7.1.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45
- Patchhttps://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1
- Patchhttps://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112
- Patchhttps://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3