Re: linux-next boot error: general protection fault in __x64_sys_settimeofday

From: Thomas Gleixner
Date: Thu Nov 14 2019 - 10:02:13 EST


On Thu, 14 Nov 2019, Dmitry Vyukov wrote:
> On Thu, Nov 14, 2019 at 1:35 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Looks like a plain user memory access:
>
> SYSCALL_DEFINE2(settimeofday, struct __kernel_old_timeval __user *, tv,
> struct timezone __user *, tz)
> {
> ....
> if (tv->tv_usec > USEC_PER_SEC) // <==== HERE
> return -EINVAL;

Bah, I looked at a stale next ....