bisecting fixing commit since 438645193e59e91761ccb3fa55f6ce70b615ff93 building syzkaller on e4f103c49590d5ff0c7e416ade15a99f54029f8d testing commit 438645193e59e91761ccb3fa55f6ce70b615ff93 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d3f8e459841cf263f6495015f446c3dd48486d9ce500d8a2ffc4503824c06311 run #0: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #1: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #2: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #3: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #4: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #5: basic kernel testing failed: BUG: program execution failed: executor NUM: EOF run #6: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #7: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #8: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #9: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #10: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #11: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #12: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #13: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #14: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #15: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #16: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #17: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #18: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg run #19: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg testing current HEAD 9195e5e0adbb8a9a5ee9ef0f9dedf6340d827405 testing commit 9195e5e0adbb8a9a5ee9ef0f9dedf6340d827405 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6b9ec7e5aeb4cc6afbea7da6239a822ee015c511956377aeb36923d875cfd012 all runs: crashed: WARNING: bad unlock balance in rxrpc_do_sendmsg revisions tested: 2, total time: 19m34.977741895s (build: 13m6.756454493s, test: 5m52.787958007s) the crash still happens on HEAD commit msg: Merge tag 'linux-kselftest-fixes-5.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest crash: WARNING: bad unlock balance in rxrpc_do_sendmsg ===================================== WARNING: bad unlock balance detected! 5.17.0-rc4-syzkaller #0 Not tainted ------------------------------------- syz-executor140/4051 is trying to release lock (&call->user_mutex) at: [] rxrpc_do_sendmsg+0x859/0x1110 net/rxrpc/sendmsg.c:748 but there are no more locks to release! other info that might help us debug this: no locks held by syz-executor140/4051. stack backtrace: CPU: 1 PID: 4051 Comm: syz-executor140 Not tainted 5.17.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 print_unlock_imbalance_bug include/trace/events/lock.h:58 [inline] __lock_release kernel/locking/lockdep.c:5306 [inline] lock_release.cold+0x49/0x4e kernel/locking/lockdep.c:5659 __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:893 rxrpc_do_sendmsg+0x859/0x1110 net/rxrpc/sendmsg.c:748 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:725 ____sys_sendmsg+0x5bf/0x7a0 net/socket.c:2413 ___sys_sendmsg+0xd3/0x150 net/socket.c:2467 __sys_sendmsg+0xb2/0x140 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa223ab1de9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa223a64318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa223b3a3e8 RCX: 00007fa223ab1de9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fa223b3a3e0 R08: 000000000000224e R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000d7860cdad7 R13: 00007ffea8534d8f R14: 00007fa223a64400 R15: 0000000000