general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 6779 Comm: agetty Not tainted 5.9.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:update_pvclock_gtod arch/x86/kvm/x86.c:1741 [inline] RIP: 0010:pvclock_gtod_notify+0xa7/0x570 arch/x86/kvm/x86.c:7449 Code: 31 c9 31 c9 ff 74 24 10 31 f6 41 b8 01 00 00 00 48 c7 c7 a8 20 eb 8b e8 f7 87 4e 00 48 89 da 58 48 b8 00 00 00 00 00 fc ff df <48> 00 00 00 00 00 00 00 00 85 65 04 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000da8be8 EFLAGS: 00010082 RAX: dffffc0000000000 RBX: ffffffff8c975980 RCX: ffffffff815a184b RDX: ffffffff8c975980 RSI: 0000000000000001 RDI: 0000000000000082 RBP: 0000000000010001 R08: 0000000000000000 R09: ffffffff8c5f5a1f R10: fffffbfff18beb43 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff89ae98e0 FS: 00007fbab3df4500(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eb4db31f0 CR3: 00000000929da000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 update_pvclock_gtod kernel/time/timekeeping.c:581 [inline] timekeeping_update+0x28a/0x4a0 kernel/time/timekeeping.c:675 timekeeping_advance+0x6ad/0xa40 kernel/time/timekeeping.c:2122 tick_do_update_jiffies64.part.0+0x1ec/0x330 kernel/time/tick-sched.c:101 tick_do_update_jiffies64 kernel/time/tick-sched.c:64 [inline] tick_sched_do_timer kernel/time/tick-sched.c:147 [inline] tick_sched_timer+0x236/0x2a0 kernel/time/tick-sched.c:1321 __run_hrtimer kernel/time/hrtimer.c:1524 [inline] __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1588 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1650 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline] __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] sysvec_apic_timer_interrupt+0xb2/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:unwind_get_return_address+0x28/0x90 arch/x86/kernel/unwind_orc.c:318 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 48 c1 ea 03 53 48 89 fb 0f b6 04 02 84 c0 74 04 3c 03 7e 51 8b 03 85 c0 75 05 <5b> 31 c0 5d c3 48 8d 6b 48 48 b8 00 00 00 00 00 fc ff df 48 89 ea RSP: 0018:ffffc90004db77f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90004db7810 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffffff89bd6a40 RDI: 0000000000000282 RBP: ffffc90004db7858 R08: 0000000000000001 R09: ffff88808fb86a20 R10: fffffbfff1564d71 R11: 0000000000000001 R12: ffffc90004db78c8 R13: 0000000000000000 R14: ffff88808fb86140 R15: 0000000000001000 arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xbf/0xd0 mm/kasan/common.c:461 __do_kmalloc mm/slab.c:3655 [inline] __kmalloc+0x1b0/0x310 mm/slab.c:3664 kmalloc include/linux/slab.h:559 [inline] tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1cb/0x4d0 security/tomoyo/file.c:723 security_file_ioctl+0x50/0xb0 security/security.c:1480 __do_sys_ioctl fs/ioctl.c:747 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fbab39176ea Code: c2 0f 87 09 01 00 00 41 09 c0 0f 85 78 ff ff ff 4c 8b 05 a1 87 2b 00 48 89 ea be 01 54 00 00 4c 89 d7 89 d8 64 45 8b 20 0f 05 <48> 3d 00 f0 ff ff 0f 87 aa 00 00 00 85 c0 0f 85 a2 00 00 00 8b 4c RSP: 002b:00007ffd832443b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fbab39176ea RDX: 00007ffd83244350 RSI: 0000000000005401 RDI: 0000000000000000 RBP: 00007ffd83244350 R08: ffffffffffffff98 R09: 00007ffd83244480 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00005644433b6900 R14: 00007ffd83244440 R15: 000000000000000a Modules linked in: ---[ end trace 12c353744e403754 ]--- RIP: 0010:update_pvclock_gtod arch/x86/kvm/x86.c:1741 [inline] RIP: 0010:pvclock_gtod_notify+0xa7/0x570 arch/x86/kvm/x86.c:7449 Code: 31 c9 31 c9 ff 74 24 10 31 f6 41 b8 01 00 00 00 48 c7 c7 a8 20 eb 8b e8 f7 87 4e 00 48 89 da 58 48 b8 00 00 00 00 00 fc ff df <48> 00 00 00 00 00 00 00 00 85 65 04 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000da8be8 EFLAGS: 00010082 RAX: dffffc0000000000 RBX: ffffffff8c975980 RCX: ffffffff815a184b RDX: ffffffff8c975980 RSI: 0000000000000001 RDI: 0000000000000082 RBP: 0000000000010001 R08: 0000000000000000 R09: ffffffff8c5f5a1f R10: fffffbfff18beb43 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff89ae98e0 FS: 00007fbab3df4500(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eb4db31f0 CR3: 00000000929da000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400