EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 1 PID: 421 Comm: syz.0.44 Not tainted 6.1.134-syzkaller-00016-ga0fa2316cce1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__ext4_journal_get_write_access+0xb0/0x6c0 fs/ext4/ext4_jbd2.c:231 Code: 8e ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 be b0 d2 ff 48 8b 1b 48 83 c3 38 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 a1 b0 d2 ff 4c 8b 23 4d 85 e4 4c RSP: 0018:ffffc9000e1def80 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc9000168a000 RSI: 00000000000160d1 RDI: 00000000000160d2 RBP: ffffc9000e1df058 R08: ffff888118713888 R09: 0000000000000001 R10: 00000000125ec6b8 R11: 0000000000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888118713888 FS: 00007f072a2956c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f072a273f98 CR3: 0000000134796000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_splice_branch+0xb4/0x560 fs/ext4/indirect.c:440 ext4_ind_map_blocks+0x19b8/0x1f30 fs/ext4/indirect.c:646 ext4_map_blocks+0x951/0x1c90 fs/ext4/inode.c:680 _ext4_get_block+0x1da/0x4e0 fs/ext4/inode.c:821 ext4_get_block+0x39/0x50 fs/ext4/inode.c:838 ext4_block_write_begin+0x56e/0x1270 fs/ext4/inode.c:1123 ext4_write_begin+0x5ee/0xf70 fs/ext4/ext4_jbd2.h:-1 generic_perform_write+0x2f6/0x6d0 mm/filemap.c:3881 ext4_buffered_write_iter+0x36f/0x660 fs/ext4/file.c:285 ext4_file_write_iter+0x18f/0x13d0 fs/ext4/file.c:-1 call_write_iter include/linux/fs.h:2274 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5db/0xca0 fs/read_write.c:584 ksys_write+0x140/0x240 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f072938e969 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:00007f072a295038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f07295b5fa0 RCX: 00007f072938e969 RDX: 000000000208e24b RSI: 0000200000000040 RDI: 0000000000000005 RBP: 00007f0729410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f07295b5fa0 R15: 00007ffecbe05378 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ext4_journal_get_write_access+0xb0/0x6c0 fs/ext4/ext4_jbd2.c:231 Code: 8e ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 be b0 d2 ff 48 8b 1b 48 83 c3 38 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 a1 b0 d2 ff 4c 8b 23 4d 85 e4 4c RSP: 0018:ffffc9000e1def80 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc9000168a000 RSI: 00000000000160d1 RDI: 00000000000160d2 RBP: ffffc9000e1df058 R08: ffff888118713888 R09: 0000000000000001 R10: 00000000125ec6b8 R11: 0000000000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888118713888 FS: 00007f072a2956c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effafb7fab8 CR3: 0000000134796000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8e ff mov %edi,%? 2: 49 8d 5f 30 lea 0x30(%r15),%rbx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 be b0 d2 ff call 0xffd2b0da 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 38 add $0x38,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 a1 b0 d2 ff call 0xffd2b0da 39: 4c 8b 23 mov (%rbx),%r12 3c: 4d 85 e4 test %r12,%r12 3f: 4c rex.WR