general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 PID: 14740 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__block_commit_write+0x61/0x360 fs/buffer.c:2167 Code: 08 48 89 df e8 a0 c7 dc ff 48 89 2c 24 48 8b 03 48 89 44 24 08 48 8d 58 20 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 71 c7 dc ff 8b 03 48 89 44 24 10 31 RSP: 0018:ffffc90002f8f840 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000020 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001630240 RBP: ffffea0001630240 R08: ffffffff821de655 R09: ffffea0001630240 R10: dffffc0000000000 R11: ffffed100b78514b R12: 000000000000001a R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000008 FS: 00007fa423f8f6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb333e24000 CR3: 000000004ed6e000 CR4: 0000000000350ef0 Call Trace: block_write_end+0xaf/0x1c0 fs/buffer.c:2253 ext4_da_do_write_end fs/ext4/inode.c:2955 [inline] ext4_da_write_end+0x34a/0xd00 fs/ext4/inode.c:3028 generic_perform_write+0x427/0x640 mm/filemap.c:3985 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1de/0x1a10 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa86/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa42327dea9 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:00007fa423f8f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa4233ac120 RCX: 00007fa42327dea9 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007fa4232ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa4233ac120 R15: 00007ffd4a14e808 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__block_commit_write+0x61/0x360 fs/buffer.c:2167 Code: 08 48 89 df e8 a0 c7 dc ff 48 89 2c 24 48 8b 03 48 89 44 24 08 48 8d 58 20 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 71 c7 dc ff 8b 03 48 89 44 24 10 31 RSP: 0018:ffffc90002f8f840 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000020 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001630240 RBP: ffffea0001630240 R08: ffffffff821de655 R09: ffffea0001630240 R10: dffffc0000000000 R11: ffffed100b78514b R12: 000000000000001a R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000008 FS: 00007fa423f8f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2647b7b978 CR3: 000000004ed6e000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 08 48 89 or %cl,-0x77(%rax) 3: df e8 fucomip %st(0),%st 5: a0 c7 dc ff 48 89 2c movabs 0x48242c8948ffdcc7,%al c: 24 48 e: 8b 03 mov (%rbx),%eax 10: 48 89 44 24 08 mov %rax,0x8(%rsp) 15: 48 8d 58 20 lea 0x20(%rax),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 71 c7 dc ff call 0xffdcc7a9 38: 8b 03 mov (%rbx),%eax 3a: 48 89 44 24 10 mov %rax,0x10(%rsp) 3f: 31 .byte 0x31