module: validate string table section types
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From c92aab819d56d51631f0484ed7af11d9d8ff4cb0 · fixed in 50d0aa7d25ba4bc3606f150cd69755068e79f97f; From c92aab819d56d51631f0484ed7af11d9d8ff4cb0 · fixed in e4496dda2c6d0acf7ba5fbce14a2723a8935ceee; From c92aab819d56d51631f0484ed7af11d9d8ff4cb0 · fixed in 9a5ff45689329835f874cefe5174e577d141d423
- Linux Linux
6.13
- KernelLinux
From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4