ci2 starts bisection 2024-08-25 21:49:44.370849636 +0000 UTC m=+210513.260989925 bisecting fixing commit since 458ce51d0356ee60c93f9f807d9827cf2a41643d building syzkaller on 55d6f11d1578896a20515e21906295fcf2c126aa ensuring issue is reproducible on original commit 458ce51d0356ee60c93f9f807d9827cf2a41643d testing commit 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eda0978899ce418bcfe31aacd49b456c6f3d405ac05fc4394d6a4b62b4c2d06e all runs: crashed: WARNING: bad unlock balance in unlock_two_nondirectories representative crash: WARNING: bad unlock balance in unlock_two_nondirectories, 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 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3546577497cda91be76901ade1c6fda695793ccdba64c48e7622c87c2ac50e96 all runs: crashed: WARNING: bad unlock balance in unlock_two_nondirectories representative crash: WARNING: bad unlock balance in unlock_two_nondirectories, 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=3703 full=7265 leaves diff=1981 split chunks (needed=false): <1981> split chunk #0 of len 1981 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 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad5cd91ea198b48a7f1516a4ace492ba855441d018c0a5b67033109edaf2251e all runs: crashed: WARNING: bad unlock balance in unlock_two_nondirectories representative crash: WARNING: bad unlock balance in unlock_two_nondirectories, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4936a801f8005b71de153c331a349f8951a2d55752bdb89866c1cd234d75674c all runs: crashed: WARNING: bad unlock balance in unlock_two_nondirectories representative crash: WARNING: bad unlock balance in unlock_two_nondirectories, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN ATOMIC_SLEEP HANG], they are not needed testing commit 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7afbfd25461a5a8b1d00ed4330f9fa1f0c90947803ca8836ef7bd36a3b042f5f 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 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0584f6a977ca5e57f39cb422477cffb368c35b34058ff074f19b90f2309be4c6 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 458ce51d0356ee60c93f9f807d9827cf2a41643d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b08c234dac00b62beeb733660d3d28e4697ec52a5dfed2f314a23b6fd214e58 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 fa93fa65db6e232b5f2226dd86c9f066ec6dfd97 testing commit fa93fa65db6e232b5f2226dd86c9f066ec6dfd97 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5c5c360a81d70135e14c9d493e27c7de033c2cff28f364bbd4313d609dfb7c99 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: 1h0m17.149276613s (build: 18m29.857281069s, test: 22m0.882099717s) crash still not fixed or there were kernel test errors commit msg: Linux 5.15.165 crash: WARNING: bad unlock balance in __ext4_ioctl EXT4-fs (loop0): 1 truncate cleaned up 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! 5.15.165-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/1403 is trying to release lock (&type->i_mutex_dir_key) at: [] swap_inode_boot_loader fs/ext4/ioctl.c:262 [inline] [] __ext4_ioctl+0x984/0x12d0 fs/ext4/ioctl.c:1056 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor.0/1403: #0: ffff88810e933438 (sb_writers#13){.+.+}-{0:0}, at: __ext4_ioctl+0x569/0x12d0 fs/ext4/ioctl.c:1053 stack backtrace: CPU: 1 PID: 1403 Comm: syz-executor.0 Not tainted 5.15.165-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+0x57/0x7d lib/dump_stack.c:106 print_unlock_imbalance_bug kernel/locking/lockdep.c:5529 [inline] __lock_release kernel/locking/lockdep.c:5302 [inline] lock_release.cold+0xe/0x26 kernel/locking/lockdep.c:5643 up_write+0x12/0xc0 kernel/locking/rwsem.c:1603 swap_inode_boot_loader fs/ext4/ioctl.c:262 [inline] __ext4_ioctl+0x984/0x12d0 fs/ext4/ioctl.c:1056 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x7b/0xb0 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fbd2c8bada9 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:00007fbd2c43c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbd2c9e8f80 RCX: 00007fbd2c8bada9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007fbd2c90747a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fbd2c9e8f80 R15: 00007ffda15511a8