Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2054724pxj; Wed, 19 May 2021 22:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQskhrIVuN2XzAJCvc8aXW88e6QfuIRtGqb1bqJbj7+HT4xXS5ZxJxb/7U4SBH5h58tvfo X-Received: by 2002:a92:2a0a:: with SMTP id r10mr3116684ile.274.1621487051257; Wed, 19 May 2021 22:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621487051; cv=none; d=google.com; s=arc-20160816; b=PMGG+6BCey5lMPoykyBN/kuMJkv01n1bZ8kgBDFkW3G3+8ahIBzTZP8Qhc5Z279BcB t5/PLGQpO1TgbqU0527QLSYCKa1Xz+7o0HoLhBTDHAorcJ11O+bJmioB9Z/FgKGOe7UQ Jqvifdh8SUPCb+YWkq3j8Wk+I9y95Rj+qxC8z2wwg063p6y9qb1sHPxHYY1xNKp/11+X lq0JaY4adGWruZNsG2gR346EOQ2R1E+DZzOpz+EYA7HSg7SnkVOET/sXwD9ic41AayWq L9znUngMdaPUcVbJlKMalY/5yogjmv97mFV4Rmxih5rLtlK7qHTZMbmzSx+smlY/GWIX w4nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=AhTosy3fVto9u58n36vUqojPtjo8OjCylgRS8Neatkk=; b=xVPO2wmu9atg4F2lILYabBOI91Wks8Ntvgx2gc5mhVa3LBktoTZmu/zqgmEuzoY7tA sLNEYfr3c/BOTs2xho8EdAGYuIUniOTQmoSU4oQQ+cFVoMKbATqpHx2Cia3Stjthvk/S Sb+dSRYeuHH0rh7ncY27n0BhlX/Oo7KZvXKne4IQfuIpZbfVHJA5VCqoMLJL5TuHUshS C33OOZlpO5KuSp9T0K6fN0aQv3ADu8XoehR+/emjUKEiNJEfNyycn9So7S+JLu8+jXud MBAwkNhxX0yR7s3rVm0uV6bfMfyScFbSlVjEC2DeRxu4X2HiSmCWSMaAIWfBwWtHSWId 2Jww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e25si1397267iol.49.2021.05.19.22.03.57; Wed, 19 May 2021 22:04:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229788AbhETFEP (ORCPT + 99 others); Thu, 20 May 2021 01:04:15 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:54300 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbhETFEO (ORCPT ); Thu, 20 May 2021 01:04:14 -0400 Received: from fsav107.sakura.ne.jp (fsav107.sakura.ne.jp [27.133.134.234]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 14K5228p049599; Thu, 20 May 2021 14:02:02 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav107.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp); Thu, 20 May 2021 14:02:02 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 14K522Xq049596 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Thu, 20 May 2021 14:02:02 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [syzbot] BUG: MAX_LOCKDEP_KEYS too low! (2) To: Dmitry Vyukov , Randy Dunlap , David Miller Cc: syzbot , Peter Zijlstra , "Jason A. Donenfeld" , Jakub Kicinski , LKML , netdev , syzkaller-bugs , WireGuard mailing list References: <0000000000003687bd05c2b2401d@google.com> From: Tetsuo Handa Message-ID: <208cd812-214f-ef2f-26ec-cc7a73953885@i-love.sakura.ne.jp> Date: Thu, 20 May 2021 14:02:00 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/05/20 5:09, Dmitry Vyukov wrote: > On Wed, May 19, 2021 at 9:58 PM Randy Dunlap wrote: >> >> On 5/19/21 12:48 PM, Dmitry Vyukov wrote: >>> On Wed, May 19, 2021 at 7:35 PM syzbot >>> wrote: >>>> >>>> Hello, >>>> >>>> syzbot found the following issue on: >>>> >>>> HEAD commit: b81ac784 net: cdc_eem: fix URL to CDC EEM 1.0 spec >>>> git tree: net >>>> console output: https://syzkaller.appspot.com/x/log.txt?x=15a257c3d00000 >>>> kernel config: https://syzkaller.appspot.com/x/.config?x=5b86a12e0d1933b5 >>>> dashboard link: https://syzkaller.appspot.com/bug?extid=a70a6358abd2c3f9550f >>>> >>>> Unfortunately, I don't have any reproducer for this issue yet. >>>> >>>> IMPORTANT: if you fix the issue, please add the following tag to the commit: >>>> Reported-by: syzbot+a70a6358abd2c3f9550f@syzkaller.appspotmail.com >>>> >>>> BUG: MAX_LOCKDEP_KEYS too low! >>> >> >> include/linux/lockdep.h >> >> #define MAX_LOCKDEP_KEYS_BITS 13 >> #define MAX_LOCKDEP_KEYS (1UL << MAX_LOCKDEP_KEYS_BITS) > > Ouch, so it's not configurable yet :( I didn't try to make this value configurable, for > Unless, of course, we identify the offender that produced thousands of > lock classes in the log and fix it. number of currently active locks should decrease over time. If this message is printed, increasing this value unlikely helps. We have https://lkml.kernel.org/r/c099ad52-0c2c-b886-bae2-c64bd8626452@ozlabs.ru which seems to be unresolved. Regarding this report, cleanup of bonding device is too slow to catch up to creation of bonding device? We might need to throttle creation of BPF, bonding etc. which involve WQ operation for clean up ?