[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wjw=fg5WznKfA+NQP78h8qDkF=t3CzH96fACAfULza_hQ@mail.gmail.com>
Date: Wed, 20 Nov 2019 11:45:58 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Kees Cook <keescook@...omium.org>
Cc: Michal Hocko <mhocko@...nel.org>, Bala S <balas2380@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>
Subject: Re: Suggested Patch is not working for 22851 Bugzilla issue
On Wed, Nov 20, 2019 at 10:39 AM Kees Cook <keescook@...omium.org> wrote:
> Yes, as Michal mentions, there were legitimate binaries that expected to
> overlap mappings
I'm not sure they were really overlapping as much as "the ELF sections
were in a bad order and we don't do the whole "optimize loading"
thing.
It's one of those things that *might* be fixed by first creating a
"simplified/combined map of the ELF sections", and them using mmap()
on that simplified one. But that code is nasty and hairy.
Linus
Powered by blists - more mailing lists