BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1f0e5b067 P4D 1f0e5b067 PUD 1e1358067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1382 Comm: syz-executor.4 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #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: ffff8881dd8e2f40 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e52431c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9cd0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e52431c0 FS: 00007f8f551f26c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d1550000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:security_bpf+0x35/0xa0 security/security.c:2412 Code: 89 d6 49 89 f7 41 89 fc 49 bd 00 00 00 00 00 fc ff df e8 1e a3 5b ff 48 c7 c3 a0 33 63 85 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 11 88 8b ff 48 8b 1b 48 85 db 74 31 48 8d 6b 18 RSP: 0018:ffff8881dea8f8e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff0ac6674 RBX: ffffffff856333a0 RCX: 0000000000040000 RDX: ffffc90000741000 RSI: 00000000000017f4 RDI: 00000000000017f5 RBP: ffff8881dea8ff10 R08: ffffffff816eb18f R09: ffff8881dea8fe30 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881dea8fe30 __do_sys_bpf kernel/bpf/syscall.c:2867 [inline] __se_sys_bpf+0x312/0xbcb0 kernel/bpf/syscall.c:2849 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f8f55e990a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8f551f20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8f55fd0050 RCX: 00007f8f55e990a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000011 RBP: 00007f8f55f08074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8f55fd0050 R15: 00007ffde95217d8 Modules linked in: CR2: 0000000000000000 ---[ end trace 6b2b1108534184b6 ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09d18 EFLAGS: 00010206 RAX: ffffffff8154d7aa RBX: 0000000000000100 RCX: ffff8881dd8e2f40 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e52431c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9cd0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e52431c0 FS: 00007f8f551f26c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d1550000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 d6 mov %edx,%esi 2: 49 89 f7 mov %rsi,%r15 5: 41 89 fc mov %edi,%r12d 8: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 f: fc ff df 12: e8 1e a3 5b ff call 0xff5ba335 17: 48 c7 c3 a0 33 63 85 mov $0xffffffff856333a0,%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 48 89 df mov %rbx,%rdi 2f: e8 11 88 8b ff call 0xff8b8845 34: 48 8b 1b mov (%rbx),%rbx 37: 48 85 db test %rbx,%rbx 3a: 74 31 je 0x6d 3c: 48 8d 6b 18 lea 0x18(%rbx),%rbp