Bug ID 1188712
Summary VDSO change on PPC causes random segfaults in Go applications
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware PowerPC-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter fvogt@suse.com
QA Contact qa-bugs@suse.de
CC jkowalczyk@suse.com
Found By ---
Blocker ---

https://lwn.net/ml/linux-kernel/cover.1601365869.git.christophe.leroy@csgroup.eu/
changed the implementation of the VDSO from a PowerPC specific one to the
generic C version.

Apparently executables built with Go before 1.17 implicitly relied on the fact
that the VDSO did not mangle r30, but with the generic C implementation it now
does. This leads to random crashes in Go executables.

This is fixed with https://go-review.googlesource.com/c/go/+/334410/1 and I
submitted this to our go1.16 package with
https://build.opensuse.org/request/show/907807.

However, all executables built with a compiler which doesn't include that will
not work on kernel >= 5.13. This probably affects containerized workloads as
well. So it might be useful to raise awareness of this issue.


You are receiving this mail because: