[Bug 1903814] Re: [binutils] Prevent GOT access rewrite for certain symbols
Lukas Märdian
1903814 at bugs.launchpad.net
Thu Feb 18 09:18:06 UTC 2021
** Description changed:
[Impact]
- * In s390 kernel context, this bug manifests itself as random errors
+ * In s390 kernel context, this bug manifests itself as random errors
and infinite loops.
[Test Case]
- * Needs to be confirmed by IBM
- * Build-time tests-suite (applied upstream) backported to Bionic in
- + ld/testsuite/ld-s390/gotreloc-1.s
- + ld/testsuite/ld-s390/gotreloc-1.ver
- + ld/testsuite/ld-s390/gotreloc_31-1.dd
- + ld/testuite/ld-s390/gotreloc_64-1.dd
+ * Needs to be confirmed by IBM
+ * Build-time tests-suite (applied upstream) backported to Bionic in
+ + ld/testsuite/ld-s390/gotreloc-1.s
+ + ld/testsuite/ld-s390/gotreloc-1.ver
+ + ld/testsuite/ld-s390/gotreloc_31-1.dd
+ + ld/testuite/ld-s390/gotreloc_64-1.dd
+ * If you build the kernel with CONFIG_DEBUG_INFO_BTF, there is a 50% chance that you will see "Failed verification: in-kernel BTF is malformed" during boot
[Where problems could occur]
- * Binutils is a base toolchain package
- - A problem could potentially affect the whole system
- - With compiler/linker errors
- - Or random errors in the produced binaries
- * This patch touches only architecture specific code in bfd/elf64-s390.c
- - It would only affect the s390x architecture in this case
+ * Binutils is a base toolchain package
+ - A problem could potentially affect the whole system
+ - With compiler/linker errors
+ - Or random errors in the produced binaries
+ * This patch touches only architecture specific code in bfd/elf64-s390.c
+ - It would only affect the s390x architecture in this case
[Other Info]
-
- * While testing the fix in Bileto, we found one pending autopkgtest regression with linux/amd64 4.15.0-135.139 which is resolved in 4.15.0-136.140 (currently in -proposed).
+ * While testing the fix in Bileto, we found one pending autopkgtest
+ regression with linux/amd64 4.15.0-135.139 which is resolved in
+ 4.15.0-136.140 (currently in -proposed).
== Original Description ==
Please backport the following bugfix into Ubuntu LTS: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e6213e09ed0e
Some relevant historic links:
Debian bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961736
glibc bugreport: https://sourceware.org/bugzilla/show_bug.cgi?id=18960
In s390 kernel context, this bug manifests itself as random errors and
infinite loops, so it's fairly severe.
These are the current versions of binutils:
Package binutils
xenial (16.04LTS) (devel): GNU assembler, linker and binary utilities
2.26.1-1ubuntu1~16.04.8 [security]: amd64 i386
2.26-8ubuntu2 [ports]: arm64 armhf powerpc ppc64el s390x
xenial-updates (devel): GNU assembler, linker and binary utilities
2.26.1-1ubuntu1~16.04.8: amd64 arm64 armhf i386 powerpc ppc64el s390x
bionic (18.04LTS) (devel): GNU assembler, linker and binary utilities
2.30-21ubuntu1~18.04.4 [security]: amd64 i386
2.30-15ubuntu1 [ports]: arm64 armhf ppc64el s390x
bionic-updates (devel): GNU assembler, linker and binary utilities
2.30-21ubuntu1~18.04.4: amd64 arm64 armhf i386 ppc64el s390x
focal (20.04LTS) (devel): GNU assembler, linker and binary utilities
2.34-6ubuntu1: amd64 arm64 armhf i386 ppc64el s390x
groovy (devel): GNU assembler, linker and binary utilities
2.35.1-1ubuntu1: amd64 arm64 armhf i386 ppc64el s390x
The patch applies fine to 2.26 and 2.30 (except for tests, but we don't
need them). We don't need it on 2.32+.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1903814
Title:
[binutils] Prevent GOT access rewrite for certain symbols
Status in Ubuntu on IBM z Systems:
Triaged
Status in binutils package in Ubuntu:
Fix Released
Status in binutils source package in Bionic:
New
Status in binutils package in Debian:
New
Bug description:
[Impact]
* In s390 kernel context, this bug manifests itself as random errors
and infinite loops.
[Test Case]
* Needs to be confirmed by IBM
* Build-time tests-suite (applied upstream) backported to Bionic in
+ ld/testsuite/ld-s390/gotreloc-1.s
+ ld/testsuite/ld-s390/gotreloc-1.ver
+ ld/testsuite/ld-s390/gotreloc_31-1.dd
+ ld/testuite/ld-s390/gotreloc_64-1.dd
* If you build the kernel with CONFIG_DEBUG_INFO_BTF, there is a 50% chance that you will see "Failed verification: in-kernel BTF is malformed" during boot
[Where problems could occur]
* Binutils is a base toolchain package
- A problem could potentially affect the whole system
- With compiler/linker errors
- Or random errors in the produced binaries
* This patch touches only architecture specific code in bfd/elf64-s390.c
- It would only affect the s390x architecture in this case
[Other Info]
* While testing the fix in Bileto, we found one pending autopkgtest
regression with linux/amd64 4.15.0-135.139 which is resolved in
4.15.0-136.140 (currently in -proposed).
== Original Description ==
Please backport the following bugfix into Ubuntu LTS: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e6213e09ed0e
Some relevant historic links:
Debian bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961736
glibc bugreport: https://sourceware.org/bugzilla/show_bug.cgi?id=18960
In s390 kernel context, this bug manifests itself as random errors and
infinite loops, so it's fairly severe.
These are the current versions of binutils:
Package binutils
xenial (16.04LTS) (devel): GNU assembler, linker and binary utilities
2.26.1-1ubuntu1~16.04.8 [security]: amd64 i386
2.26-8ubuntu2 [ports]: arm64 armhf powerpc ppc64el s390x
xenial-updates (devel): GNU assembler, linker and binary utilities
2.26.1-1ubuntu1~16.04.8: amd64 arm64 armhf i386 powerpc ppc64el s390x
bionic (18.04LTS) (devel): GNU assembler, linker and binary utilities
2.30-21ubuntu1~18.04.4 [security]: amd64 i386
2.30-15ubuntu1 [ports]: arm64 armhf ppc64el s390x
bionic-updates (devel): GNU assembler, linker and binary utilities
2.30-21ubuntu1~18.04.4: amd64 arm64 armhf i386 ppc64el s390x
focal (20.04LTS) (devel): GNU assembler, linker and binary utilities
2.34-6ubuntu1: amd64 arm64 armhf i386 ppc64el s390x
groovy (devel): GNU assembler, linker and binary utilities
2.35.1-1ubuntu1: amd64 arm64 armhf i386 ppc64el s390x
The patch applies fine to 2.26 and 2.30 (except for tests, but we
don't need them). We don't need it on 2.32+.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1903814/+subscriptions
More information about the foundations-bugs
mailing list