BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1ebca0067 P4D 1ebca0067 PUD 1e59a5067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3003 Comm: syz-executor.3 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:ffff8881f6e09d18 EFLAGS: 00010202 RAX: ffffffff8154d7aa RBX: 0000000000000101 RCX: ffff8881e8a16e40 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881d55bb1c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffb828 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881d55bb1c0 FS: 00007f46c92746c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d64c1000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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:crypto_shash_update+0x22a/0x2a0 crypto/shash.c:133 Code: 80 ff 48 8b 74 24 10 48 01 de 8b 54 24 04 29 da 48 8b 7c 24 18 41 ff 14 24 41 89 c7 48 8b 5c 24 08 48 c7 44 24 20 0e 36 e0 45 <41> c7 44 1d 00 00 00 00 00 41 c7 44 1d 13 00 00 00 00 41 c6 44 1d RSP: 0018:ffff8881e4477040 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 1ffff1103c88ee0c RCX: 0000000000040000 RDX: ffffc90000942000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e4477170 R08: ffffffff823187bd R09: ffffffff84fa8eb0 R10: ffffffff84fa89a4 R11: ffffffff84fa8608 R12: ffffffff860566e8 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 ext4_chksum fs/ext4/ext4.h:2145 [inline] ext4_inode_csum+0x30b/0xc80 fs/ext4/inode.c:64 ext4_inode_csum_set fs/ext4/inode.c:117 [inline] ext4_do_update_inode fs/ext4/inode.c:5511 [inline] ext4_mark_iloc_dirty+0x1ea6/0x3560 fs/ext4/inode.c:6071 ext4_mark_inode_dirty+0x4e7/0x7a0 fs/ext4/inode.c:6273 ext4_ext_truncate+0x85/0x180 fs/ext4/extents.c:4634 ext4_truncate+0xb23/0x1290 fs/ext4/inode.c:4641 ext4_setattr+0xeb5/0x1500 fs/ext4/inode.c:5857 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f46c9ef9ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46c92740c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f46ca030f80 RCX: 00007f46c9ef9ea9 RDX: 0000000000007a05 RSI: 00000000200003c0 RDI: ffffffffffffff9c RBP: 00007f46c9f68ff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001700 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f46ca030f80 R15: 00007ffff67b0d78 Modules linked in: CR2: 0000000000000000 ---[ end trace 0b176633666e1e0e ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09d18 EFLAGS: 00010202 RAX: ffffffff8154d7aa RBX: 0000000000000101 RCX: ffff8881e8a16e40 RDX: 0000000000000101 RSI: 0000000000000000 RDI: ffff8881d55bb1c0 RBP: ffff8881f6e09ec8 R08: ffffffff8154d3ee R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000ffffb828 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881d55bb1c0 FS: 00007f46c92746c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d64c1000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 80 ff 48 cmp $0x48,%bh 3: 8b 74 24 10 mov 0x10(%rsp),%esi 7: 48 01 de add %rbx,%rsi a: 8b 54 24 04 mov 0x4(%rsp),%edx e: 29 da sub %ebx,%edx 10: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 15: 41 ff 14 24 call *(%r12) 19: 41 89 c7 mov %eax,%r15d 1c: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx 21: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp) 28: e0 45 * 2a: 41 c7 44 1d 00 00 00 movl $0x0,0x0(%r13,%rbx,1) <-- trapping instruction 31: 00 00 33: 41 c7 44 1d 13 00 00 movl $0x0,0x13(%r13,%rbx,1) 3a: 00 00 3c: 41 rex.B 3d: c6 .byte 0xc6 3e: 44 rex.R 3f: 1d .byte 0x1d