[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202402261821.F2812C9475@keescook>
Date: Mon, 26 Feb 2024 18:23:15 -0800
From: Kees Cook <keescook@...omium.org>
To: Jan Bujak <j@...a.io>
Cc: Pedro Falcato <pedro.falcato@...il.com>, ebiederm@...ssion.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
viro@...iv.linux.org.uk, brauner@...nel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: Recent-ish changes in binfmt_elf made my program segfault
On Tue, Jan 23, 2024 at 12:23:27AM +0900, Jan Bujak wrote:
> On 1/22/24 23:54, Pedro Falcato wrote:
> > Hi!
> >
> > Where did you get that linker script?
> >
> > FWIW, I catched this possible issue in review, and this was already
> > discussed (see my email and Eric's reply):
> > https://lore.kernel.org/all/CAKbZUD3E2if8Sncy+M2YKncc_Zh08-86W6U5wR0ZMazShxbHHA@mail.gmail.com/
> >
> > This was my original testcase
> > (https://github.com/heatd/elf-bug-questionmark), which convinced the
> > loader to map .data over a cleared .bss. Your bug seems similar, but
> > does the inverse: maps .bss over .data.
> >
>
> I wrote the linker script myself from scratch.
Do you still need this addressed, or have you been able to adjust the
linker script? (I ask to try to assess the priority of needing to fix
this behavior change...)
-Kees
--
Kees Cook
Powered by blists - more mailing lists