loop0: detected capacity change from 0 to 1024 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= EXT4-fs: Ignoring removed oldalloc option EXT4-fs: Ignoring removed orlov option EXT4-fs (loop0): stripe (2) is not aligned with cluster size (16), stripe is disabled EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. EXT4-fs (loop0): start 0, size 131072, fe_logical 131072 ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4657! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5343 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4657 Code: 5c a8 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 e0 fa a3 8b 48 c7 c2 60 13 a4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 e8 2a 0a 00 90 <0f> 0b e8 b0 c9 3f ff 90 0f 0b e8 a8 c9 3f ff 90 0f 0b e8 a0 c9 3f RSP: 0018:ffffc9000e476ce0 EFLAGS: 00010246 RAX: 47c47dccb8c18900 RBX: 0000000000020000 RCX: 47c47dccb8c18900 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc9000e476927 R09: 1ffff92001c8ed24 R10: dffffc0000000000 R11: fffff52001c8ed25 R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 00007fcd4b86a6c0(0000) GS:ffff88808cf1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 0000000037a6e000 CR4: 0000000000352ef0 Call Trace: ext4_mb_new_blocks+0xc5e/0x46d0 fs/ext4/mballoc.c:6310 ext4_ext_map_blocks+0x18de/0x6b80 fs/ext4/extents.c:4383 ext4_map_create_blocks fs/ext4/inode.c:613 [inline] ext4_map_blocks+0x8da/0x1830 fs/ext4/inode.c:816 _ext4_get_block+0x1e3/0x470 fs/ext4/inode.c:916 ext4_get_block_unwritten+0x2e/0x100 fs/ext4/inode.c:949 ext4_block_write_begin+0xb14/0x1950 fs/ext4/inode.c:1203 ext4_write_begin+0xb40/0x1870 fs/ext4/ext4_jbd2.h:-1 ext4_da_write_begin+0x355/0xd30 fs/ext4/inode.c:3130 generic_perform_write+0x2e2/0x8f0 mm/filemap.c:4314 ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:299 ext4_file_write_iter+0x298/0x1c10 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x61d/0xb90 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x199/0x230 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcd4a99acb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcd4b86a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fcd4ac15fa0 RCX: 00007fcd4a99acb9 RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000004 RBP: 00007fcd4aa08bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcd4ac16038 R14: 00007fcd4ac15fa0 R15: 00007ffc071f01e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4657 Code: 5c a8 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 e0 fa a3 8b 48 c7 c2 60 13 a4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 e8 2a 0a 00 90 <0f> 0b e8 b0 c9 3f ff 90 0f 0b e8 a8 c9 3f ff 90 0f 0b e8 a0 c9 3f RSP: 0018:ffffc9000e476ce0 EFLAGS: 00010246 RAX: 47c47dccb8c18900 RBX: 0000000000020000 RCX: 47c47dccb8c18900 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc9000e476927 R09: 1ffff92001c8ed24 R10: dffffc0000000000 R11: fffff52001c8ed25 R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 00007fcd4b86a6c0(0000) GS:ffff88808cf1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000037a6e000 CR4: 0000000000352ef0