------------[ cut here ]------------ kernel BUG at fs/buffer.c:2043! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 11127 Comm: syz-executor.0 Not tainted 6.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:iomap_to_bh fs/buffer.c:2043 [inline] RIP: 0010:__block_write_begin_int+0x789/0x7f0 fs/buffer.c:2126 Code: ff ff eb b9 48 89 df 48 c7 c6 11 eb 0d 82 e8 ce 2c f2 ff 0f 0b 48 89 df 48 c7 c6 11 eb 0d 82 e8 bd 2c f2 ff 0f 0b 0f 0b 0f 0b <0f> 0b f3 0f 1e fa 48 8b 44 24 10 48 c1 e0 34 0f 85 d6 f8 ff ff 48 RSP: 0018:ffffc9000284ba90 EFLAGS: 00010206 RAX: 0000000000070000 RBX: ffffea000417a500 RCX: 0000000000040000 RDX: ffffc9000284bd30 RSI: 0000000000000070 RDI: ffff888111bff930 RBP: ffffc9000284bb60 R08: 0000000000000000 R09: 0000000000001000 R10: 0000000000000400 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888111bff930 R14: 0000000000000400 R15: 0000000000000000 FS: 00007f8753bdc6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001d000 CR3: 000000010a6b5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iomap_write_begin+0x28f/0x950 fs/iomap/buffered-io.c:679 iomap_write_iter fs/iomap/buffered-io.c:816 [inline] iomap_file_buffered_write+0x193/0x380 fs/iomap/buffered-io.c:873 blkdev_buffered_write block/fops.c:633 [inline] blkdev_write_iter+0x103/0x170 block/fops.c:687 call_write_iter include/linux/fs.h:1871 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x352/0x420 fs/read_write.c:584 ksys_write+0x70/0xe0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f875407aae9 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:00007f8753bdc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f875419a050 RCX: 00007f875407aae9 RDX: 000000000208e24b RSI: 0000000020000100 RDI: 0000000000000003 RBP: 00007f87540c647a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f875419a050 R15: 00007ffdf5787ea8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:iomap_to_bh fs/buffer.c:2043 [inline] RIP: 0010:__block_write_begin_int+0x789/0x7f0 fs/buffer.c:2126 Code: ff ff eb b9 48 89 df 48 c7 c6 11 eb 0d 82 e8 ce 2c f2 ff 0f 0b 48 89 df 48 c7 c6 11 eb 0d 82 e8 bd 2c f2 ff 0f 0b 0f 0b 0f 0b <0f> 0b f3 0f 1e fa 48 8b 44 24 10 48 c1 e0 34 0f 85 d6 f8 ff ff 48 RSP: 0018:ffffc9000284ba90 EFLAGS: 00010206 RAX: 0000000000070000 RBX: ffffea000417a500 RCX: 0000000000040000 RDX: ffffc9000284bd30 RSI: 0000000000000070 RDI: ffff888111bff930 RBP: ffffc9000284bb60 R08: 0000000000000000 R09: 0000000000001000 R10: 0000000000000400 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888111bff930 R14: 0000000000000400 R15: 0000000000000000 FS: 00007f8753bdc6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001d000 CR3: 000000010a6b5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400