BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.2/10188 caller is hrtimer_hres_active kernel/time/hrtimer.c:652 [inline] caller is clock_was_set+0xe/0xf0 kernel/time/hrtimer.c:885 CPU: 1 PID: 10188 Comm: syz-executor.2 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:105 check_preemption_disabled+0xc8/0xd0 lib/smp_processor_id.c:49 hrtimer_hres_active kernel/time/hrtimer.c:652 [inline] clock_was_set+0xe/0xf0 kernel/time/hrtimer.c:885 timekeeping_inject_offset+0x363/0x540 kernel/time/timekeeping.c:1375 do_adjtimex+0x1ad/0x730 kernel/time/timekeeping.c:2406 do_clock_adjtime kernel/time/posix-timers.c:1109 [inline] __do_sys_clock_adjtime+0x11a/0x1f0 kernel/time/posix-timers.c:1121 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdfd1ab3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe479f291f R14: 00007fdfd1ab3300 R15: 0000000000022000 BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.2/10188 caller is hrtimer_hres_active kernel/time/hrtimer.c:652 [inline] caller is clock_was_set+0xe/0xf0 kernel/time/hrtimer.c:885 CPU: 1 PID: 10188 Comm: syz-executor.2 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:105 check_preemption_disabled+0xc8/0xd0 lib/smp_processor_id.c:49 hrtimer_hres_active kernel/time/hrtimer.c:652 [inline] clock_was_set+0xe/0xf0 kernel/time/hrtimer.c:885 timekeeping_inject_offset+0x363/0x540 kernel/time/timekeeping.c:1375 do_adjtimex+0x1ad/0x730 kernel/time/timekeeping.c:2406 do_clock_adjtime kernel/time/posix-timers.c:1109 [inline] __do_sys_clock_adjtime+0x11a/0x1f0 kernel/time/posix-timers.c:1121 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdfd1ab3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe479f291f R14: 00007fdfd1ab3300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W