Christoph Hellwig
98a23609b1
maccess: always use strict semantics for probe_kernel_read
...
Except for historical confusion in the kprobes/uprobes and bpf tracers,
which has been fixed now, there is no good reason to ever allow user
memory accesses from probe_kernel_read. Switch probe_kernel_read to only
read from kernel memory.
[akpm@linux-foundation.org: update it for "mm, dump_page(): do not crash with invalid mapping pointer"]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200521152301.2587579-17-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2020-06-09 09:39:15 -07:00
..
2020-06-01 23:32:35 +02:00
2020-06-01 13:22:53 +02:00
2020-06-07 10:59:32 -07:00
2020-06-04 19:56:20 -07:00
2020-06-03 10:48:37 +02:00
2020-06-04 20:11:25 -07:00
2020-06-05 14:05:57 -07:00
2020-06-05 14:05:57 -07:00
2020-06-05 14:00:30 -07:00
2020-06-05 15:11:50 -07:00
2020-05-29 14:36:03 +01:00
2020-06-09 09:39:14 -07:00
2020-06-07 16:13:43 -07:00
2020-06-04 19:18:29 -07:00
2020-06-02 19:59:25 -07:00
2020-06-04 19:06:25 -07:00
2020-05-29 10:23:25 -06:00
2020-06-01 15:21:03 -07:00
2020-06-01 14:38:22 -07:00
2020-06-01 15:21:03 -07:00
2020-06-01 15:08:04 -07:00
2020-06-02 10:59:08 -07:00
2020-06-03 20:24:15 -07:00
2020-06-01 15:18:27 -07:00
2020-06-01 12:45:04 -07:00
2020-06-01 10:15:16 +02:00
2020-06-07 10:59:32 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-08 11:05:56 -07:00
2020-06-01 16:44:06 -07:00
2020-06-05 14:59:41 -04:00
2020-06-02 15:04:15 -07:00
2020-06-06 11:55:53 -07:00
2020-06-09 09:39:13 -07:00
2020-06-08 11:05:56 -07:00
2020-05-29 10:23:24 -06:00
2020-06-04 19:06:25 -07:00
2020-06-05 13:17:05 -07:00
2020-06-03 23:16:55 -04:00
2020-06-03 16:27:18 -07:00
2020-06-09 09:39:14 -07:00
2020-06-02 15:37:03 -07:00
2020-06-03 20:09:45 -07:00
2020-06-04 19:06:22 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:13 -07:00
2020-06-02 20:58:55 +10:00
2020-05-31 17:48:46 -07:00
2020-05-29 15:11:43 +02:00
2020-06-09 09:39:13 -07:00
2020-06-05 16:19:28 -07:00
2020-06-08 11:42:23 -07:00
2020-06-07 10:59:32 -07:00
2020-06-08 11:05:56 -07:00
2020-06-02 12:34:45 +02:00
2020-06-09 09:39:10 -07:00
2020-06-09 09:39:13 -07:00
2020-06-02 15:15:46 +01:00
2020-06-08 11:05:56 -07:00
2020-05-30 10:34:03 -07:00
2020-06-01 04:26:07 -04:00
2020-06-04 14:07:08 -07:00
2020-06-04 14:07:08 -07:00
2020-06-03 20:09:49 -07:00
2020-06-03 20:09:49 -07:00
2020-06-04 19:06:23 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-03 20:24:15 -07:00
2020-06-06 11:30:00 -07:00
2020-06-04 11:13:03 -07:00
2020-06-02 10:59:07 -07:00
2020-06-08 11:05:56 -07:00
2020-06-08 11:05:56 -07:00
2020-06-05 20:02:08 -04:00
2020-06-03 20:09:45 -07:00
2020-06-02 10:59:09 -07:00
2020-06-09 09:39:14 -07:00
2020-06-04 12:59:16 -05:00
2020-06-08 12:05:31 -07:00
2020-06-03 16:27:18 -07:00
2020-06-09 09:39:14 -07:00
2020-06-04 13:54:34 -07:00
2020-05-29 18:03:12 +02:00
2020-06-08 11:05:56 -07:00
2020-06-04 13:54:34 -07:00
2020-06-07 10:53:36 -07:00
2020-05-31 19:49:00 -07:00
2020-05-30 10:34:03 -07:00
2020-05-31 19:49:00 -07:00
2020-05-30 10:34:03 -07:00
2020-06-02 10:59:10 -07:00
2020-06-04 13:54:34 -07:00
2020-06-01 11:35:18 -07:00
2020-06-09 09:39:14 -07:00
2020-06-04 19:06:20 -07:00
2020-06-04 14:07:08 -07:00
2020-06-04 19:06:26 -07:00
2020-06-02 11:50:23 -07:00
2020-06-01 14:48:32 -07:00
2020-06-03 13:06:42 -07:00
2020-06-03 20:09:42 -07:00
2020-06-03 20:09:49 -07:00
2020-06-08 11:05:56 -07:00
2020-06-04 15:50:42 -07:00
2020-06-09 09:39:15 -07:00
2020-06-03 20:09:48 -07:00
2020-06-02 10:59:12 -07:00
2020-06-03 20:24:15 -07:00
2020-06-01 11:02:28 -04:00
2020-06-05 16:19:28 -07:00
2020-06-08 11:05:56 -07:00
2020-06-02 10:59:10 -07:00