Skip to content

s390/vdso: add vdso randomization

Rafael Aquini requested to merge raquini/centos-stream-9:bz2094972 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2094972

The VDSO implementation for s390 was missing the randomization
for the placement of this special mapping within the address space,
which was causing the regression tests for CVE-2014-9585 (x86) to
trigger. Upstream has recently added the randomization feature for
the VDSO mapping in s390 and this series cherry-picks it for RHEL9

Rafael Aquini (3):
s390/vdso: move vdso mapping to its own function
s390/vdso: map vdso above stack
s390/vdso: add vdso randomization

arch/s390/include/asm/processor.h | 8 +++--
arch/s390/kernel/vdso.c | 55 ++++++++++++++++++++++++++++---
2 files changed, 55 insertions(+), 8 deletions(-)

Signed-off-by: Rafael Aquini aquini@redhat.com

Merge request reports