Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1732791rwe; Sat, 15 Apr 2023 05:10:25 -0700 (PDT) X-Google-Smtp-Source: AKy350bP1C/B0hjQ11eCap/8UPvtVb86cuU9UBWxBJUck+LB9N1Y5FaSTbowsd8OtuDHHFG4rzoR X-Received: by 2002:a17:902:ce8c:b0:1a6:7b71:e64b with SMTP id f12-20020a170902ce8c00b001a67b71e64bmr6597458plg.15.1681560625611; Sat, 15 Apr 2023 05:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681560625; cv=none; d=google.com; s=arc-20160816; b=GUKmNrYqyYWwHrR+59+QUgZ/jGwkAwiQSqzJbirPOMY/b4mwD3c3MA00G/ssou1mce x09omOR3Djd+vj1Et1xkip6MVlWyxWIYoO4MDMKX0kuM/bPJnRseyNJaZYAj5C99trWV ExzPoZhcfABIz+hXzaeG1SzwCN7n1rmJp2rmPg+N45n8bDkdvguNtMh0LM8EKOyyEMwU 1zPDz5kl7Bo/lGHPVE2HX15sqSSOn8ipMkwlVfuaZJWCrRL4YFWqSgPBUemCPWX8qTxG DzMmSgTsSG8/vxViEUYpVeK6BgPjpoU7j0PO8V9Cz3V1lf0ZjxeLMQi3v53NSFdl1+82 exTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=Gw1ZDETNNEoLC8bozAtBwMlkLf8dC7i6XTm43c0ZuwI=; b=BYNImLR8H+rfwovjq0azM4O2DOZWsAQOBOaLWcIZ6MKgDQnO9tBj1F3nvcox9BehpJ 1yQZMjE18rtYYKfOJ2xcjey8Q5L59qQZ0KGH6gSDpOD2K+UEmbrAS3d08btd0YYl871b yxVG5mKXHiqa5mYWeg6M0oajOEMDwpeNgHZSa6U/OLzOHtPViTLIkNtHzHZms3Gs17c9 KJ8HjsbWjoH664IjG8sO0t1IMsUQOeHIo5NLwx9MuDePgVmT8I0pLz44GZxvjQyGgku5 wcslsLFF/qdyU64Mfv+IL4NDE3E0q5I+HSnPkLZOElceBwRgqR7slP/d95PToEV+1CFH kj3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a170902b7c500b001a69b10e568si4419346plz.364.2023.04.15.05.10.14; Sat, 15 Apr 2023 05:10:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbjDOLyq (ORCPT + 99 others); Sat, 15 Apr 2023 07:54:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbjDOLyp (ORCPT ); Sat, 15 Apr 2023 07:54:45 -0400 Received: from mail-il1-f207.google.com (mail-il1-f207.google.com [209.85.166.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 054034C30 for ; Sat, 15 Apr 2023 04:54:43 -0700 (PDT) Received: by mail-il1-f207.google.com with SMTP id b9-20020a923409000000b00326156e3a8bso5791085ila.3 for ; Sat, 15 Apr 2023 04:54:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681559682; x=1684151682; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Gw1ZDETNNEoLC8bozAtBwMlkLf8dC7i6XTm43c0ZuwI=; b=SSJVt9HWgVYHRj1cBtLhN9UpY/YBQ6R9gYqyWmTIbJZYhVcgvV8x5hpgFZPz23V6Wo nl7rnURtjY4HxYDLg6c6HybkhFOa4WCOSJ8blL/rNTDCNacnrjvHK5rhs3oEKgTSL4FT e2jadWqtP2hivH6iigNVXc6CdZcJxeZl0MKGcw2R83SxI9RUv+kyPkyUdFIdi8jKKxlV pZX9T2I7ZkboK8CziqwplGGCceRCTWrpPim8dvFEn8OAaBVNrUdBN1JrTW5cOhUpWdI2 NJaEBwMQNMRn6W6eND2AlNcEO5nM2xmm00FUmVnmGj1mqNsEXoKsc0swHsxDwFnUJNR6 VSyA== X-Gm-Message-State: AAQBX9c4TqEkMr5WPM8RfZgTc3mqd2cixWO8+AE5tgy69u7qdrDVk0Rh kIf+Z+SfrkJMPSSdPu2kohWRP1xBQuU4ouiIdRYm2y53HbD8 MIME-Version: 1.0 X-Received: by 2002:a02:856f:0:b0:40b:c412:70a9 with SMTP id g102-20020a02856f000000b0040bc41270a9mr3337698jai.4.1681559682368; Sat, 15 Apr 2023 04:54:42 -0700 (PDT) Date: Sat, 15 Apr 2023 04:54:42 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000894f5f05f95e9f4d@google.com> Subject: [syzbot] [bluetooth?] WARNING: bad unlock balance in l2cap_recv_frame From: syzbot To: davem@davemloft.net, edumazet@google.com, johan.hedberg@gmail.com, kuba@kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, luiz.dentz@gmail.com, marcel@holtmann.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 95abc817ab3a Merge tag 'acpi-6.3-rc7' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13c85123c80000 kernel config: https://syzkaller.appspot.com/x/.config?x=c21559e740385326 dashboard link: https://syzkaller.appspot.com/bug?extid=9519d6b5b79cf7787cf3 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/87e400f90ed9/disk-95abc817.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/cf7aa6546e50/vmlinux-95abc817.xz kernel image: https://storage.googleapis.com/syzbot-assets/a44d83ac79a7/bzImage-95abc817.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+9519d6b5b79cf7787cf3@syzkaller.appspotmail.com ===================================== WARNING: bad unlock balance detected! 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0 Not tainted ------------------------------------- kworker/u5:7/5124 is trying to release lock (&conn->chan_lock) at: [] l2cap_disconnect_rsp net/bluetooth/l2cap_core.c:4697 [inline] [] 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+0x85a4/0x9390 net/bluetooth/l2cap_core.c:7796 but there are no more locks to release! other info that might help us debug this: 2 locks held by kworker/u5:7/5124: #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff88801ecca938 ((wq_completion)hci1#2){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc9000468fda8 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 stack backtrace: CPU: 1 PID: 5124 Comm: kworker/u5:7 Not tainted 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: hci1 hci_rx_work 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:5346 [inline] lock_release+0x4f1/0x670 kernel/locking/lockdep.c:5689 __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:907 l2cap_disconnect_rsp net/bluetooth/l2cap_core.c:4697 [inline] 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+0x85a4/0x9390 net/bluetooth/l2cap_core.c:7796 l2cap_recv_acldata+0xa80/0xbf0 net/bluetooth/l2cap_core.c:8504 hci_acldata_packet net/bluetooth/hci_core.c:3828 [inline] hci_rx_work+0x709/0x1340 net/bluetooth/hci_core.c:4063 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.