loop0: detected capacity change from 0 to 32768 ======================================================= 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. ======================================================= ocfs2: Slot 0 on device (7,0) was already allocated to this node! ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. loop0: detected capacity change from 32768 to 0 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:804! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_reserve_suballoc_bits+0x485d/0x4f30 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 43 68 60 fe e9 63 dd ff ff e8 09 85 4f 08 e8 74 48 f8 fd 90 <0f> 0b e8 6c 48 f8 fd 48 c7 c7 40 11 04 8f 48 8b 74 24 10 48 89 da RSP: 0018:ffffc9000d47e2a0 EFLAGS: 00010287 RAX: ffffffff83cb1a5c RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000eb32000 RSI: 000000000000034c RDI: 000000000000034d RBP: ffffc9000d47e790 R08: ffffffff83cad468 R09: 1ffffffff2079fae R10: dffffc0000000000 R11: fffffbfff2079faf R12: ffff888044334fb8 R13: 000000000000ffff R14: dffffc0000000000 R15: ffff8880543d8e00 FS: 00007fa32f1f76c0(0000) GS:ffff88808c824000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dc28e42c38 CR3: 0000000040fb8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_reserve_cluster_bitmap_bits fs/ocfs2/suballoc.c:1132 [inline] ocfs2_reserve_clusters_with_limit+0x3df/0xb60 fs/ocfs2/suballoc.c:1177 ocfs2_reserve_clusters fs/ocfs2/suballoc.c:1227 [inline] ocfs2_lock_allocators+0x32f/0x680 fs/ocfs2/suballoc.c:2746 ocfs2_extend_allocation+0x4ef/0x1bf0 fs/ocfs2/file.c:589 ocfs2_extend_no_holes+0x1f8/0x4d0 fs/ocfs2/file.c:1027 ocfs2_expand_nonsparse_inode+0x157/0x470 fs/ocfs2/aops.c:1606 ocfs2_write_begin_nolock+0x2019/0x4e80 fs/ocfs2/aops.c:1672 ocfs2_write_begin+0x207/0x3a0 fs/ocfs2/aops.c:1889 generic_perform_write+0x329/0xa10 mm/filemap.c:4102 ocfs2_file_write_iter+0x190f/0x20d0 fs/ocfs2/file.c:2469 do_iter_readv_writev+0x71f/0x9d0 vfs_writev+0x38d/0xbc0 fs/read_write.c:1055 do_pwritev fs/read_write.c:1151 [inline] __do_sys_pwritev2 fs/read_write.c:1209 [inline] __se_sys_pwritev2+0x1b8/0x2d0 fs/read_write.c:1200 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa32e38d169 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:00007fa32f1f7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fa32e5a5fa0 RCX: 00007fa32e38d169 RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 000000000000000d RBP: 00007fa32e40e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000800001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa32e5a5fa0 R15: 00007ffc303d3e58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_reserve_suballoc_bits+0x485d/0x4f30 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 43 68 60 fe e9 63 dd ff ff e8 09 85 4f 08 e8 74 48 f8 fd 90 <0f> 0b e8 6c 48 f8 fd 48 c7 c7 40 11 04 8f 48 8b 74 24 10 48 89 da RSP: 0018:ffffc9000d47e2a0 EFLAGS: 00010287 RAX: ffffffff83cb1a5c RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000eb32000 RSI: 000000000000034c RDI: 000000000000034d RBP: ffffc9000d47e790 R08: ffffffff83cad468 R09: 1ffffffff2079fae R10: dffffc0000000000 R11: fffffbfff2079faf R12: ffff888044334fb8 R13: 000000000000ffff R14: dffffc0000000000 R15: ffff8880543d8e00 FS: 00007fa32f1f76c0(0000) GS:ffff88808c824000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000005f18 CR3: 0000000040fb8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400