summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-06-23 15:29:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-31 12:52:54 -0700
commit1967b156fd85702f52c5cffaaf7f8f03332ef49e (patch)
treef3fe323d1a6692e54c51888ecaa7fc19da06ce14 /lib
parentd073bb25909b610b3fd986fe87752120c4e6f04b (diff)
downloadlwn-1967b156fd85702f52c5cffaaf7f8f03332ef49e.tar.gz
lwn-1967b156fd85702f52c5cffaaf7f8f03332ef49e.zip
s390/ptrace: fix PSW mask check
commit dab6cf55f81a6e16b8147aed9a843e1691dcd318 upstream. The PSW mask check of the PTRACE_POKEUSR_AREA command is incorrect. The PSW_MASK_USER define contains the PSW_MASK_ASC bits, the ptrace interface accepts all combinations for the address-space-control bits. To protect the kernel space the PSW mask check in ptrace needs to reject the address-space-control bit combination for home space. Fixes CVE-2014-3534 Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions