Messages in this thread | | | Date | Mon, 6 May 2019 22:57:37 +0100 | From | Qais Yousef <> | Subject | Re: [PATCH RFC] bpf: Add support for reading user pointers |
| |
On 05/06/19 16:58, Joel Fernandes wrote: > > If you're trying to dereference a pointer to userspace using > > probe_kernel_read(), that clearly isn't going to work. > > Ok. Thanks for confirming as well. The existing code has this bug and these > patches fix it.
5.1-rc7 and 4.9.173 stable both managed to read the path in do_sys_open() on my Juno-r2 board using the defconfig in the tree.
-- Qais Yousef
| |