| 概要 | In the Linux kernel, the following vulnerability has been resolved: module: Fix kernel panic when a symbol st_shndx is out of bounds The module loader doesn't check for bounds of the ELF section index in for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) { switch (sym[i].st_shndx) { [...] default: A symbol with an out-of-bounds st_shndx value, for example 0xffff BUG: unable to handle page fault for address: ... This can happen when module ELF is legitimately using SHN_XINDEX or Add a bounds check in simplify_symbols() to validate that st_shndx is This issue was discovered due to a bug in llvm-objcopy, see relevant [1] https://lore.kernel.org/linux-modules/20251224005752.201911-1-ihor.solodrai@linux.dev/ |
|---|---|
| 公表日 | 2026年4月22日23:16 |
| 登録日 | 2026年4月25日4:05 |
| 最終更新日 | 2026年4月24日1:17 |