[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200316125824.GB12561@hirez.programming.kicks-ass.net>
Date: Mon, 16 Mar 2020 13:58:24 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Gilad Wharton Kleinman <dkgs1998@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/module: Fixed bug allowing invalid relocation
addresses.
On Sat, Mar 14, 2020 at 11:36:26PM +0200, Gilad Wharton Kleinman wrote:
> If a kernel module with a bad relocation offset is loaded to a x86 kernel,
> the kernel will apply the relocation to a address not inside the module
> (resulting in memory in the kernel being overridden).
Why !?
If you load a bad module it's game over anyway. At best this protects us
from broken toolchains.
Powered by blists - more mailing lists