[Bug 1204937] New: "Stack smashing detected" in gnutls
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 Bug ID: 1204937 Summary: "Stack smashing detected" in gnutls Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: S/390-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Security Assignee: security-team@suse.de Reporter: ada.lovelace@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- gnutls can not be built on s390x at the moment. The error message is: [ 145s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib' [ 145s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib' [ 145s] ./fipshmac > .libs/.gnutls.hmac-t && mv .libs/.gnutls.hmac-t .libs/.gnutls.hmac [ 145s] *** stack smashing detected ***: terminated [ 145s] /usr/bin/bash: line 1: 20445 Aborted ./fipshmac > .libs/.gnutls.hmac-t [ 145s] make[4]: *** [Makefile:3433: .libs/.gnutls.hmac] Error 134 [ 145s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib' [ 145s] make[4]: *** Waiting for unfinished jobs.... [ 145s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib' [ 145s] /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -I./includes -I./includes -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIE -no-undefined -version-info 30:0:0 -pie -Wl,-z,now -Wl,-z,relro -o libgnutlsxx.la -rpath /usr/lib64 libgnutlsxx_la-gnutlsxx.lo libgnutls.la [ 145s] libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib64/gcc/s390x-suse-linux/12/../../../../lib64/crti.o /usr/lib64/gcc/s390x-suse-linux/12/crtbeginS.o .libs/libgnutlsxx_la-gnutlsxx.o -Wl,-rpath -Wl,/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib/.libs ./.libs/libgnutls.so -L/usr/lib64 -ljitterentropy -lz -lp11-kit -lidn2 -lunistring -lpthread -ldl -ltasn1 -lnettle -lhogweed -lgmp -L/usr/lib64/gcc/s390x-suse-linux/12 -L/usr/lib64/gcc/s390x-suse-linux/12/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/s390x-suse-linux/12/../../../../s390x-suse-linux/lib -L/usr/lib64/gcc/s390x-suse-linux/12/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib64/gcc/s390x-suse-linux/12/crtendS.o /usr/lib64/gcc/s390x-suse-linux/12/../../../../lib64/crtn.o -O2 -g -m64 -fstack-protector -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-soname -Wl,libgnutlsxx.so.30 -o .libs/libgnutlsxx.so.30.0.0 [ 145s] libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so.30" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so.30") [ 145s] libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so") [ 145s] libtool: link: ( cd ".libs" && rm -f "libgnutlsxx.la" && ln -s "../libgnutlsxx.la" "libgnutlsxx.la" ) [ 145s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/gnutls-3.7.7/lib' [ 145s] make[3]: *** [Makefile:2903: all-recursive] Error 1 [ 145s] make[2]: *** [Makefile:2507: all] Error 2 [ 145s] make[1]: *** [Makefile:2258: all-recursive] Error 1 [ 145s] make: *** [Makefile:2183: all] Error 2 https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/... From my point of view, the hint " *** stack smashing detected ***: terminated" is the problem. Therefore, we should have a buffer overflow. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |azouhr@opensuse.org, | |ihno@suse.com Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 http://bugzilla.opensuse.org/show_bug.cgi?id=1204937#c1 --- Comment #1 from Sarah Kriesch <ada.lovelace@gmx.de> --- It seems, that this bug can be related to the latest fixes: - The FIPS hmac is now calculated with an internal tool since commit a86c8e87189e23920ae622da5e572cb4e1a6e0ed and it has been renamed to .gnutls.hmac. [bsc#1199881, bsc#1203245] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmonrealgonzalez@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|security-team@suse.de |pmonrealgonzalez@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 http://bugzilla.opensuse.org/show_bug.cgi?id=1204937#c2 --- Comment #2 from Sarah Kriesch <ada.lovelace@gmx.de> --- The build is working without patch 5 gnutls-FIPS-jitterentropy.patch. Can you adopt it, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 http://bugzilla.opensuse.org/show_bug.cgi?id=1204937#c3 --- Comment #3 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1204937) was mentioned in https://build.opensuse.org/request/show/1033875 Factory / gnutls -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204937 http://bugzilla.opensuse.org/show_bug.cgi?id=1204937#c4 --- Comment #4 from Sarah Kriesch <ada.lovelace@gmx.de> --- Last week the build was successfully in the development project for a short time after the reset of the patches. Anyway the build is failing now with the hint: FAIL dtls/dtls-resume.sh (exit status: 3) Additionally, the client is giving the hint of an invalid decryption. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com