ci2 starts bisection 2024-09-22 09:52:03.368117248 +0000 UTC m=+228514.303185348 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: e4b3946573ea61d8449071848579b65263c5430daf508f0c9ae7b00bb8f7aba8 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 [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: 5341575e9d66f651489bd55429ad0512e60eb79b75cd08dec9d8f9449fbbe49b 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=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 [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: 1163c99b2f725bceb2fa10ccc3e378534711b143aae6eaae59b31460ae269b13 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 [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: 5f68f720484eb695f97d9b96e149fe03a8beef84485ed844463c46e79356d743 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: 07464bf9258ba936778b4d899813efe50b5ba85b017599ea52caa977e06440c5 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 [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: 0cec35f91d9b3a98b26589c49c70ada400740388cdce418bf5b6f79064c38a3f 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 [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: 4154722f607608f64c5d984dc27957a0b7c828ed24c3bf51454e5122a6605d11 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 [BUG KASAN ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD e526b12bf9169887f8cfe5afed2b10e56bdca4c3 testing commit e526b12bf9169887f8cfe5afed2b10e56bdca4c3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a0998079a568669b053ab287739f4575dbadc72a8e3039fec016a5a15b680ba0 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: 1h27m39.44251857s (build: 46m44.404028127s, test: 33m29.674000052s) crash still not fixed or there were kernel test errors commit msg: Linux 6.1.111 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.111-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/1415 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/1415: #0: ffff888101aef438 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x12/0x60 fs/namespace.c:437 stack backtrace: CPU: 1 PID: 1415 Comm: syz-executor.0 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:0x7f7295213ba9 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:00007f7294d960c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7295332f80 RCX: 00007f7295213ba9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f729525f47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f7295332f80 R15: 00007ffda23a4208