===================================== WARNING: bad unlock balance detected! 6.4.0-rc1-syzkaller-00360-g321a64b32815 #0 Not tainted ------------------------------------- syz-executor.4/12580 is trying to release lock (&map->freeze_mutex) at: [] map_freeze kernel/bpf/syscall.c:1951 [inline] [] __sys_bpf+0x3234/0x5520 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.4/12580. stack backtrace: CPU: 1 PID: 12580 Comm: syz-executor.4 Not tainted 6.4.0-rc1-syzkaller-00360-g321a64b32815 #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+0xd9/0x150 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+0x3234/0x5520 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+0x79/0xc0 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:0x7f789728c169 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:00007f789809f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f78973ac050 RCX: 00007f789728c169 RDX: 0000000000000004 RSI: 0000000020000000 RDI: 0000000000000016 RBP: 00007f78972e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde921952f R14: 00007f789809f300 R15: 0000000000022000 netlink: 754 bytes leftover after parsing attributes in process `syz-executor.4'.