BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1e9338067 P4D 1e9338067 PUD 1e9336067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 994 Comm: syz-executor.2 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:ffff8881f6f09d18 EFLAGS: 00010202 RAX: ffffffff8154d7aa RBX: 0000000000000101 RCX: ffff8881d2f50fc0 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881f053b1c0 RBP: ffff8881f6f09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9f28 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881f053b1c0 FS: 00007ffaa4fd36c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001ecfb9000 CR4: 00000000003406a0 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:check_preemption_disabled+0xd9/0x320 lib/smp_processor_id.c:52 Code: 44 24 20 0e 36 e0 45 4b c7 04 2f 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 60 0f 85 32 02 00 00 89 d8 48 8d 65 d8 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 4c 89 64 24 10 4c 89 7c 24 18 4c 8d RSP: 0018:ffff8881eaf66d50 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: 1ffff1103d5ecdd4 RCX: 0000000000040000 RDX: ffffc90000540000 RSI: 000000000001e349 RDI: 000000000001e34a RBP: ffff8881eaf66d70 R08: ffffffff82316ca1 R09: ffffed103edeb135 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff84fa4620 R13: 1ffff1103d5ecd9c R14: 0000000000000001 R15: dffffc0000000000 __schedule+0x9c/0x1320 kernel/sched/core.c:4235 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558 retint_kernel+0x1b/0x1b RIP: 0010:in_irqentry_text mm/kasan/common.c:45 [inline] RIP: 0010:filter_irq_stacks mm/kasan/common.c:57 [inline] RIP: 0010:save_stack mm/kasan/common.c:71 [inline] RIP: 0010:set_track mm/kasan/common.c:78 [inline] RIP: 0010:__kasan_kmalloc+0x19a/0x210 mm/kasan/common.c:529 Code: ff 85 c0 74 55 89 c6 31 db 49 c7 c0 50 15 60 84 49 c7 c1 dc 31 60 84 49 c7 c2 00 00 80 84 48 c7 c7 b7 06 80 84 48 8b 54 dc 20 <4c> 39 c2 41 0f 93 c3 4c 39 ca 0f 92 c0 4c 39 d2 0f 93 c1 48 39 fa RSP: 0018:ffff8881eaf66fc0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: 0000000000000009 RCX: 85804c48c183b200 RDX: ffffffff816dfef4 RSI: 000000000000000d RDI: ffffffff848006b7 RBP: ffff8881eaf67218 R08: ffffffff84601550 R09: ffffffff846031dc R10: ffffffff84800000 R11: dffffc0000000000 R12: ffff8881ee0fe480 R13: 0000000000000040 R14: 0000000000000cc0 R15: ffff8881eaf66fe0 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0xd9/0x250 mm/slub.c:2842 kmem_cache_alloc_node include/linux/slab.h:427 [inline] alloc_vmap_area+0x162/0x1ac0 mm/vmalloc.c:1070 __get_vm_area_node+0x1c7/0x310 mm/vmalloc.c:2066 __vmalloc_node_range+0xee/0x710 mm/vmalloc.c:2494 kasan_module_alloc+0x6b/0xb0 mm/kasan/common.c:626 module_alloc+0x97/0xb0 arch/x86/kernel/module.c:80 bpf_jit_binary_alloc+0x9f/0x1a0 kernel/bpf/core.c:826 bpf_int_jit_compile+0x8169/0x8c40 arch/x86/net/bpf_jit_comp.c:1179 bpf_prog_select_runtime+0x654/0x900 kernel/bpf/core.c:1782 bpf_prog_load kernel/bpf/syscall.c:1728 [inline] __do_sys_bpf kernel/bpf/syscall.c:2891 [inline] __se_sys_bpf+0x8193/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:0x7ffaa5c58ea9 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:00007ffaa4fd30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ffaa5d8ff80 RCX: 00007ffaa5c58ea9 RDX: 0000000000000080 RSI: 0000000020000380 RDI: 0000000000000005 RBP: 00007ffaa5cc7ff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ffaa5d8ff80 R15: 00007ffd2ccaac48 Modules linked in: CR2: 0000000000000000 ---[ end trace b37bbab3915a455b ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010202 RAX: ffffffff8154d7aa RBX: 0000000000000101 RCX: ffff8881d2f50fc0 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881f053b1c0 RBP: ffff8881f6f09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9f28 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881f053b1c0 FS: 00007ffaa4fd36c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001ecfb9000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 20 0e and %cl,(%rsi) 2: 36 e0 45 ss loopne 0x4a 5: 4b c7 04 2f 00 00 00 movq $0x0,(%r15,%r13,1) c: 00 d: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 14: 00 00 16: 48 3b 44 24 60 cmp 0x60(%rsp),%rax 1b: 0f 85 32 02 00 00 jne 0x253 21: 89 d8 mov %ebx,%eax 23: 48 8d 65 d8 lea -0x28(%rbp),%rsp 27: 5b pop %rbx * 28: 41 5c pop %r12 <-- trapping instruction 2a: 41 5d pop %r13 2c: 41 5e pop %r14 2e: 41 5f pop %r15 30: 5d pop %rbp 31: c3 ret 32: 4c 89 64 24 10 mov %r12,0x10(%rsp) 37: 4c 89 7c 24 18 mov %r15,0x18(%rsp) 3c: 4c rex.WR 3d: 8d .byte 0x8d