BUG: kernel NULL pointer dereference, address: 0000000000000004 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 8dc89067 P4D 8dc89067 PUD 93cb9067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15694 Comm: syz-executor.0 Not tainted 5.9.0-rc7-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:1750 [inline] RIP: 0010:pvclock_gtod_notify+0x241/0x570 arch/x86/kvm/x86.c:7466 Code: f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 38 48 8d 7d 4c 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 00 <00> 00 00 08 84 d2 0f 85 73 02 00 00 8b 45 4c 48 8d 7b 48 48 89 fa RSP: 0018:ffffc90000007bf0 EFLAGS: 00010002 RAX: 0000000000000004 RBX: ffffffff8d440980 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff89f7718c RBP: ffffffff89f77140 R08: 0000000000000000 R09: ffffffff8d0c0a1f R10: fffffbfff1a18143 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff89f02dc0 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000004 CR3: 00000000932b3000 CR4: 00000000001526f0 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+0x334/0x940 kernel/time/hrtimer.c:1650 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline] __sysvec_apic_timer_interrupt+0x147/0x5f0 arch/x86/kernel/apic/apic.c:1097 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [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:__sanitizer_cov_trace_const_cmp8+0x0/0x20 kernel/kcov.c:291 Code: 66 2e 0f 1f 84 00 00 00 00 00 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 ae fe ff ff 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 <48> 8b 0c 24 48 89 f2 48 89 fe bf 07 00 00 00 e9 8c fe ff ff 66 90 RSP: 0018:ffffc9000884f750 EFLAGS: 00000246 RAX: dead000000000100 RBX: 00000000f77be000 RCX: ffffffff81a6c07b RDX: ffff88804e2643c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88820d540de8 R08: 0000000000000000 R09: ffff88804e2643c7 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea00023814c0 R14: dffffc0000000000 R15: ffffea00023814c0 compound_head include/linux/page-flags.h:184 [inline] PageSwapBacked include/linux/page-flags.h:348 [inline] mm_counter_file include/linux/mm.h:1904 [inline] mm_counter include/linux/mm.h:1913 [inline] zap_pte_range mm/memory.c:1281 [inline] zap_pmd_range mm/memory.c:1386 [inline] zap_pud_range mm/memory.c:1415 [inline] zap_p4d_range mm/memory.c:1436 [inline] unmap_page_range+0xe69/0x2a30 mm/memory.c:1457 unmap_single_vma+0x198/0x300 mm/memory.c:1502 unmap_vmas+0x168/0x2e0 mm/memory.c:1534 exit_mmap+0x2b1/0x530 mm/mmap.c:3183 __mmput+0x122/0x470 kernel/fork.c:1077 mmput+0x53/0x60 kernel/fork.c:1098 exit_mm kernel/exit.c:483 [inline] do_exit+0xa8b/0x29f0 kernel/exit.c:793 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x428/0x1f00 kernel/signal.c:2757 arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x1ae/0x200 kernel/entry/common.c:192 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:267 __do_fast_syscall_32+0x6c/0x90 arch/x86/entry/common.c:138 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fad549 Code: Bad RIP value. RSP: 002b:00000000f55a712c EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 RAX: 0000000000000001 RBX: 0000000008babfac RCX: 0000000000000081 RDX: 00000000000f4240 RSI: 0000000008babfa0 RDI: 0000000008babfac RBP: 00000000f55a7228 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: 0000000000000004 ---[ end trace cea8ef5bc75eaa65 ]--- RIP: 0010:update_pvclock_gtod arch/x86/kvm/x86.c:1750 [inline] RIP: 0010:pvclock_gtod_notify+0x241/0x570 arch/x86/kvm/x86.c:7466 Code: f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 38 48 8d 7d 4c 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 00 <00> 00 00 08 84 d2 0f 85 73 02 00 00 8b 45 4c 48 8d 7b 48 48 89 fa RSP: 0018:ffffc90000007bf0 EFLAGS: 00010002 RAX: 0000000000000004 RBX: ffffffff8d440980 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff89f7718c RBP: ffffffff89f77140 R08: 0000000000000000 R09: ffffffff8d0c0a1f R10: fffffbfff1a18143 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff89f02dc0 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000004 CR3: 00000000932b3000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400