[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6208fd50-43cd-85fc-e9a6-f10281a15902@redhat.com>
Date: Thu, 28 Sep 2023 14:55:22 +0200 (CEST)
From: Sebastian Ott <sebott@...hat.com>
To: Kees Cook <keescook@...omium.org>
cc: Eric Biederman <ebiederm@...ssion.com>,
Thomas Weißschuh <linux@...ssschuh.net>,
Al Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>,
Pedro Falcato <pedro.falcato@...il.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v3 0/4] binfmt_elf: Support segments with 0 filesz and
misaligned starts
On Tue, 26 Sep 2023, Kees Cook wrote:
> This is the continuation of the work Eric started for handling
> "p_memsz > p_filesz" in arbitrary segments (rather than just the last,
> BSS, segment). I've added the suggested changes:
>
> - drop unused "elf_bss" variable
> - report padzero() errors when PROT_WRITE is present
> - refactor load_elf_interp() to use elf_load()
>
> This passes my quick smoke tests, but I'm still trying to construct some
> more complete tests...
I've repeated all my tests with this one - no issues found.
Thanks,
Sebastian
Powered by blists - more mailing lists