BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 0 P4D 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 163 Comm: udevd Not tainted 5.4.274-syzkaller-00016-gdd432c37afcd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09d18 EFLAGS: 00010206 RAX: ffffffff8154d7aa RBX: 0000000000000100 RCX: ffff8881edb68000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e00971c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffa248 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e00971c0 FS: 00007fe5f11bbc80(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001ed738000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:102 [inline] RIP: 0010:unwind_next_frame+0x1771/0x1ea0 arch/x86/kernel/unwind_orc.c:603 Code: 00 c6 05 8a c2 19 05 01 48 c7 c7 00 b1 a6 84 48 8b 74 24 58 e9 87 00 00 00 bf 01 00 00 00 e8 86 0d 15 00 65 8b 0d cb b7 d2 7e 01 85 c9 0f 84 42 02 00 00 48 8b 9c 24 88 00 00 00 e9 d5 00 00 RSP: 0018:ffff8881ec95f220 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13 RAX: 0000000080000001 RBX: ffff8881ec95f630 RCX: 0000000080000000 RDX: ffff8881ec95f660 RSI: ffff8881ec95f1a0 RDI: 0000000000000001 RBP: ffff8881ec95f510 R08: dffffc0000000000 R09: ffff8881ec95f670 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0cf60c5 R13: ffffffff867b062b R14: ffff8881ec95f6c0 R15: ffff8881ec958000 __unwind_start+0x708/0x890 arch/x86/kernel/unwind_orc.c:691 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdd/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] kasan_set_free_info mm/kasan/common.c:345 [inline] __kasan_slab_free+0x1b5/0x270 mm/kasan/common.c:487 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1494 [inline] slab_free mm/slub.c:3080 [inline] kmem_cache_free+0x10b/0x2c0 mm/slub.c:3096 putname fs/namei.c:262 [inline] filename_lookup+0x50e/0x6e0 fs/namei.c:2432 user_path_at include/linux/namei.h:49 [inline] vfs_statx+0x115/0x210 fs/stat.c:187 vfs_fstatat include/linux/fs.h:3380 [inline] __do_sys_newfstatat fs/stat.c:367 [inline] __se_sys_newfstatat+0xce/0x770 fs/stat.c:361 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fe5f12e65f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffcd29a4db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055e134cc1770 RCX: 00007fe5f12e65f4 RDX: 00007ffcd29a4dc8 RSI: 00007ffcd29a5258 RDI: 00000000ffffff9c RBP: 00007ffcd29a4e58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcd29a5258 R13: 00007ffcd29a4dc8 R14: 000055e134c902c0 R15: 0000000000000000 Modules linked in: CR2: 0000000000000000 ---[ end trace 10218e5430a08223 ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09d18 EFLAGS: 00010206 RAX: ffffffff8154d7aa RBX: 0000000000000100 RCX: ffff8881edb68000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e00971c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffa248 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e00971c0 FS: 00007fe5f11bbc80(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001ed738000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 00 c6 add %al,%dh 2: 05 8a c2 19 05 add $0x519c28a,%eax 7: 01 48 c7 add %ecx,-0x39(%rax) a: c7 00 b1 a6 84 48 movl $0x4884a6b1,(%rax) 10: 8b 74 24 58 mov 0x58(%rsp),%esi 14: e9 87 00 00 00 jmp 0xa0 19: bf 01 00 00 00 mov $0x1,%edi 1e: e8 86 0d 15 00 call 0x150da9 23: 65 8b 0d cb b7 d2 7e mov %gs:0x7ed2b7cb(%rip),%ecx # 0x7ed2b7f5 * 2a: b0 01 mov $0x1,%al <-- trapping instruction 2c: 85 c9 test %ecx,%ecx 2e: 0f 84 42 02 00 00 je 0x276 34: 48 8b 9c 24 88 00 00 mov 0x88(%rsp),%rbx 3b: 00 3c: e9 .byte 0xe9 3d: d5 (bad)