Kees Cook
b5b38200eb
/dev/mem: Avoid overwriting "err" in read_mem()
...
Successes in probe_kernel_read() would mask failures in copy_to_user()
during read_mem().
Reported-by: Brad Spengler <spender@grsecurity.net>
Fixes: 22ec1a2aea73 ("/dev/mem: Add bounce buffer for copy-out")
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-28 13:23:54 +02:00
..
2018-02-06 09:59:40 -08:00
2018-02-14 17:02:15 -08:00
2018-02-11 14:34:03 -08:00
2017-07-17 17:23:16 +02:00
2018-02-11 14:34:03 -08:00
2018-02-26 15:43:46 -08:00
2017-08-28 17:04:47 +02:00
2018-03-14 19:13:47 +01:00
2018-02-11 14:34:03 -08:00
2017-08-28 17:11:28 +02:00
2017-11-02 11:10:55 +01:00
2016-12-24 11:46:01 -08:00
2017-11-02 11:10:55 +01:00
2016-12-24 11:46:01 -08:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2015-09-20 19:32:35 -07:00
2016-12-24 11:46:01 -08:00
2017-11-21 15:57:05 -08:00
2018-02-11 14:34:03 -08:00
2018-03-15 18:01:42 +01:00
2018-01-25 10:56:02 +01:00
2017-11-02 11:10:55 +01:00
2016-12-24 11:46:01 -08:00
2018-03-28 13:23:54 +02:00
2017-11-02 11:10:55 +01:00
2017-03-23 13:57:19 +01:00
2016-12-24 11:46:01 -08:00
2016-02-08 14:57:30 -08:00
2017-11-21 15:57:05 -08:00
2017-11-21 15:57:05 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-06-29 17:33:46 +10:00
2018-02-11 14:34:03 -08:00
2016-01-22 18:04:28 -05:00
2018-02-11 14:34:03 -08:00
2016-12-24 11:46:01 -08:00
2018-02-11 14:34:03 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2016-10-05 18:36:18 -04:00
2016-11-10 15:18:56 +01:00
2017-10-05 15:01:18 +02:00
2016-12-24 11:46:01 -08:00
2016-09-13 17:30:17 +02:00
2018-02-11 14:34:03 -08:00