В ядре Linux устранена следующая уязвимость:
модуль: проверка типов разделов таблицы строк
В elf_validity_cache_sechdrs проверяются размеры разделов и смещения,
если тип раздела не SHT_NULL или SHT_NOBITS. Позже elf_validity_cache_secstrings и elf_validity_cache_index_str
доступ к таблице имен разделов (.shstrtab) и таблице строк символов
(.strtab) без предварительной проверки их типов.
SHT_STRTAB. Если тип раздела SHT_NULL или SHT_NOBITS, sh_offset имеет
не был проверен и может ссылаться на внешнюю память, когда
разыменовано в elf_validity_cache_secstrings или
elf_validity_cache_strtab.
Перед этим убедитесь, что оба заголовка раздела строки имеют тип SHT_STRTAB.
кэшируя их.
Показать оригинальное описание (EN)
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.