From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4494C10F11 for ; Thu, 11 Apr 2019 01:43:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C3E120850 for ; Thu, 11 Apr 2019 01:43:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfDKBnI (ORCPT ); Wed, 10 Apr 2019 21:43:08 -0400 Received: from mail-it1-f198.google.com ([209.85.166.198]:60216 "EHLO mail-it1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbfDKBnH (ORCPT ); Wed, 10 Apr 2019 21:43:07 -0400 Received: by mail-it1-f198.google.com with SMTP id 75so4260071itz.9 for ; Wed, 10 Apr 2019 18:43:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=CoAqwgkJTZGzhrINrMhNBhLM2XrD+z6ak1UE+j6qdNA=; b=kiuSlcwph56ErShOTcpR+YJPTdltp3W1glGEJzVyJGCDlHQHE9pVV6kztOp9vSMoMP YlFz+o2RuK69Ibbj0gv1h9Jx9cWTRmA8cEZ+yhWcEDV2YzGK7KPWNq2grM10/h2DBRgg tFgjSymDuG6i6RrsNS/RWltMSqKtcjuR+i3WnBex21wYMM8h0/l3qn9mJ0qeSY07mhP3 IalulwmAmT2t/L1FOMKNxX5UyItqewM5BC8JMyz1vzdAlWTuu5elN1Z4UEfy1KtCaw/w GNXn8/Xg12fN0xBzSQgvElvM3wGIcFGFz1sqIZJDPVAQaFAQFXw795jPJdGL4DkACKzP lyVQ== X-Gm-Message-State: APjAAAU1k+pZBaexh+6TOn9tR2XHgwV1RJ0xvwFoJkMmD10wRJMVaFlh MVmFqgxMJC2Tl4rvo/kFA3jHQ+si6miAhjYgfpJtCxm3CQ93 X-Google-Smtp-Source: APXvYqwI14HeeShtsJgRzzVTmduxOBHZd181aUzkxgDkHozaJaiO/h0W6D6jSBmhZXmN5gGQhUUHDXQiCHuaq5XBrMWfC+CXhO32 MIME-Version: 1.0 X-Received: by 2002:a24:7f52:: with SMTP id r79mr1646970itc.33.1554946987067; Wed, 10 Apr 2019 18:43:07 -0700 (PDT) Date: Wed, 10 Apr 2019 18:43:07 -0700 In-Reply-To: <000000000000b7fd51058370d0d9@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000cf0d860586374ecb@google.com> Subject: Re: BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! From: syzbot To: davem@davemloft.net, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, marcel@holtmann.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following crash on: HEAD commit: 771acc7e Bluetooth: btusb: request wake pin with NOAUTOEN git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15f58add200000 kernel config: https://syzkaller.appspot.com/x/.config?x=4fb64439e07a1ec0 dashboard link: https://syzkaller.appspot.com/bug?extid=91fd909b6e62ebe06131 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11770a8f200000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=128c945b200000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+91fd909b6e62ebe06131@syzkaller.appspotmail.com BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 1174 Comm: kworker/u5:0 Not tainted 5.1.0-rc4+ #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci1 hci_power_on Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:2591 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:2665 [inline] validate_chain kernel/locking/lockdep.c:2685 [inline] __lock_acquire.cold+0x250/0x50d kernel/locking/lockdep.c:3701 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:4211 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xf7/0x1310 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hci_dev_do_close+0x317/0xf20 net/bluetooth/hci_core.c:1696 hci_power_on+0x1d2/0x580 net/bluetooth/hci_core.c:2191 process_one_work+0x98e/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352