Re: usercopy_warn in __copy_to_user

2018-12-19 Thread Kees Cook
On Wed, Dec 19, 2018 at 11:51 AM wrote: > > > In the 4.19 kernel, we are seeing a USERCOPY_WARN in __copy_to_user > during bootup. > The code-flow is something like this: > > (arch/arm64/kernel/signal.c) > struct sigset_t *set; > __copy_to_user(>uc.uc_sigmask, s

usercopy_warn in __copy_to_user

2018-12-19 Thread rishabhb
In the 4.19 kernel, we are seeing a USERCOPY_WARN in __copy_to_user during bootup. The code-flow is something like this: (arch/arm64/kernel/signal.c) struct sigset_t *set; __copy_to_user(>uc.uc_sigmask, set, sizeof(*set)) (include/linux/uaccess.h) __copy_to_user(void __user *to, const v