BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1e4917067 P4D 1e4917067 PUD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 885 Comm: syz.0.146 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: ffff8881e4a80fc0
RDX: 0000000080000100 RSI: 0000000000000000 RDI: ffff8881e55b31c0
RBP: ffff8881f6f09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: 00000000ffff9f88
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e55b31c0
FS: 00007fb38cc7a6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001e89c1000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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:__sanitizer_cov_trace_cmp8+0x20/0x80 kernel/kcov.c:255
Code: 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 48 8b 45 08 65 48 8b 15 c0 0c a3 7e 65 8b 0d c5 0c a3 7e f7 c1 00 01 1f 00 74 02 5d 8b 8a 00 0a 00 00 83 f9 03 75 f3 48 8b 8a 08 0a 00 00 44 8b 8a
RSP: 0018:ffff8881e4b77298 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff817a5c6b RBX: ffff8881e4b773c0 RCX: 0000000000000000
RDX: ffff8881e4a80fc0 RSI: 0000000000001000 RDI: 0000000000001000
RBP: ffff8881e4b77330 R08: dffffc0000000000 R09: ffffed103c93a556
R10: ffffed103c93a556 R11: 1ffff1103c93a555 R12: 0000000000001000
R13: 00000000006b1000 R14: 0000000000001000 R15: 0000000000001000
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:0x7fb38e632971
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:00000000fffffeb0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fb38e85a080 RCX: 00007fb38e632969
RDX: 0000000000000000 RSI: 00000000fffffeb0 RDI: 0000000002000400
RBP: 00007fb38e6b4ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fb38e85a080 R15: 00007ffeaeb3cbd8
Modules linked in:
CR2: 0000000000000000
---[ end trace f03470a5eae18175 ]---
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f6f09cf0 EFLAGS: 00010206
RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881e4a80fc0
RDX: 0000000080000100 RSI: 0000000000000000 RDI: ffff8881e55b31c0
RBP: ffff8881f6f09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: 00000000ffff9f88
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e55b31c0
FS: 00007fb38cc7a6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001e89c1000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
7: 00 00 00
a: 55 push %rbp
b: 48 89 e5 mov %rsp,%rbp
e: 48 8b 45 08 mov 0x8(%rbp),%rax
12: 65 48 8b 15 c0 0c a3 mov %gs:0x7ea30cc0(%rip),%rdx # 0x7ea30cda
19: 7e
1a: 65 8b 0d c5 0c a3 7e mov %gs:0x7ea30cc5(%rip),%ecx # 0x7ea30ce6
21: f7 c1 00 01 1f 00 test $0x1f0100,%ecx
27: 74 02 je 0x2b
29: 5d pop %rbp
* 2a: c3 ret <-- trapping instruction
2b: 8b 8a 00 0a 00 00 mov 0xa00(%rdx),%ecx
31: 83 f9 03 cmp $0x3,%ecx
34: 75 f3 jne 0x29
36: 48 8b 8a 08 0a 00 00 mov 0xa08(%rdx),%rcx
3d: 44 rex.R
3e: 8b .byte 0x8b
3f: 8a .byte 0x8a