EXT4-fs (loop0): mounted filesystem without journal. Opts: jqfmt=vfsold,resgid=0x000000000000ee00,bh,noload,data_err=ignore,usrjquota=,,errors=continue. Quota mode: none. ===================================== WARNING: bad unlock balance detected! syzkaller #0 Not tainted ------------------------------------- syz-executor.0/4473 is trying to release lock (&type->i_mutex_dir_key) at: [] swap_inode_boot_loader+0x31f/0x10e0 fs/ext4/ioctl.c:262 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor.0/4473: #0: ffff88807bb8c460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x5c/0x200 fs/namespace.c:430 stack backtrace: CPU: 0 PID: 4473 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 __lock_release kernel/locking/lockdep.c:5302 [inline] lock_release+0x538/0x8a0 kernel/locking/lockdep.c:5643 up_write+0x29/0x410 kernel/locking/rwsem.c:1603 swap_inode_boot_loader+0x31f/0x10e0 fs/ext4/ioctl.c:262 __ext4_ioctl fs/ext4/ioctl.c:1065 [inline] ext4_ioctl+0x1ad2/0x3840 fs/ext4/ioctl.c:1291 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f50c8e223b9 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 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f50c81b20b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f50c8f5ff80 RCX: 00007f50c8e223b9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f50c8e83498 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f50c8f5ff80 R15: 00007ffc794cff38 ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff8880666f8d78, owner = 0x0, curr 0xffff88807e7ad940, list empty WARNING: CPU: 0 PID: 4473 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline] WARNING: CPU: 0 PID: 4473 at kernel/locking/rwsem.c:1350 up_write+0x397/0x410 kernel/locking/rwsem.c:1604 Modules linked in: CPU: 0 PID: 4473 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__up_write kernel/locking/rwsem.c:1349 [inline] RIP: 0010:up_write+0x397/0x410 kernel/locking/rwsem.c:1604 Code: 4c 0f 44 d0 48 c7 c7 60 1f 2b 8a 48 c7 c6 20 22 2b 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4d 89 f9 41 52 e8 9d 46 59 08 48 83 c4 08 <0f> 0b e9 70 fd ff ff 48 c7 c1 c8 45 8b 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000308f960 EFLAGS: 00010296 RAX: bff81d0e5f17b200 RBX: ffff8880666f8d78 RCX: ffff88807e7ad940 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff8880b9033d7f R09: 1ffff110172067af R10: dffffc0000000000 R11: ffffed10172067b0 R12: 0000000000000000 R13: ffff8880666f8dd0 R14: ffff8880666f8d78 R15: ffff88807e7ad940 FS: 00007f50c81b26c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f50c8e637d0 CR3: 0000000073b28000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: swap_inode_boot_loader+0x31f/0x10e0 fs/ext4/ioctl.c:262 __ext4_ioctl fs/ext4/ioctl.c:1065 [inline] ext4_ioctl+0x1ad2/0x3840 fs/ext4/ioctl.c:1291 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f50c8e223b9 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 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f50c81b20b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f50c8f5ff80 RCX: 00007f50c8e223b9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f50c8e83498 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f50c8f5ff80 R15: 00007ffc794cff38