BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1ef0d0067 P4D 1ef0d0067 PUD 1e39ef067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1387 Comm: syz.1.400 Not tainted 5.4.276-syzkaller-00021-g58de09405d1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010202 RAX: ffffffff8154d48a RBX: 0000000000000101 RCX: ffff8881d6c40000 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881f0e5b1c0 RBP: ffff8881f6f09ec8 R08: ffffffff8154d0ce R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9ba0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881f0e5b1c0 FS: 00007fd461c056c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001cfd61000 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:539 [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:clear_page_erms+0x9/0x10 arch/x86/lib/clear_page_64.S:50 Code: 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 f3 aa 90 90 90 90 90 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 RSP: 0018:ffff8881e1187248 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 1ffff1103ad8814b RCX: 0000000000000000 RDX: ffffc90000540000 RSI: 000000000003ffff RDI: ffff8881e6130000 RBP: ffff8881d6c40a58 R08: dffffc0000000000 R09: ffffed103e4f238e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8881e612f000 R14: dffffc0000000000 R15: 0000000000000001 clear_page arch/x86/include/asm/page_64.h:49 [inline] clear_highpage include/linux/highmem.h:219 [inline] kernel_init_free_pages mm/page_alloc.c:1131 [inline] prep_new_page+0xff/0x370 mm/page_alloc.c:2174 get_page_from_freelist+0x2d13/0x2d90 mm/page_alloc.c:3794 __alloc_pages_nodemask+0x393/0x840 mm/page_alloc.c:4893 __alloc_pages include/linux/gfp.h:503 [inline] __alloc_pages_node include/linux/gfp.h:516 [inline] alloc_pages_node include/linux/gfp.h:530 [inline] pcpu_alloc_pages mm/percpu-vm.c:94 [inline] pcpu_populate_chunk+0x1bb/0xd00 mm/percpu-vm.c:284 pcpu_alloc+0x79e/0x1050 mm/percpu.c:1714 prealloc_init+0x238/0x800 kernel/bpf/hashtab.c:154 htab_map_alloc+0x638/0x930 kernel/bpf/hashtab.c:382 find_and_alloc_map kernel/bpf/syscall.c:122 [inline] map_create kernel/bpf/syscall.c:573 [inline] __do_sys_bpf kernel/bpf/syscall.c:2873 [inline] __se_sys_bpf+0x3291/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:0x7fd462983f19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd461c05048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fd462b11f60 RCX: 00007fd462983f19 RDX: 0000000000000048 RSI: 0000000020000840 RDI: 0000000000000000 RBP: 00007fd4629f2bcd R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd462b11f60 R15: 00007ffca2051338 Modules linked in: CR2: 0000000000000000 ---[ end trace 569c8910a713de31 ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010202 RAX: ffffffff8154d48a RBX: 0000000000000101 RCX: ffff8881d6c40000 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881f0e5b1c0 RBP: ffff8881f6f09ec8 R08: ffffffff8154d0ce R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff9ba0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881f0e5b1c0 FS: 00007fd461c056c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001cfd61000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 47 18 48 89 rex.RXB sbb %r9b,-0x77(%r8) 4: 47 20 48 89 rex.RXB and %r9b,-0x77(%r8) 8: 47 28 48 89 rex.RXB sub %r9b,-0x77(%r8) c: 47 30 48 89 rex.RXB xor %r9b,-0x77(%r8) 10: 47 38 48 8d rex.RXB cmp %r9b,-0x73(%r8) 14: 7f 40 jg 0x56 16: 75 d9 jne 0xfffffff1 18: 90 nop 19: c3 ret 1a: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 21: b9 00 10 00 00 mov $0x1000,%ecx 26: 31 c0 xor %eax,%eax 28: f3 aa rep stos %al,%es:(%rdi) * 2a: c3 ret <-- trapping instruction 2b: 90 nop 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 55 push %rbp 32: 41 57 push %r15 34: 41 56 push %r14 36: 41 55 push %r13 38: 41 54 push %r12 3a: 53 push %rbx 3b: 48 83 ec 18 sub $0x18,%rsp 3f: 48 rex.W