BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1de9ec067 P4D 1de9ec067 PUD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1615 Comm: syz.3.344 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:ffff8881f6e09cf0 EFLAGS: 00010206
RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881eccd6e40
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881c8f531c0
RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffff9ec8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881c8f531c0
FS: 00007fc9fb7ad6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001eb8db000 CR4: 00000000003406b0
DR0: 0000000000000000 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:do_user_addr_fault arch/x86/include/asm/irqflags.h:54 [inline]
RIP: 0010:__do_page_fault+0x28a/0xb20 arch/x86/mm/fault.c:1505
Code: 48 81 e6 00 02 00 00 31 ff e8 a2 92 31 00 49 81 e6 00 02 00 00 75 07 e8 c4 8e 31 00 eb 06 e8 bd 8e 31 00 fb 41 be 14 02 00 00 <4c> 89 6d b0 0f 1f 44 00 00 e8 a8 8e 31 00 45 89 fd 41 83 e5 02 31
RSP: 0018:ffff8881ea67f7f8 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff13
RAX: ffffffff812df023 RBX: 0000200000098000 RCX: 0000000000080000
RDX: ffffc90001d49000 RSI: 000000000004735e RDI: 000000000004735f
RBP: ffff8881ea67f890 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000200000098000
R13: ffff8881ea67f8e8 R14: 0000000000000214 R15: 0000000000000000
do_page_fault+0x37/0x320 arch/x86/mm/fault.c:1529
page_fault+0x2f/0x40 arch/x86/entry/entry_64.S:1206
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x30 arch/x86/lib/copy_user_64.S:205
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 f3 a4
RSP: 0018:ffff8881ea67f998 EFLAGS: 00050206
RAX: ffffffff821b0801 RBX: 00000000000010ff RCX: 00000000000001c0
RDX: 0000000000001000 RSI: 0000200000098000 RDI: ffff8881ec89ae40
RBP: ffff8881ea67fa30 R08: dffffc0000000000 R09: ffffed103d913600
R10: 0000000000000000 R11: 0000000000000200 R12: 00002000000981c0
R13: ffff8881ec89a000 R14: ffff8881ec89a000 R15: 0000000000001000
pipe_write+0x5fa/0x1090 fs/pipe.c:470
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
vfs_write+0x20e/0x4c0 fs/read_write.c:558
ksys_write+0x140/0x240 fs/read_write.c:611
__do_sys_write fs/read_write.c:623 [inline]
__se_sys_write fs/read_write.c:620 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:620
do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7fc9fd144969
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:00007fc9fb7ad038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc9fd36bfa0 RCX: 00007fc9fd144969
RDX: 00000000fffffdef RSI: 00002000000001c0 RDI: 0000000000000000
RBP: 00007fc9fd1c6ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc9fd36bfa0 R15: 00007fff9382d918
Modules linked in:
CR2: 0000000000000000
---[ end trace c795d17dbeeb8e0f ]---
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f6e09cf0 EFLAGS: 00010206
RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881eccd6e40
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881c8f531c0
RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003
R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffff9ec8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881c8f531c0
FS: 00007fc9fb7ad6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001eb8db000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
0: 48 81 e6 00 02 00 00 and $0x200,%rsi
7: 31 ff xor %edi,%edi
9: e8 a2 92 31 00 call 0x3192b0
e: 49 81 e6 00 02 00 00 and $0x200,%r14
15: 75 07 jne 0x1e
17: e8 c4 8e 31 00 call 0x318ee0
1c: eb 06 jmp 0x24
1e: e8 bd 8e 31 00 call 0x318ee0
23: fb sti
24: 41 be 14 02 00 00 mov $0x214,%r14d
* 2a: 4c 89 6d b0 mov %r13,-0x50(%rbp) <-- trapping instruction
2e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
33: e8 a8 8e 31 00 call 0x318ee0
38: 45 89 fd mov %r15d,%r13d
3b: 41 83 e5 02 and $0x2,%r13d
3f: 31 .byte 0x31