From: Martin Schwidefsky Date: Mon, 23 Jun 2014 13:29:40 +0000 (+0200) Subject: s390/ptrace: fix PSW mask check X-Git-Tag: omap-for-v3.17/fixes-against-rc2~252^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab6cf55f81a6e16b8147aed9a843e1691dcd318;p=pandora-kernel.git s390/ptrace: fix PSW mask check 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 Cc: stable@vger.kernel.org Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed