lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFULd4Yx=GF-5McdP6ZbwYG=12-mHx0-zb3T1QA+DdPVYkrepQ@mail.gmail.com>
Date:   Tue, 29 Nov 2022 14:26:39 +0100
From:   Uros Bizjak <ubizjak@...il.com>
To:     Brian Gerst <brgerst@...il.com>
Cc:     Borislav Petkov <bp@...en8.de>, x86@...nel.org,
        linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        "H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] x86/boot: Remove x86_32 PIC using ebx workaround

On Tue, Nov 29, 2022 at 2:24 PM Brian Gerst <brgerst@...il.com> wrote:
>
> On Tue, Nov 29, 2022 at 3:32 AM Borislav Petkov <bp@...en8.de> wrote:
> >
> > On Mon, Nov 28, 2022 at 10:41:11PM -0500, Brian Gerst wrote:
> > > x86-64 uses a PIC register for the medium and large PIC code models,
> > > where offsets can be larger than +/- 2GB.
> >
> > Right but 64-bit is built with -mcmodel=kernel which obviously generates
> > rip-relative.
>
> Correct.  He quoted the specific part of the GCC changelog that fixed
> the issue for the 32-bit kernel, but it's not applicable to the 64-bit
> kernel.

It says so right in the summary.

Uros.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ