===================================== WARNING: bad unlock balance detected! 6.4.0-rc1-syzkaller #0 Not tainted ------------------------------------- syz-executor.0/5447 is trying to release lock (&map->freeze_mutex) at: [] map_freeze kernel/bpf/syscall.c:1951 [inline] [] __sys_bpf+0x2389/0x3fd0 kernel/bpf/syscall.c:5078 but there are no more locks to release! other info that might help us debug this: no locks held by syz-executor.0/5447. stack backtrace: CPU: 0 PID: 5447 Comm: syz-executor.0 Not tainted 6.4.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 __lock_release kernel/locking/lockdep.c:5368 [inline] lock_release+0x4f1/0x670 kernel/locking/lockdep.c:5711 __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:907 map_freeze kernel/bpf/syscall.c:1951 [inline] __sys_bpf+0x2389/0x3fd0 kernel/bpf/syscall.c:5078 __do_sys_bpf kernel/bpf/syscall.c:5185 [inline] __se_sys_bpf kernel/bpf/syscall.c:5183 [inline] __x64_sys_bpf+0x74/0xb0 kernel/bpf/syscall.c:5183 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3f1268c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f3f119fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3f127abf80 RCX: 00007f3f1268c169 RDX: 0000000000000004 RSI: 0000000020000180 RDI: 0000000000000016 RBP: 00007f3f126e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5489f8cf R14: 00007f3f119fe300 R15: 0000000000022000