BUG: kernel NULL pointer dereference, address: 0000000000000082 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3929 Comm: systemd-udevd Not tainted 5.9.0-rc6-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 77 <00> 70 07 00 00 00 00 85 73 02 00 00 8b 45 4c 48 8d 7b 48 48 89 fa RSP: 0018:ffffc90000da8bf0 EFLAGS: 00010006 RAX: 000000000000007b 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: 00007f39324618c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000082 CR3: 000000009fa11000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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_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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4b/0x80 kernel/locking/spinlock.c:199 Code: c0 f8 6b fc 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 46 92 d3 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 1b 1b 28 f9 65 8b 05 b4 24 d9 77 85 c0 74 02 5d RSP: 0018:ffffc90005177640 EFLAGS: 00000282 RAX: 1ffffffff13f8d7f RBX: ffff88809fb44340 RCX: 1ffffffff16b2571 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffff8880ae535e00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae535e00 R13: ffff8880a0520400 R14: ffff88808eeb3440 R15: 0000000000000402 finish_lock_switch kernel/sched/core.c:3517 [inline] finish_task_switch+0x150/0x790 kernel/sched/core.c:3617 context_switch kernel/sched/core.c:3781 [inline] __schedule+0xed1/0x2280 kernel/sched/core.c:4527 preempt_schedule_irq+0xbf/0x1b0 kernel/sched/core.c:4785 irqentry_exit_cond_resched kernel/entry/common.c:358 [inline] irqentry_exit_cond_resched kernel/entry/common.c:350 [inline] irqentry_exit+0x65/0x90 kernel/entry/common.c:388 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:tomoyo_domain_quota_is_ok+0x2fa/0x550 security/tomoyo/util.c:1071 Code: ec fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 bc 01 00 00 00 31 db e8 9f 40 ec fd 89 d9 44 89 e0 31 ff d3 f8 <83> e0 01 41 89 c7 89 c6 e8 e9 3c ec fd 45 85 ff 74 09 e8 7f 40 ec RSP: 0018:ffffc90005177870 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 RDX: ffff88809fb44340 RSI: ffffffff8389fda1 RDI: 0000000000000000 RBP: ffff888099a44180 R08: 0000000000000001 R09: ffffffff8d5f79c7 R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000167 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_supervisor+0x2f2/0xef0 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1278 vfs_getattr fs/stat.c:121 [inline] vfs_statx+0x170/0x390 fs/stat.c:206 vfs_lstat include/linux/fs.h:3178 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:374 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f39312d4335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff11c79078 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000563988743a90 RCX: 00007f39312d4335 RDX: 00007fff11c790b0 RSI: 00007fff11c790b0 RDI: 0000563988742a90 RBP: 00007fff11c79170 R08: 00007f3931593258 R09: 0000000000001010 R10: 00007f3931592b58 R11: 0000000000000246 R12: 0000563988742a90 R13: 0000563988742ab5 R14: 000056398872baf4 R15: 000056398872baf5 Modules linked in: CR2: 0000000000000082 ---[ end trace 4d79ca7170fb34a2 ]--- 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 77 <00> 70 07 00 00 00 00 85 73 02 00 00 8b 45 4c 48 8d 7b 48 48 89 fa RSP: 0018:ffffc90000da8bf0 EFLAGS: 00010006 RAX: 000000000000007b 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: 00007f39324618c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000082 CR3: 000000009fa11000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600