------------[ cut here ]------------ kernel BUG at fs/buffer.c:2069! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5049 Comm: syz-executor.4 Not tainted 5.18.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__block_commit_write.constprop.0.isra.0+0x220/0x280 fs/buffer.c:2069 Code: 06 83 e6 ff f0 80 0b 04 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 8b 7c 24 08 48 c7 c6 c0 e4 f9 88 e8 62 6a d4 ff 0f 0b <0f> 0b e8 29 80 e6 ff e9 d4 fe ff ff 4c 89 ef e8 1c 80 e6 ff e9 30 RSP: 0018:ffffc9000567f4c0 EFLAGS: 00010246 RAX: 00fff00000000017 RBX: ffffea00019aa000 RCX: ffffffff81c6cf99 RDX: 1ffffd4000335400 RSI: 0000000000000008 RDI: ffffea00019aa000 RBP: 0000000000000114 R08: 0000000000000000 R09: ffffea00019aa007 R10: fffff94000335400 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000115 R14: 0000000000000114 R15: ffffea00019aa000 FS: 00007fc2aadd1700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe91a398000 CR3: 000000001bca3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: block_write_end+0x30/0x1c0 fs/buffer.c:2159 ext4_write_end+0x1ee/0xa40 fs/ext4/inode.c:1294 generic_perform_write+0x2a6/0x490 mm/filemap.c:3798 ext4_buffered_write_iter+0x122/0x2c0 fs/ext4/file.c:270 ext4_file_write_iter+0x39d/0x1190 fs/ext4/file.c:679 call_write_iter include/linux/fs.h:2050 [inline] do_iter_readv_writev+0x2b4/0x5b0 fs/read_write.c:726 do_iter_write+0x124/0x620 fs/read_write.c:852 iter_file_splice_write+0x598/0xaf0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xfb/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x2dd/0x7c0 fs/splice.c:891 do_splice_direct+0x148/0x250 fs/splice.c:979 do_sendfile+0x90c/0x1100 fs/read_write.c:1246 __do_sys_sendfile64 fs/read_write.c:1311 [inline] __se_sys_sendfile64 fs/read_write.c:1297 [inline] __x64_sys_sendfile64+0x186/0x1d0 fs/read_write.c:1297 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc2a9c88e99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc2aadd1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc2a9d9bf60 RCX: 00007fc2a9c88e99 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007fc2a9ce2ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd9cec90df R14: 00007fc2aadd1300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__block_commit_write.constprop.0.isra.0+0x220/0x280 fs/buffer.c:2069 Code: 06 83 e6 ff f0 80 0b 04 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 8b 7c 24 08 48 c7 c6 c0 e4 f9 88 e8 62 6a d4 ff 0f 0b <0f> 0b e8 29 80 e6 ff e9 d4 fe ff ff 4c 89 ef e8 1c 80 e6 ff e9 30 RSP: 0018:ffffc9000567f4c0 EFLAGS: 00010246 RAX: 00fff00000000017 RBX: ffffea00019aa000 RCX: ffffffff81c6cf99 RDX: 1ffffd4000335400 RSI: 0000000000000008 RDI: ffffea00019aa000 RBP: 0000000000000114 R08: 0000000000000000 R09: ffffea00019aa007 R10: fffff94000335400 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000115 R14: 0000000000000114 R15: ffffea00019aa000 FS: 00007fc2aadd1700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e56680000 CR3: 000000001bca3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400