BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1dd47d067 P4D 1dd47d067 PUD 1dd47e067 PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 417 Comm: syz-fuzzer 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: 0000000000000102 RCX: ffff8881f31c9f80
RDX: 0000000080000102 RSI: 0000000000000000 RDI: ffff8881e34331c0
RBP: ffff8881f6f09ec8 R08: ffffffff8154d3ee R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff97b8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e34331c0
FS: 000000c0006ba490(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001dd474000 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199
Code: 08 00 74 0c 48 c7 c7 90 3b eb 85 e8 75 12 43 fd 48 83 3d cd 2c 9a 01 00 74 29 48 89 df e8 e3 e7 fa fc 66 90 fb bf 01 00 00 00 66 d4 f3 fc 65 8b 05 ab 7e b1 7b 85 c0 74 02 5b c3 e8 34 45 af
RSP: 0018:ffff8881d53ef9d0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6f57b40 RCX: dffffc0000000000
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881d53efa30 R08: ffffffff81799989 R09: fffffbfff0c96e5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f57b40
R13: ffff8881f31c9f80 R14: dffffc0000000000 R15: 0000000000000000
finish_lock_switch kernel/sched/core.c:3347 [inline]
finish_task_switch+0x130/0x590 kernel/sched/core.c:3447
context_switch kernel/sched/core.c:3611 [inline]
__schedule+0xb0d/0x1320 kernel/sched/core.c:4307
schedule+0x12c/0x1d0 kernel/sched/core.c:4375
schedule_hrtimeout_range_clock+0x1ef/0x330 kernel/time/hrtimer.c:2196
freezable_schedule_hrtimeout_range include/linux/freezer.h:239 [inline]
ep_poll fs/eventpoll.c:1937 [inline]
do_epoll_wait+0x1036/0x1280 fs/eventpoll.c:2332
__do_sys_epoll_pwait fs/eventpoll.c:2363 [inline]
__se_sys_epoll_pwait+0x56/0x180 fs/eventpoll.c:2349
do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x40720e
Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
RSP: 002b:000000c0008e5748 EFLAGS: 00000246 ORIG_RAX: 0000000000000119
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000040720e
RDX: 0000000000000080 RSI: 000000c0008e5818 RDI: 0000000000000004
RBP: 000000c0008e5790 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000d2 R11: 0000000000000246 R12: 000000c0008e5820
R13: 1ef1111efef10111 R14: 000000c00072e4e0 R15: 0000000000000003
Modules linked in:
CR2: 0000000000000000
---[ end trace c76f6ab41913f4b7 ]---
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f6f09d18 EFLAGS: 00010202
RAX: ffffffff8154d7aa RBX: 0000000000000102 RCX: ffff8881f31c9f80
RDX: 0000000080000102 RSI: 0000000000000000 RDI: ffff8881e34331c0
RBP: ffff8881f6f09ec8 R08: ffffffff8154d3ee R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffff97b8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e34331c0
FS: 000000c0006ba490(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001dd474000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 08 00 or %al,(%rax)
2: 74 0c je 0x10
4: 48 c7 c7 90 3b eb 85 mov $0xffffffff85eb3b90,%rdi
b: e8 75 12 43 fd call 0xfd431285
10: 48 83 3d cd 2c 9a 01 cmpq $0x0,0x19a2ccd(%rip) # 0x19a2ce5
17: 00
18: 74 29 je 0x43
1a: 48 89 df mov %rbx,%rdi
1d: e8 e3 e7 fa fc call 0xfcfae805
22: 66 90 xchg %ax,%ax
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 66 d4 f3 fc call 0xfcf3d495 <-- trapping instruction
2f: 65 8b 05 ab 7e b1 7b mov %gs:0x7bb17eab(%rip),%eax # 0x7bb17ee1
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5b pop %rbx
3b: c3 ret
3c: e8 .byte 0xe8
3d: 34 45 xor $0x45,%al
3f: af scas %es:(%rdi),%eax