BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1ec649067 P4D 1ec649067 PUD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events bpf_prog_free_deferred RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09cf0 EFLAGS: 00010206 RAX: ffffffff8150a590 RBX: 0000000000000103 RCX: ffff8881f5d6de80 RDX: 0000000000000103 RSI: 0000000000000000 RDI: ffff8881d6f831c0 RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffffb0c0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881d6f831c0 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d7468000 CR4: 00000000003406b0 DR0: ffffffffffffffff DR1: 0000200000000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: call_timer_fn+0x3c/0x380 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x81d/0xb60 kernel/time/timer.c:1817 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1830 __do_softirq+0x236/0x660 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x197/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:539 [inline] smp_apic_timer_interrupt+0x11d/0x490 arch/x86/kernel/apic/apic.c:1161 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline] RIP: 0010:smp_call_function_single+0x1da/0x410 kernel/smp.c:311 Code: 5c 02 00 00 89 c3 44 8b 74 24 58 44 89 f6 83 e6 01 31 ff e8 b8 51 0a 00 41 83 e6 01 75 0a e8 5d 4e 0a 00 e9 a6 00 00 00 f3 90 44 24 58 01 00 00 00 0f 84 91 00 00 00 e8 43 4e 0a 00 eb e9 e8 RSP: 0018:ffff8881f5da77c0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffffffff8155309d RBX: 0000000000000000 RCX: ffff8881f5d6de80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f5da78b0 R08: dffffc0000000000 R09: ffffed103edeb189 R10: ffffed103edeb189 R11: 1ffff1103edeb188 R12: ffff8881f5da7800 R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff1103ebb4efc smp_call_function_many+0x6d6/0x990 kernel/smp.c:451 smp_call_function kernel/smp.c:509 [inline] on_each_cpu+0xa8/0x170 kernel/smp.c:616 flush_tlb_kernel_range+0x3a/0x1c0 arch/x86/mm/tlb.c:838 __purge_vmap_area_lazy+0xe7/0x1780 mm/vmalloc.c:1278 _vm_unmap_aliases+0x2d7/0x360 mm/vmalloc.c:1707 vm_remove_mappings mm/vmalloc.c:2226 [inline] __vunmap+0x5bd/0x8a0 mm/vmalloc.c:2251 __vfree mm/vmalloc.c:2308 [inline] vfree+0x61/0x90 mm/vmalloc.c:2338 module_memfree+0x17/0x30 kernel/module.c:2228 bpf_jit_free_exec+0x15/0x20 kernel/bpf/core.c:802 bpf_jit_binary_free kernel/bpf/core.c:855 [inline] bpf_jit_free+0x98/0x1f0 kernel/bpf/core.c:868 bpf_prog_free_deferred+0x19d/0x370 kernel/bpf/core.c:2037 process_one_work+0x73b/0xcc0 kernel/workqueue.c:2290 worker_thread+0xa5c/0x13b0 kernel/workqueue.c:2436 kthread+0x31e/0x3a0 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Modules linked in: CR2: 0000000000000000 ---[ end trace c5dee25a6c15822d ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09cf0 EFLAGS: 00010206 RAX: ffffffff8150a590 RBX: 0000000000000103 RCX: ffff8881f5d6de80 RDX: 0000000000000103 RSI: 0000000000000000 RDI: ffff8881d6f831c0 RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffffb0c0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881d6f831c0 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d7468000 CR4: 00000000003406b0 DR0: ffffffffffffffff DR1: 0000200000000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 02 00 add (%rax),%al 3: 00 89 c3 44 8b 74 add %cl,0x748b44c3(%rcx) 9: 24 58 and $0x58,%al b: 44 89 f6 mov %r14d,%esi e: 83 e6 01 and $0x1,%esi 11: 31 ff xor %edi,%edi 13: e8 b8 51 0a 00 call 0xa51d0 18: 41 83 e6 01 and $0x1,%r14d 1c: 75 0a jne 0x28 1e: e8 5d 4e 0a 00 call 0xa4e80 23: e9 a6 00 00 00 jmp 0xce 28: f3 90 pause * 2a: f7 44 24 58 01 00 00 testl $0x1,0x58(%rsp) <-- trapping instruction 31: 00 32: 0f 84 91 00 00 00 je 0xc9 38: e8 43 4e 0a 00 call 0xa4e80 3d: eb e9 jmp 0x28 3f: e8 .byte 0xe8