ci2 starts bisection 2024-10-24 19:36:15.606841398 +0000 UTC m=+36542.325442116 bisecting fixing commit since e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 building syzkaller on 28b24332d95f2f7df44ec7e7a5e0025bcadc6277 ensuring issue is reproducible on original commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: faa66bcfa5fd3ed8b5d79c90f42787fe137264a24f5f96b7890717a8d3abc428 all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 90bdd670777a56c17b51696567da2bb2f9bf32d6958eb21f84528e4db682ce2b all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed kconfig minimization: base=3824 full=7526 leaves diff=1995 split chunks (needed=false): <1995> split chunk #0 of len 1995 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2c0aec19638dc29ae4a3a3c3499f94c6957056e07fe4eb78c8ab1e06ac1adfdf all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 95ab9ffcbe2cf8402ec82cca39da9af1b965ee42e31edf6ae3bdda5f899b9599 all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f7b87f66c7b5de5c26d9bbd7dd19d2df4495fd5ca6938deb24c4c3e98d0d96b all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 97cb4ac0ba9fa4ba4b8aaf409c117888bea3bf99df1924096e5882e53ad9be53 all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit e7cddbb41b63252ddb5b7f8247da5d0b24adfac5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 244f92accb875a03feffbc48376606098a1daf503d4015b1d067f9e129432126 all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] the chunk can be dropped disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing current HEAD 7ec6f9fa3d97963b8133386d8fabc4f5595df4b1 testing commit 7ec6f9fa3d97963b8133386d8fabc4f5595df4b1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ca9891b3cafa40ec12f4f1a385ed866eedb763e1e3e544146d4b4fd4a2835a60 all runs: crashed: WARNING: bad unlock balance in ext4_ioctl representative crash: WARNING: bad unlock balance in ext4_ioctl, types: [LOCKDEP] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h35m21.021251181s (build: 57m37.558215536s, test: 31m46.494320238s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.114 crash: WARNING: bad unlock balance in ext4_ioctl EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. ===================================== WARNING: bad unlock balance detected! 6.1.114-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/1404 is trying to release lock (&type->i_mutex_dir_key) at: [] swap_inode_boot_loader fs/ext4/ioctl.c:513 [inline] [] __ext4_ioctl fs/ext4/ioctl.c:1424 [inline] [] ext4_ioctl+0x18e7/0x1a30 fs/ext4/ioctl.c:1614 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor.0/1404: #0: ffff88810b660438 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x12/0x60 fs/namespace.c:437 stack backtrace: CPU: 1 PID: 1404 Comm: syz-executor.0 Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x89/0xd7 lib/dump_stack.c:106 print_unlock_imbalance_bug+0x179/0x190 kernel/locking/lockdep.c:5102 __lock_release kernel/locking/lockdep.c:5339 [inline] lock_release+0x1c5/0x2b0 kernel/locking/lockdep.c:5682 up_write+0x2a/0x170 kernel/locking/rwsem.c:1625 swap_inode_boot_loader fs/ext4/ioctl.c:513 [inline] __ext4_ioctl fs/ext4/ioctl.c:1424 [inline] ext4_ioctl+0x18e7/0x1a30 fs/ext4/ioctl.c:1614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x6a/0xb0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f21008bcba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f210043f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f21009dbf80 RCX: 00007f21008bcba9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f210090847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f21009dbf80 R15: 00007ffcaf4e1fb8