[Bug 1903814] Re: [binutils] Prevent GOT access rewrite for certain symbols

Lukas Märdian 1903814 at bugs.launchpad.net
Wed Feb 17 16:24:38 UTC 2021


So the regression tests are looking good so far. I'm currently still
verifying that the regression with the linux kernel on Intel (404s) is
fixed with 4.15.0-136.140 (from -proposed). If that works out, I'll copy
the packages to the archive for verification by the SRU team.

I've SRU'ifyed the description of this bug report. Is there any more
specific test case you could give to verify that this bug is indeed
fixed? How to reproduce those "random errors and infinite loops"?

** Description changed:

- Please backport the following bugfix into Ubuntu LTS:
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e6213e09ed0e
+ [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
+ 
+ [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
+     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

  [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