Re: [PATCH bpf-next 2/2] bpf: sanitize BTF data pointer after module is loaded

2020-11-20 Thread Jessica Yu
Yu Fixes: 36e68442d1af ("bpf: Load and verify kernel module BTFs") Cc: Greg Kroah-Hartman Signed-off-by: Andrii Nakryiko Thanks, Andrii! Acked-by: Jessica Yu --- kernel/module.c | 5 + 1 file changed, 5 insertions(+) diff --git a/kernel/module.c b/kernel/module.c index f2

Re: [PATCH v4 bpf-next 4/5] bpf: load and verify kernel module BTFs

2020-11-13 Thread Jessica Yu
+++ Andrii Nakryiko [11/11/20 12:11 -0800]: On Wed, Nov 11, 2020 at 2:13 AM Jessica Yu wrote: +++ Andrii Nakryiko [09/11/20 17:19 -0800]: [snipped] >diff --git a/kernel/module.c b/kernel/module.c >index a4fa44a652a7..f2996b02ab2e 100644 >--- a/kernel/module.c >+++ b/kernel/module.

Re: [PATCH v4 bpf-next 4/5] bpf: load and verify kernel module BTFs

2020-11-11 Thread Jessica Yu
+++ Andrii Nakryiko [09/11/20 17:19 -0800]: [snipped] diff --git a/kernel/module.c b/kernel/module.c index a4fa44a652a7..f2996b02ab2e 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -380,6 +380,35 @@ static void *section_objs(const struct load_info *info, return (void *)info->sechdr

Re: [PATCH 3/5] module: Do not expose section addresses to non-CAP_SYSLOG

2020-07-08 Thread Jessica Yu
r consistency. Cc: sta...@vger.kernel.org Reported-by: Dominik Czarnota Fixes: be71eda5383f ("module: Fix display of wrong module .text address") Signed-off-by: Kees Cook Tested-by: Jessica Yu Acked-by: Jessica Yu

Re: [PATCH 2/5] module: Refactor section attr into bin attribute

2020-07-08 Thread Jessica Yu
ember. Cc: sta...@vger.kernel.org Signed-off-by: Kees Cook Hi Kees, This looks good to me: Tested-by: Jessica Yu Acked-by: Jessica Yu Thanks!

Re: [PATCH v2 01/15] taint: add module firmware crash taint support

2020-05-19 Thread Jessica Yu
+++ Luis Chamberlain [15/05/20 21:28 +]: Device driver firmware can crash, and sometimes, this can leave your system in a state which makes the device or subsystem completely useless. Detecting this by inspecting /proc/sys/kernel/tainted instead of scraping some magical words from the kernel

Re: [PATCH v9 RESEND 0/4] KASLR feature to randomize each loadable module

2018-12-16 Thread Jessica Yu
+++ Edgecombe, Rick P [12/12/18 23:05 +]: On Wed, 2018-11-28 at 01:40 +, Edgecombe, Rick P wrote: On Tue, 2018-11-27 at 11:21 +0100, Daniel Borkmann wrote: > On 11/27/2018 01:19 AM, Edgecombe, Rick P wrote: > > On Mon, 2018-11-26 at 16:36 +0100, Jessica Yu wrote: >