ci2 starts bisection 2024-01-11 01:01:08.880497326 +0000 UTC m=+36231.169604688 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: eece51b1561be611b76ed365e187fe6041fa61c5d44ad8eb5e5dffef34d7b6a7 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 [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: 70bfbfffe75d96fdfc42c4c03d3f7b2d3ab03e38df08ef36532adabe096bf35c 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 [UBSAN BUG KASAN ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3820 full=7526 leaves diff=1996 split chunks (needed=false): <1996> split chunk #0 of len 1996 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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: e6a7bfba83607e96333c93d06b4b107081b9c6b184c9891f63e695a6b585c553 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 [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: 57977770610ef0debe7ceff857aaaefe34753cefadccf730a7a04c858d12bd6c 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], 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: aefec92535793a6b6f997132e7c7111b08456a99b44dc55497bf30d72ec545b2 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: cc1d95466f926166af2730aed637c69c5950cceaa8755580a2a6d350121cb43c 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 [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: bef7f28413a570da7c94483fb109fb324452bd1fc037f94401d50fc81e8aacd8 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 7c58bfa711cb556ef1edc48e7dfa6d84e5fb8912 testing commit 7c58bfa711cb556ef1edc48e7dfa6d84e5fb8912 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0ebc22bb4fd13a2f90882108b330f0c99b29a0fcbb929c4d417d60bb7725455 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: 53m57.948936891s (build: 27m20.251262206s, test: 23m56.466365907s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.72 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.72-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/1517 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/1517: #0: ffff888106a5a438 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x12/0x60 fs/namespace.c:437 stack backtrace: CPU: 1 PID: 1517 Comm: syz-executor.0 Not tainted 6.1.72-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa40c14bba9 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:00007fa40bcce0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa40c26af80 RCX: 00007fa40c14bba9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007fa40c19747a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fa40c26af80 R15: 00007fff75b40d08