[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190506215737.cuugrrxbhkp2uknn@e107158-lin.cambridge.arm.com>
Date: Mon, 6 May 2019 22:57:37 +0100
From: Qais Yousef <qais.yousef@....com>
To: Joel Fernandes <joel@...lfernandes.org>
Cc: Will Deacon <will.deacon@....com>, linux-kernel@...r.kernel.org,
Michal Gregorczyk <michalgr@...e.com>,
Adrian Ratiu <adrian.ratiu@...labora.com>,
Mohammad Husain <russoue@...il.com>,
Srinivas Ramana <sramana@...eaurora.org>,
duyuchao <yuchao.du@...soc.com>,
Manjo Raja Rao <linux@...ojrajarao.com>,
Karim Yaghmour <karim.yaghmour@...rsys.com>,
Tamir Carmeli <carmeli.tamir@...il.com>,
Yonghong Song <yhs@...com>,
Alexei Starovoitov <ast@...nel.org>,
Brendan Gregg <brendan.d.gregg@...il.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Peter Ziljstra <peterz@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>,
Kees Cook <keescook@...omium.org>, kernel-team@...roid.com,
Daniel Borkmann <daniel@...earbox.net>,
Ingo Molnar <mingo@...hat.com>, netdev@...r.kernel.org,
Mark Rutland <mark.rutland@....com>
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
Powered by blists - more mailing lists