BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1ea52d067 P4D 1ea52d067 PUD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1282 Comm: syz.2.258 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f6f09cf0 EFLAGS: 00010206
RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881e78bcec0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e5daf1c0
RBP: ffff8881f6f09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: 00000000ffff9f88
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e5daf1c0
FS: 00007f8d03a396c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001e63a6000 CR4: 00000000003406a0
DR0: 0000200000000300 DR1: 0000000000000000 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:unwind_next_frame+0x0/0x760 arch/x86/kernel/unwind_frame.c:261
Code: c0 08 5b 41 5e 41 5f 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c 9b 48 89 df e8 5d dd 5f 00 eb 91 66 66 2e 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 58 48 89 fb 65 48
RSP: 0018:ffff8881ea63e560 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: ffffffff814fbd01 RBX: ffff8881ea63e620 RCX: 0000000000000000
RDX: ffff8881e78bcec0 RSI: 0000000000000010 RDI: ffff8881ea63e568
RBP: ffff8881ea63e5f0 R08: dffffc0000000000 R09: ffff8881ea63e568
R10: ffffed103d4c7cb9 R11: 1ffff1103d4c7cad R12: ffff8881e78bcec0
R13: 1ffff1103d4c7cc0 R14: ffffffff814fbbf0 R15: ffff8881ea63e568
stack_trace_save+0xaa/0xf0 kernel/stacktrace.c:123
save_stack+0x97/0x560 mm/page_owner.c:122
__set_page_owner+0x39/0x1e0 mm/page_owner.c:191
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook mm/page_alloc.c:2165 [inline]
prep_new_page+0x35e/0x370 mm/page_alloc.c:2171
get_page_from_freelist+0x1296/0x1310 mm/page_alloc.c:3794
__alloc_pages_nodemask+0x202/0x4b0 mm/page_alloc.c:4894
__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]
shmem_alloc_page mm/shmem.c:1503 [inline]
shmem_alloc_and_acct_page+0x40b/0x820 mm/shmem.c:1528
shmem_getpage_gfp+0xe89/0x2370 mm/shmem.c:1852
shmem_getpage mm/shmem.c:154 [inline]
shmem_write_begin+0xce/0x1b0 mm/shmem.c:2447
generic_perform_write+0x2b8/0x500 mm/filemap.c:3450
__generic_file_write_iter+0x24b/0x480 mm/filemap.c:3579
generic_file_write_iter+0x48d/0x620 mm/filemap.c:3611
call_write_iter include/linux/fs.h:1991 [inline]
new_sync_write fs/read_write.c:483 [inline]
__vfs_write+0x480/0x5d0 fs/read_write.c:496
__kernel_write+0xea/0x320 fs/read_write.c:515
dump_emit+0x1c0/0x2c0 fs/coredump.c:838
elf_core_dump+0x3465/0x3bd0 fs/binfmt_elf.c:2352
do_coredump+0x1d8c/0x2ab0 fs/coredump.c:801
get_signal+0xdb7/0x13d0 kernel/signal.c:2732
do_signal+0xad/0xda0 arch/x86/kernel/signal.c:809
exit_to_usermode_loop+0xc4/0x1b0 arch/x86/entry/common.c:159
prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194
ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f8d053d0971
Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:0000200000000180 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f8d055f7fa0 RCX: 00007f8d053d0969
RDX: 00002000000001c0 RSI: 0000200000000180 RDI: 0000000000008000
RBP: 00007f8d05452ab1 R08: 0000200000000240 R09: 0000200000000240
R10: 0000200000000200 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8d055f7fa0 R15: 00007fff6210ca58
Modules linked in:
CR2: 0000000000000000
---[ end trace 411cf3bf67b54495 ]---
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f6f09cf0 EFLAGS: 00010206
RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881e78bcec0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e5daf1c0
RBP: ffff8881f6f09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: 00000000ffff9f88
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e5daf1c0
FS: 00007f8d03a396c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001e63a6000 CR4: 00000000003406a0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
0: c0 08 5b rorb $0x5b,(%rax)
3: 41 5e pop %r14
5: 41 5f pop %r15
7: 5d pop %rbp
8: c3 ret
9: 89 d9 mov %ebx,%ecx
b: 80 e1 07 and $0x7,%cl
e: 80 c1 03 add $0x3,%cl
11: 38 c1 cmp %al,%cl
13: 7c 9b jl 0xffffffb0
15: 48 89 df mov %rbx,%rdi
18: e8 5d dd 5f 00 call 0x5fdd7a
1d: eb 91 jmp 0xffffffb0
1f: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
26: 00 00 00 00
* 2a: 55 push %rbp <-- trapping instruction
2b: 48 89 e5 mov %rsp,%rbp
2e: 41 57 push %r15
30: 41 56 push %r14
32: 41 55 push %r13
34: 41 54 push %r12
36: 53 push %rbx
37: 48 83 ec 58 sub $0x58,%rsp
3b: 48 89 fb mov %rdi,%rbx
3e: 65 gs
3f: 48 rex.W