Descrizione
In the Linux kernel, the following vulnerability has been resolved: nvdimm/btt: Free arena sub-allocations on discover_arenas() error path Memory allocated by btt_freelist_init(), btt_rtt_init(), and btt_maplocks_init() is not freed on some discover_arenas() error paths. This leaks memory when arena discovery fails. Add the missing kfree() calls to release the allocations before returning an error. [ as: commit message and log edits ]
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/0b0d9404951aacc9717aa61e77af4a6e9e8f8249
- Riferimentohttps://git.kernel.org/stable/c/13fe4cd9ddd0aacb7777812328be525a11ea3fea
- Riferimentohttps://git.kernel.org/stable/c/2d0364937550a7b3e2592629c2a68753ac020b28
- Riferimentohttps://git.kernel.org/stable/c/30d490bb2c4cd220e7dedf862ab6a09eb5dcbad5
- Riferimentohttps://git.kernel.org/stable/c/7563f69caa9143a491d5f26e563255c734751545
- Riferimentohttps://git.kernel.org/stable/c/873ced7f345e99f7ee16f9ff226515580332ecc4
- Riferimentohttps://git.kernel.org/stable/c/ba59b96d8d21dc8729fca44a022ca5919c1848c9
- Riferimentohttps://git.kernel.org/stable/c/eeb95774bc79268e2b78ebf01d8781560b5bd671