loop4: detected capacity change from 0 to 32768 (syz.4.812,8003,0):ocfs2_read_blocks:240 ERROR: status = -12 ===================================== WARNING: bad unlock balance detected! 6.11.0-syzkaller-02574-ga430d95c5efa #0 Not tainted ------------------------------------- syz.4.812/8003 is trying to release lock (&oi->ip_io_mutex) at: [] ocfs2_read_blocks+0xeaa/0x1530 fs/ocfs2/buffer_head_io.c:394 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz.4.812/8003: #0: ffff88805e0100e0 (&type->s_umount_key#50/1){+.+.}-{3:3}, at: alloc_super+0x23d/0xbd0 fs/super.c:344 stack backtrace: CPU: 0 UID: 0 PID: 8003 Comm: syz.4.812 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 __lock_release kernel/locking/lockdep.c:5436 [inline] lock_release+0x4ec/0x6f0 kernel/locking/lockdep.c:5780 __mutex_unlock_slowpath+0xa3/0x650 kernel/locking/mutex.c:912 ocfs2_read_blocks+0xeaa/0x1530 fs/ocfs2/buffer_head_io.c:394 ocfs2_map_slot_buffers fs/ocfs2/slot_map.c:385 [inline] ocfs2_init_slot_info+0x688/0x10c0 fs/ocfs2/slot_map.c:424 ocfs2_initialize_super.isra.0+0x20c7/0x32f0 fs/ocfs2/super.c:2274 ocfs2_fill_super+0xfb2/0x4370 fs/ocfs2/super.c:994 mount_bdev+0x1e6/0x2d0 fs/super.c:1679 legacy_get_tree+0x10c/0x220 fs/fs_context.c:662 vfs_get_tree+0x92/0x380 fs/super.c:1800 do_new_mount fs/namespace.c:3507 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount fs/namespace.c:4032 [inline] __x64_sys_mount+0x294/0x320 fs/namespace.c:4032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3adf57f69a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f3ae030be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3ae030bef0 RCX: 00007f3adf57f69a RDX: 0000000020004440 RSI: 0000000020000040 RDI: 00007f3ae030beb0 RBP: 0000000020004440 R08: 00007f3ae030bef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f3ae030beb0 R14: 000000000000443b R15: 0000000020000180 (syz.4.812,8003,1):ocfs2_map_slot_buffers:388 ERROR: status = -12 (syz.4.812,8003,1):ocfs2_init_slot_info:426 ERROR: status = -12 (syz.4.812,8003,1):ocfs2_initialize_super:2276 ERROR: status = -12 (syz.4.812,8003,1):ocfs2_fill_super:1178 ERROR: status = -12