From: Martin Schwidefsky Date: Mon, 23 Jun 2014 12:43:06 +0000 (+0200) Subject: s390/ptrace: fix PSW mask check X-Git-Tag: v3.2.64~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=438127dd5b66029f904e96900d0f90b1c5a80bf9;p=pandora-kernel.git s390/ptrace: fix PSW mask check commit dab6cf55f81a6e16b8147aed9a843e1691dcd318 upstream. The PSW mask check of the PTRACE_POKEUSR_AREA command is incorrect. For the default user_mode=home address space layout the psw_user_bits variable has the home space address-space-control bits set. But the PSW_MASK_USER contains PSW_MASK_ASC, the ptrace validity check for the PSW mask will therefore always fail. Fixes CVE-2014-3534 Signed-off-by: Martin Schwidefsky Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed