Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 15 Feb 2019 09:55:32 -0800 | Subject | Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault |
| |
On Fri, Feb 15, 2019 at 9:49 AM Steven Rostedt <rostedt@goodmis.org> wrote: > > From: Changbin Du <changbin.du@gmail.com> > > The userspace can ask kprobe to intercept strings at any memory address, > including invalid kernel address.
Again, this is not about a "kernel address" at all.
It's neither a kernel address _nor_ a user address. It's an invalid address entirely, and there is nothing that makes it "kernel".
Please don't talk about "invalid kernel addresses" when it is no such thing.
Linus
| |