Jann Horn
a0341fc198
ibmasm: don't write out of bounds in read handler
...
This read handler had a lot of custom logic and wrote outside the bounds of
the provided buffer. This could lead to kernel and userspace memory
corruption. Just use simple_read_from_buffer() with a stack buffer.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-07 09:59:35 +02:00
..
2018-06-12 16:19:22 -07:00
2017-11-15 18:21:04 -08:00
2018-04-05 14:27:02 -07:00
2018-06-06 11:15:43 -07:00
2018-06-12 16:19:22 -07:00
2018-03-26 15:56:37 +02:00
2018-06-14 16:21:46 +09:00
2018-06-12 16:19:22 -07:00
2018-07-07 09:59:35 +02:00
2018-02-11 14:34:03 -08:00
2018-03-06 19:18:55 -08:00
2018-07-03 13:13:07 +02:00
2018-03-15 18:12:01 +01:00
2018-06-05 21:33:57 +10:00
2018-06-05 16:20:22 -07:00
2018-06-12 16:19:22 -07:00
2018-04-23 13:31:27 +02:00
2018-06-12 16:19:22 -07:00
2017-12-18 16:02:26 +01:00
2017-12-18 15:59:17 +01:00
2017-12-18 16:02:26 +01:00
2017-08-28 16:55:49 +02:00
2018-03-15 18:20:51 +01:00
2017-07-17 17:23:16 +02:00
2016-12-15 12:13:31 +00:00
2017-08-28 16:55:48 +02:00
2018-01-09 17:03:57 +01:00
2017-04-20 12:02:32 +01:00
2017-12-07 18:45:31 +01:00
2018-01-09 17:03:57 +01:00
2017-08-28 16:55:49 +02:00
2018-02-11 14:34:03 -08:00
2017-12-07 18:45:31 +01:00
2018-05-14 16:35:42 +02:00
2018-05-14 16:35:42 +02:00
2017-12-18 16:00:57 +01:00
2017-08-28 16:55:48 +02:00
2017-12-07 18:45:31 +01:00
2017-08-28 16:55:49 +02:00
2018-05-14 16:35:42 +02:00
2018-01-25 08:40:17 -06:00
2018-05-14 16:35:42 +02:00
2017-08-28 16:55:48 +02:00
2018-06-06 16:10:30 -05:00
2018-02-11 14:34:03 -08:00
2017-12-17 12:52:34 +01:00
2016-05-01 14:20:04 -07:00
2017-05-18 17:37:52 +02:00
2018-06-12 16:19:22 -07:00
2017-01-25 11:48:03 +01:00
2018-04-23 13:31:27 +02:00
2017-04-08 18:22:59 +02:00
2018-06-06 11:15:43 -07:00
2018-07-03 12:58:23 +02:00