syzbot


WARNING: bad unlock balance in l2cap_disconnect_rsp

Status: auto-obsoleted due to no activity on 2024/10/03 18:59
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+c8c7fd79e80dadf0cb51@syzkaller.appspotmail.com
First crash: 581d, last: 548d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/19 linux-5.15.y (ToT) 9d6bde853685 C [report] WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/19 upstream (ToT) 2d1bcbc6cd70 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: bad unlock balance in l2cap_disconnect_rsp bluetooth C 72 556d 582d 0/28 auto-obsoleted due to no activity on 2023/08/13 05:44
linux-6.1 WARNING: bad unlock balance in l2cap_disconnect_rsp origin:lts-only C done 37 546d 580d 3/3 fixed on 2023/06/26 14:47
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/10/03 16:44 1h03m retest repro linux-5.15.y OK log
2024/10/03 16:44 19m retest repro linux-5.15.y OK log
2024/10/03 16:44 17m retest repro linux-5.15.y OK log
2024/10/03 16:44 16m retest repro linux-5.15.y OK log
2024/10/03 16:44 16m retest repro linux-5.15.y OK log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/08/31 22:23 29m fix candidate upstream error job log
2024/07/30 23:17 10m fix candidate upstream error job log
2024/05/30 17:42 0m fix candidate upstream error job log
2024/04/30 05:15 3m fix candidate upstream error job log
2024/03/22 19:48 0m fix candidate upstream error job log
2024/02/21 05:32 2m fix candidate upstream error job log
2023/12/17 05:32 0m fix candidate upstream error job log
2023/10/26 04:00 0m fix candidate upstream error job log
2023/09/18 20:02 0m fix candidate upstream error job log
2023/06/23 03:09 0m bisect fix linux-5.15.y error job log

Sample crash report:
=====================================
WARNING: bad unlock balance detected!
5.15.110-syzkaller #0 Not tainted
-------------------------------------
kworker/u5:1/3964 is trying to release lock (&conn->chan_lock) at:
[<ffff800010cd9104>] l2cap_disconnect_rsp+0x210/0x30c net/bluetooth/l2cap_core.c:4697
but there are no more locks to release!

other info that might help us debug this:
2 locks held by kworker/u5:1/3964:
 #0: ffff0000c899e138 ((wq_completion)hci0#2){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2279
 #1: ffff80001c4c7c00 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2281

stack backtrace:
CPU: 0 PID: 3964 Comm: kworker/u5:1 Not tainted 5.15.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: hci0 hci_rx_work
Call trace:
 dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 print_unlock_imbalance_bug+0x250/0x2a4 kernel/locking/lockdep.c:5064
 lock_release+0x4b8/0xa1c kernel/locking/lockdep.c:5642
 __mutex_unlock_slowpath+0xe0/0x6d4 kernel/locking/mutex.c:851
 mutex_unlock+0x8c/0xe0 kernel/locking/mutex.c:536
 l2cap_disconnect_rsp+0x210/0x30c net/bluetooth/l2cap_core.c:4697
 l2cap_le_sig_cmd net/bluetooth/l2cap_core.c:6426 [inline]
 l2cap_le_sig_channel net/bluetooth/l2cap_core.c:6464 [inline]
 l2cap_recv_frame+0x188c/0x6a48 net/bluetooth/l2cap_core.c:7796
 l2cap_recv_acldata+0x4f4/0x163c net/bluetooth/l2cap_core.c:8504
 hci_acldata_packet net/bluetooth/hci_core.c:4967 [inline]
 hci_rx_work+0x3b0/0x6d0 net/bluetooth/hci_core.c:5158
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2306
 worker_thread+0x910/0x1034 kernel/workqueue.c:2453
 kthread+0x37c/0x45c kernel/kthread.c:319
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870

Crashes (49):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/07 19:13 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/07 18:18 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/06 10:11 linux-5.15.y 8a7f2a5c5aa1 de870ca5 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/01 01:46 linux-5.15.y f48aeeaaa64c 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/29 22:22 linux-5.15.y f48aeeaaa64c 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/23 00:34 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/22 16:48 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/22 00:56 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/20 15:15 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/19 23:55 linux-5.15.y 9d6bde853685 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/19 09:41 linux-5.15.y 9d6bde853685 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/18 02:11 linux-5.15.y 9d6bde853685 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/17 20:30 linux-5.15.y 9d6bde853685 eaac4681 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/17 20:29 linux-5.15.y 9d6bde853685 eaac4681 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/16 02:03 linux-5.15.y b0ece631f84a 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/15 17:59 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/15 16:45 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/15 14:30 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/13 15:01 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/13 11:17 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/12 15:38 linux-5.15.y b0ece631f84a ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/12 06:28 linux-5.15.y b0ece631f84a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/12 01:52 linux-5.15.y b0ece631f84a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/11 13:29 linux-5.15.y 8a7f2a5c5aa1 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/11 10:22 linux-5.15.y 8a7f2a5c5aa1 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/11 08:44 linux-5.15.y 8a7f2a5c5aa1 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/10 11:28 linux-5.15.y 8a7f2a5c5aa1 14b12a99 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/10 07:17 linux-5.15.y 8a7f2a5c5aa1 1964022b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/09 19:48 linux-5.15.y 8a7f2a5c5aa1 30aa2a7e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/08 23:15 linux-5.15.y 8a7f2a5c5aa1 c7a5e2a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/06 21:45 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/06 12:13 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/05 23:54 linux-5.15.y 8a7f2a5c5aa1 de870ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/04 20:41 linux-5.15.y 8a7f2a5c5aa1 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/03 22:42 linux-5.15.y 8a7f2a5c5aa1 b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/03 15:01 linux-5.15.y 8a7f2a5c5aa1 b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/03 10:30 linux-5.15.y 8a7f2a5c5aa1 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/03 08:30 linux-5.15.y 8a7f2a5c5aa1 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/02 22:51 linux-5.15.y 8a7f2a5c5aa1 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/05/02 18:03 linux-5.15.y 8a7f2a5c5aa1 52d40fd2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/28 20:03 linux-5.15.y f48aeeaaa64c 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/27 14:48 linux-5.15.y f48aeeaaa64c 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/26 13:33 linux-5.15.y f48aeeaaa64c 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/24 19:50 linux-5.15.y 3299fb36854f fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/24 15:07 linux-5.15.y 3299fb36854f fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/23 04:11 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/21 01:24 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
2023/04/20 14:13 linux-5.15.y 3299fb36854f a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: bad unlock balance in l2cap_disconnect_rsp
* Struck through repros no longer work on HEAD.