ci2 starts bisection 2024-02-21 06:38:04.561809281 +0000 UTC m=+152160.388175913 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: 348959f11cca13642c5ed09ab2c979f9b34fdb588334ff5dd2f355d044f57c2f 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 [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: b5f58d7da1831a9e446012083afd671da235d5bdae7825c9102e5a3d3f6a6073 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 [KASAN ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=3820 full=7526 leaves diff=1994 split chunks (needed=false): <1994> split chunk #0 of len 1994 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], 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: afdf66bdca70d27fa1790619c68fe78c03c4980fd3c97ad179527c19afe35cef 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 [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: 3dbb33e4eee10941481732b197ee4be6b9fbd5d0fc26d4f020e66437d295471f 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 [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: abedf3e4474588456a5a7546148c16eeec4925b1f0441811a5c792917a0757de 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 [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: e34c0a6e21ab3ea4cd6ea8431bb828d15e7edd38f87bf363c12d23d027170333 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: c5fbc6cd8f6bc586faf05452257dc5bfaaf0aef0dcf3c05332f159e62442934c 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 8b4118fabd6eb75fed19483b04dab3a036886489 testing commit 8b4118fabd6eb75fed19483b04dab3a036886489 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1ae89eb61179fb4d5172d3e6e35a27bbda4e9263d8231a8b040ef7b81bfc3282 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: 58m51.374624872s (build: 30m48.214949132s, test: 25m7.216012001s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.78 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.78-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/1506 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/1506: #0: ffff888102e88438 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x12/0x60 fs/namespace.c:437 stack backtrace: CPU: 0 PID: 1506 Comm: syz-executor.0 Not tainted 6.1.78-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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+0x3d/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f21c5035ba9 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:00007f21c4bb80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f21c5154f80 RCX: 00007f21c5035ba9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f21c508147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f21c5154f80 R15: 00007fff742dc4d8