[Bug 1978130] Autopkgtest regression report (glibc/2.35-0ubuntu3.1)
Ubuntu SRU Bot
1978130 at bugs.launchpad.net
Mon Jul 18 17:41:53 UTC 2022
All autopkgtests for the newly accepted glibc (2.35-0ubuntu3.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:
macaulay2/1.19.1+ds-6 (armhf)
oss4/4.2-build2010-5ubuntu9 (amd64)
packer/1.6.6+ds1-4 (s390x)
network-manager/1.36.6-0ubuntu2 (arm64)
hilive/2.0a-3build3 (arm64)
openjdk-lts/11.0.15+10-0ubuntu0.22.04.1 (armhf)
ruby-mysql2/0.5.3-3ubuntu4 (s390x, arm64, ppc64el, armhf)
prometheus/2.31.2+ds1-1ubuntu1 (armhf)
umockdev/0.17.7-1 (s390x)
mbedtls/2.28.0-1build1 (s390x)
golang-v2ray-core/4.34.0-5 (armhf)
slixmpp/1.7.1-1build1 (s390x)
nwchem/7.0.2-3 (arm64)
pappl/1.0.3-2 (s390x)
golang-github-bmatsuo-lmdb-go/1.8.0+git20170215.a14b5a3-2 (amd64)
ruby-standalone/3.0~1 (s390x)
seqkit/2.1.0+ds-1 (s390x)
pandas/1.3.5+dfsg-3 (s390x)
netplan.io/0.104-0ubuntu2 (arm64)
pyfai/0.21.1+dfsg1-1build1 (ppc64el)
iptables/1.8.7-1ubuntu5 (i386, s390x)
golang-github-influxdata-tail/1.0.0+git20180327.c434825-4 (s390x, ppc64el)
opensaml/3.2.1-1 (arm64)
node-iconv/3.0.1+~3.0.0-1 (armhf)
ubuntu-image/2.2+22.04ubuntu3 (s390x)
fenix/0.92a.dfsg1-12.1 (i386)
notary/0.7.0+ds1-1 (arm64)
rustc/1.59.0+dfsg1-1~ubuntu2~22.04.1 (arm64)
tmux/3.2a-4build1 (s390x)
genshi/0.7.6-1build1 (s390x)
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].
https://people.canonical.com/~ubuntu-archive/proposed-
migration/jammy/update_excuses.html#glibc
[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions
Thank you!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1978130
Title:
Ubuntu22.04: glibc: __strncpy_power9() uses uninitialised register
vs18 value for filling after \0
Status in The Ubuntu-power-systems project:
In Progress
Status in glibc package in Ubuntu:
New
Status in glibc source package in Jammy:
Fix Committed
Bug description:
SRU Justification:
==================
[Impact]
* glibc '__strncpy_power9()' uses uninitialized register vs18 value
for filling after \0.
* This can result in a crash / core dump.
* This is fixed in the little endian Power 9 implementation
of strncpy.S by using the proper VSX number for VR 18
in stxv and stxvl.
[Test Plan]
* Have an Ubuntu Server 22.04 LTS running on Power 9
(or compatible) hardware.
* Take the C test program and reproducer from gere:
https://sourceware.org/bugzilla/show_bug.cgi?id=29197
compile it for power9 (ppc64le).
* Execute it on ppc64el hardware and it will core dump
on an unpatched libc6, e.g. using qemu, like:
"qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted"
* gdb will report the following value of c[]:
(gdb) p c
$1 = "\000\015\015"
[Where problems could occur]
* Severe problems can occur if wrong registers are used
or the (zero-)padding is done in a wrong way
or if the fix for stxv and stxvl were mixed up.
* Relatively foreseen effects can happen and highly
likely even more crashes.
* But the code was thoroughly analysed, first as gcc bug
then a glibc bug.
* The changes are limited to:
sysdeps/powerpc/powerpc64/le/power9
and with that Power 9 specific,
well explained, documented traceable and tested
(not only on ppc64le - which is mostly relevant for Ubuntu - but
also on ppc and ppc64.)
[Other Info]
* The fix is needed for Power 9 targets (22.04 is compiled for P9),
has already been applied upstream for glibc 2.36
and has been backported to glibc >= 2.33.
__________
== Comment: #0 - Tulio Magno Quites Machado Filho <tulioqm at br.ibm.com> - 2022-06-08 08:35:44 ==
---Problem Description---
__strncpy_power9() uses uninitialised register vs18 value for filling after \0
The fix has already been applied upstream for glibc 2.36 and has been
backported to glibc >= 2.33.
Commit for glibc 2.36:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=0218463dd8265ed937622f88ac68c7d984fe0cfc
Commit for glibc 2.35:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=0a1572b8bb880a63d50a63b2afe4bb67704ac23e
Contact Information = Tulio Magno Quites Machado
Filho/tulioqm at br.ibm.com
---Additional Hardware Info---
Requires Power9 or Power10 to reproduce
---uname output---
N/A
Machine Type = N/A
---Debugger---
A debugger is not configured
---Steps to Reproduce---
See the description from the bug reported upstream at: https://sourceware.org/bugzilla/show_bug.cgi?id=29197
Userspace tool common name: glibc
The userspace tool has the following bit modes: glibc
Userspace rpm: libc6
Userspace tool obtained from project website: na
*Additional Instructions for Tulio Magno Quites Machado Filho/tulioqm at br.ibm.com:
-Attach ltrace and strace of userspace application.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1978130/+subscriptions
More information about the foundations-bugs
mailing list