Descrizione
In the Linux kernel, the following vulnerability has been resolved: module: validate string table section types In elf_validity_cache_sechdrs, section sizes and offsets are validated, unless the section type is SHT_NULL or SHT_NOBITS. Later, elf_validity_cache_secstrings and elf_validity_cache_index_str access the section name table (.shstrtab) and symbol string table (.strtab) headers without first ensuring that their types are SHT_STRTAB. If a section type is SHT_NULL or SHT_NOBITS, sh_offset has not been validated and may reference out-of-bounds memory when dereferenced in elf_validity_cache_secstrings or elf_validity_cache_strtab. Validate that both string section headers are of type SHT_STRTAB before caching them.
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/50d0aa7d25ba4bc3606f150cd69755068e79f97f
- Riferimentohttps://git.kernel.org/stable/c/9a5ff45689329835f874cefe5174e577d141d423
- Riferimentohttps://git.kernel.org/stable/c/c7e99baf0310bd52187a6d5914948b8933e6c199
- Riferimentohttps://git.kernel.org/stable/c/db07e9b0320e480f05f5c12e8e4d6699f0d3acb7
- Riferimentohttps://git.kernel.org/stable/c/e4496dda2c6d0acf7ba5fbce14a2723a8935ceee