Martin Schwidefsky
a940d7b23b
s390/ptrace: fix PSW mask check
...
commit dab6cf55f8 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 >
Cc: Ben Hutchings <ben@decadent.org.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-31 12:53:52 -07:00
..
2012-05-16 14:42:41 +02:00
2012-05-16 14:42:41 +02:00
2012-05-16 14:42:41 +02:00
2013-04-26 09:07:05 +02:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2012-10-18 17:50:11 +02:00
2012-07-20 11:15:04 +02:00
2013-03-03 23:00:27 -05:00
2013-03-03 23:00:27 -05:00
2011-01-05 12:47:31 +01:00
2013-04-17 14:07:35 +02:00
2013-05-09 14:53:20 -04:00
2012-07-20 11:15:04 +02:00
2013-05-03 14:21:15 +02:00
2013-02-26 20:16:07 -08:00
2011-05-10 17:13:43 +02:00
2013-05-07 14:11:55 +02:00
2013-06-05 17:36:20 +02:00
2013-05-02 15:50:26 +02:00
2012-07-20 11:15:04 +02:00
2013-10-13 16:08:34 -07:00
2013-04-17 14:07:30 +02:00
2013-10-13 16:08:34 -07:00
2013-05-15 13:09:09 +02:00
2012-10-09 14:16:59 +02:00
2014-02-22 12:41:26 -08:00
2012-10-18 17:50:09 +02:00
2012-11-23 11:14:31 +01:00
2013-06-24 11:16:34 +02:00
2013-06-19 09:25:41 +02:00
2011-10-25 11:54:37 -07:00
2013-02-27 19:10:24 -08:00
2012-09-26 15:45:12 +02:00
2013-04-15 13:34:44 +02:00
2013-05-02 15:50:22 +02:00
2013-05-15 13:09:09 +02:00
2013-05-15 13:09:09 +02:00
2013-02-28 09:37:13 +01:00
2013-02-14 15:55:10 +01:00
2013-04-29 15:42:01 -04:00
2013-02-14 15:55:15 +01:00
2012-03-30 09:41:12 +02:00
2012-11-23 11:14:25 +01:00
2013-04-08 17:39:27 +02:00
2012-09-26 15:45:03 +02:00
2014-07-31 12:53:52 -07:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2013-01-08 10:57:07 +01:00
2012-09-26 15:44:50 +02:00
2013-06-05 17:36:21 +02:00
2013-08-11 18:35:25 -07:00
2013-02-28 09:37:09 +01:00
2013-11-29 11:11:53 -08:00
2012-07-20 11:15:04 +02:00
2013-04-17 14:07:30 +02:00
2013-04-17 14:07:30 +02:00
2013-03-03 22:46:22 -05:00
2013-05-09 14:53:20 -04:00
2012-09-26 15:45:12 +02:00
2013-02-14 15:55:10 +01:00
2013-01-08 10:57:10 +01:00
2013-04-17 14:07:28 +02:00
2012-09-26 15:45:05 +02:00
2013-02-14 15:55:21 +01:00
2013-11-29 11:11:53 -08:00