loop0: detected capacity change from 0 to 1024 EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs: Ignoring removed oldalloc option EXT4-fs (loop0): re-mounted 00000000-0000-0000-0000-000000000000 r/w. Quota mode: none. divide error: 0000 [#1] PREEMPT SMP PTI CPU: 0 PID: 2791 Comm: syz.0.15 Not tainted 6.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:ext4_mb_regular_allocator+0x586/0xef0 fs/ext4/mballoc.c:2894 Code: ed 0f 84 87 00 00 00 48 8b 44 24 30 48 8b b0 80 05 00 00 48 85 f6 74 31 49 63 46 2c 48 8b 4c 24 30 0f b6 49 54 48 d3 ee 31 d2 <48> f7 f6 83 7c 24 5c fe 72 15 48 85 d2 75 10 4c 89 f7 48 8d b4 24 RSP: 0018:ffffc90001f435c8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffff888101f2b000 RCX: 0000000000000004 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff824081f3 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810628e000 R13: 0000000000000003 R14: ffff888112987000 R15: 0000000000000000 FS: 00007f401c2526c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f401c9550c0 CR3: 000000010f6a2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_new_blocks+0x411/0xec0 fs/ext4/mballoc.c:6190 ext4_ext_map_blocks+0x90c/0x1b50 fs/ext4/extents.c:4285 ext4_map_blocks+0x2e4/0x600 fs/ext4/inode.c:621 _ext4_get_block+0x8b/0x150 fs/ext4/inode.c:763 ext4_get_block_unwritten+0x12/0x40 fs/ext4/inode.c:796 __block_write_begin_int+0x184/0x800 fs/buffer.c:2119 ext4_try_to_write_inline_data+0x227/0x620 fs/ext4/inline.c:740 ext4_write_begin+0xa5/0x600 fs/ext4/inode.c:1141 ext4_da_write_begin+0xcd/0x2f0 fs/ext4/inode.c:2875 generic_perform_write+0xa9/0x250 mm/filemap.c:3918 ext4_buffered_write_iter+0xc5/0x150 fs/ext4/file.c:299 ext4_file_write_iter+0x334/0x740 do_iter_write+0x1ef/0x2f0 fs/read_write.c:860 vfs_writev+0x1ba/0x2b0 fs/read_write.c:933 do_pwritev fs/read_write.c:1030 [inline] __do_sys_pwritev2 fs/read_write.c:1089 [inline] __se_sys_pwritev2+0xa8/0x110 fs/read_write.c:1080 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4d/0xf0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f401c7ca9f9 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:00007f401c252038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f401c958f80 RCX: 00007f401c7ca9f9 RDX: 000000000000000f RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007f401c8388ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000a12 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f401c958f80 R15: 00007ffdf6f91108 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_regular_allocator+0x586/0xef0 fs/ext4/mballoc.c:2894 Code: ed 0f 84 87 00 00 00 48 8b 44 24 30 48 8b b0 80 05 00 00 48 85 f6 74 31 49 63 46 2c 48 8b 4c 24 30 0f b6 49 54 48 d3 ee 31 d2 <48> f7 f6 83 7c 24 5c fe 72 15 48 85 d2 75 10 4c 89 f7 48 8d b4 24 RSP: 0018:ffffc90001f435c8 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffff888101f2b000 RCX: 0000000000000004 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff824081f3 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810628e000 R13: 0000000000000003 R14: ffff888112987000 R15: 0000000000000000 FS: 00007f401c2526c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f401c9550c0 CR3: 000000010f6a2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: 0f 84 87 00 00 00 je 0x8e 7: 48 8b 44 24 30 mov 0x30(%rsp),%rax c: 48 8b b0 80 05 00 00 mov 0x580(%rax),%rsi 13: 48 85 f6 test %rsi,%rsi 16: 74 31 je 0x49 18: 49 63 46 2c movslq 0x2c(%r14),%rax 1c: 48 8b 4c 24 30 mov 0x30(%rsp),%rcx 21: 0f b6 49 54 movzbl 0x54(%rcx),%ecx 25: 48 d3 ee shr %cl,%rsi 28: 31 d2 xor %edx,%edx * 2a: 48 f7 f6 div %rsi <-- trapping instruction 2d: 83 7c 24 5c fe cmpl $0xfffffffe,0x5c(%rsp) 32: 72 15 jb 0x49 34: 48 85 d2 test %rdx,%rdx 37: 75 10 jne 0x49 39: 4c 89 f7 mov %r14,%rdi 3c: 48 rex.W 3d: 8d .byte 0x8d 3e: b4 24 mov $0x24,%ah