Christoph Hellwig
e1df462cf0
BACKPORT: 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"]
Change-Id: I91f7ef83a3de5dde24787608ae2cbd2770de10ac
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 >
2025-10-17 15:45:04 +01:00
..
2025-08-31 10:10:00 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:12 +01:00
2025-09-02 08:35:50 +00:00
2025-10-05 09:11:31 +00:00
2025-10-16 21:01:06 +01:00
2025-09-30 21:35:03 +01:00
2025-09-22 10:17:52 +02:00
2025-10-16 21:01:13 +01:00
2025-08-28 03:28:47 +03:00
2025-08-28 03:28:38 +03:00
2025-09-30 21:35:04 +01:00
2025-08-28 03:27:57 +03:00
2025-08-28 03:28:11 +03:00
2025-09-08 01:34:41 -04:00
2025-09-08 01:35:16 -04:00
2025-08-28 03:29:06 +03:00
2025-08-28 03:28:07 +03:00
2025-09-30 21:35:04 +01:00
2025-08-28 03:29:12 +03:00
2025-10-16 21:01:10 +01:00
2025-09-02 08:35:50 +00:00
2025-10-05 09:11:31 +00:00
2025-08-31 10:09:52 +01:00
2025-09-30 21:35:04 +01:00
2025-10-16 21:01:10 +01:00
2025-08-31 10:09:52 +01:00
2025-10-16 21:01:16 +01:00
2025-09-30 21:35:03 +01:00
2025-10-17 15:32:06 +01:00
2025-09-30 21:35:04 +01:00
2025-09-16 13:55:16 +02:00
2025-10-08 14:18:53 +03:00
2025-09-02 08:35:50 +00:00
2025-09-30 21:35:04 +01:00
2025-10-16 21:01:06 +01:00
2025-09-30 21:35:04 +01:00
2025-09-30 21:35:04 +01:00
2025-09-30 21:35:03 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-09-30 21:35:04 +01:00
2025-09-02 08:35:50 +00:00
2025-10-16 21:01:10 +01:00
2025-08-28 03:28:51 +03:00
2025-09-30 21:35:04 +01:00
2025-09-08 01:35:15 -04:00
2025-09-08 01:35:15 -04:00
2025-09-02 08:35:50 +00:00
2025-09-08 01:35:14 -04:00
2025-09-30 21:35:04 +01:00
2025-09-08 01:34:41 -04:00
2025-10-17 15:32:07 +01:00
2025-09-30 21:35:04 +01:00
2025-10-17 15:32:07 +01:00
2025-08-31 23:56:41 +08:00
2025-09-08 01:35:16 -04:00
2025-09-30 21:35:02 +01:00
2025-09-22 10:17:51 +02:00
2025-09-30 21:35:03 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-10-05 09:11:31 +00:00
2025-09-30 21:35:04 +01:00
2025-10-17 15:32:06 +01:00
2025-09-30 21:35:04 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-09-16 13:55:10 +02:00
2025-09-02 08:35:50 +00:00
2025-08-31 10:09:54 +01:00
2025-08-28 03:28:51 +03:00
2025-09-30 21:35:04 +01:00
2025-09-30 21:35:04 +01:00
2025-10-16 21:01:12 +01:00
2025-09-08 01:35:15 -04:00
2025-09-30 21:35:04 +01:00
2025-10-05 09:11:31 +00:00
2025-08-28 03:28:57 +03:00
2025-08-28 03:28:07 +03:00
2025-08-28 03:28:08 +03:00
2025-08-28 03:28:56 +03:00
2025-09-30 21:35:04 +01:00
2025-10-16 21:01:06 +01:00
2025-10-16 21:01:06 +01:00
2025-09-02 08:35:50 +00:00
2025-09-02 08:35:50 +00:00
2025-10-17 15:45:04 +01:00
2025-08-28 03:28:09 +03:00
2025-09-02 08:35:50 +00:00
2025-08-28 03:28:30 +03:00
2025-10-16 21:01:10 +01:00
2025-08-31 10:10:02 +01:00
2025-09-30 21:35:04 +01:00
2025-08-28 03:29:03 +03:00