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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Aug 2020 09:05:48 +0200
From:   Ard Biesheuvel <ardb@...nel.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Arvind Sankar <nivedita@...m.mit.edu>,
        Kees Cook <keescook@...omium.org>
Cc:     Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
        "H. Peter Anvin" <hpa@...or.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: new build warnings after binutils update

(+ Arvind, Kees)

On Thu, 13 Aug 2020 at 22:58, Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi all,
>
> After upgading some software, builds of Linus' tree now produce these warnings:
>
> x86_64-linux-gnu-ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text'
> x86_64-linux-gnu-ld: warning: creating DT_TEXTREL in a PIE
>
> I upgraded binutils from 2.34-8 to 2.35-1 (Debian versions).
>
> $ x86_64-linux-gnu-gcc --version
> x86_64-linux-gnu-gcc (Debian 9.3.0-13) 9.3.0
>
> Any ideas?
>

Arvind and I have some patches on the list that fix various relocation
issues in the decompressor binary.

As far as I can tell, Arvind's patch to suppress runtime relocations
[0] addresses this exact issue.

Unfortunately, in spite of various pings and attempts to get the x86
maintainers to notice this series, it has been ignored so far. Perhaps
this is a good time to merge it for -rc1/2?

[0] https://lore.kernel.org/lkml/20200731202738.2577854-6-nivedita@alum.mit.edu/

Powered by blists - more mailing lists