Re: [PATCH V36 23/29] bpf: Restrict bpf when kernel lockdown is in confidentiality mode

From
Matthew Garrett <hidden>
Date
2019-07-29 21:47:18
Also in
linux-api, lkml, netdev
Reply to
Matthew Garrett, 2019-07-18
On Thu, Jul 18, 2019 at 12:45 PM Matthew Garrett
[off-list ref] wrote:
bpf_read() and bpf_read_str() could potentially be abused to (eg) allow
private keys in kernel memory to be leaked. Disable them if the kernel
has been locked down in confidentiality mode.

Suggested-by: Alexei Starovoitov <redacted>
Signed-off-by: Matthew Garrett <redacted>
cc: <redacted>
cc: Chun-Yi Lee <jlee@suse.com>
cc: Alexei Starovoitov <redacted>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Any further feedback on this?
Thread (39 messages) 39 messages, 5 authors, last reply 2019-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help