Thread (58 messages) 58 messages, 10 authors, 2019-06-25

Re: [PATCH V31 22/25] bpf: Restrict bpf when kernel lockdown is in confidentiality mode

From: Andy Lutomirski <luto@kernel.org>
Date: 2019-03-26 19:21:40
Also in: linux-security-module, lkml, netdev

On Tue, Mar 26, 2019 at 11:28 AM Matthew Garrett
[off-list ref] wrote:
From: David Howells <dhowells@redhat.com>

There are some bpf functions can be used to read kernel memory:
bpf_probe_read, bpf_probe_write_user and bpf_trace_printk.  These allow
private keys in kernel memory (e.g. the hibernation image signing key) to
be read by an eBPF program and kernel memory to be altered without
restriction. Disable them if the kernel has been locked down in
confidentiality mode.
:)

This is yet another reason to get the new improved bpf_probe_user_read
stuff landed!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help