Re: [PATCH] module: validate string table section types
Petr Pavlu <[email protected]> Tue, 14 Jul 2026 13:33:53 +0200
| Newsgroups | org.kernel.vger.linux-modules,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/14/26 1:37 AM, Thiébaud Weksteen wrote: > On Mon, Jul 13, 2026 at 10:14 PM Aaron Tomlin <[email protected]> wrote: >> >> On Fri, Jul 10, 2026 at 10:23:00AM +0200, Markus Elfring wrote: >>> … >>>> Validate that both string section headers are of type SHT_STRTAB before >>>> caching them. >>> >>> How do you think about to add any tags (like “Fixes” and “Cc”) accordingly? > > Thanks for the suggestion. I can't seem to find any relevant commit > for Fixes. There are > ec2a29593c83e ("module: harden ELF info handling") and potentially > 3c5700aeabd87 ("module: Factor out elf_validity_cache_secstrings") > Both of these commits already intended to harden the parsing. I don't > think there is any regression here. I agree. > As for Cc:, I can't think of anyone who should be explicitly added. If > you have any suggestions, please chime in. I'll add 'Cc: [email protected]' when queuing the patch. -- Thanks, Petr