Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1279816rda; Mon, 23 Oct 2023 07:58:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESa7F8/c/uGQfIePT2nd7Td9QpDO2bfSyWCOZaqOUKvlW8UCMoF6CbYkfQW7huhoF5xSsE X-Received: by 2002:a17:90b:95:b0:27d:6b5:9e07 with SMTP id bb21-20020a17090b009500b0027d06b59e07mr6835001pjb.1.1698073124087; Mon, 23 Oct 2023 07:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698073124; cv=none; d=google.com; s=arc-20160816; b=UV2TQAEDjKXvmSiznoOg0hVXafCpGsobhD/MRJq0+V3zzqUKLdfpJPTzck8cN/bVOS GvHeh6DzgK42EvSd7M7Ytc6FVn8rpy/Ip74wbs5rOolERVsejd7ctQ5mF3G44/KcVrpK jdjIwOr1gDIBS5jRMyYS32l6HxuqsSgZs7a8HpDQmaSBHURV5z6bWdFx+8D3ouNHMpuF r361Yf+Zy6J/oloWriwt5HVAuuhnBLTYZy/n4jRzFaY4iCC08jSILSxveJlWvt7c0JyV J8rXDRTq797YF4TL7S1f6gdv5uMFa9nCTbgGgr2Vv1sOJRgc3NaqyI+9jYi6fErIN/wG O/nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=3mWnimA+rB45DdXIO//K0LJL74BS6+rPPoMNkuJC8w4=; fh=AJpSgsqJgGnvkR1YkVAyQRF2asimlajfeGLR+y9qIq8=; b=Ab/Iklmony8QulkTLb3lSppdKgwgLnJq/gmKVGc9SopGdypzoobdVQEkWfNJ5Eq6GW KHK3imhQmnJtteeJ+BQDD0fDflbwFYx1avc4lcI5dENy3GDL+F4eb5RRgblj5Sgt+ocy 8pr+rlDW5Ar5h1Q3L4tYckO/t/a6/oQ5It4siXKVApAY6vp09raR1wG6O4uLZtTotGmi 2pKJd6WdwnTfMx3O661LST1BRmpmUZxJug+YP4xhCuZjx9nFNdXms5nNFp5JbrzVtj+2 idZkQeN9ORfPMBRTl11f7nrgJc4AZBzEt7QjrD/Wa8v2Xhsd5hhHF2aF1rJAuKNyKHsi SmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=C6qrs4g0; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id hk1-20020a17090b224100b00276c28cdd4fsi6927246pjb.31.2023.10.23.07.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:58:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=C6qrs4g0; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 877A7805B208; Mon, 23 Oct 2023 07:58:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232913AbjJWO6E (ORCPT + 99 others); Mon, 23 Oct 2023 10:58:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233807AbjJWOow (ORCPT ); Mon, 23 Oct 2023 10:44:52 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49717269D; Mon, 23 Oct 2023 07:43:33 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 731642188D; Mon, 23 Oct 2023 14:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1698072211; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3mWnimA+rB45DdXIO//K0LJL74BS6+rPPoMNkuJC8w4=; b=C6qrs4g0jsDTg/6TjxWrP2fI0tkZUezsEVX5EraDP83B9ZInndNT3opR3YA/aF4lTpEF6N aGY2OpJHJMZmRIZqm1tdh1N+DEk53L7NbXtq5gbPrRMEfDKLYg2euxd8RXJ/Dyn8OFmrMF q5cV+n9DAXfJ455zH4C3YdIs/XEXqkY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1698072211; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3mWnimA+rB45DdXIO//K0LJL74BS6+rPPoMNkuJC8w4=; b=IVdZCgiSzyXjHkb8KY2QiZabkPJ/NYpnPHJVjtkdaw5LEgBoTmgi3WGlOittza//ekkulb CrAHXdpfja+VplDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3E00A139C2; Mon, 23 Oct 2023 14:43:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OyF7DpOGNmVLdwAAMHmgww (envelope-from ); Mon, 23 Oct 2023 14:43:31 +0000 Date: Mon, 23 Oct 2023 16:36:37 +0200 From: David Sterba To: Aleksandr Nogikh Cc: syzbot , clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Dmitry Vyukov Subject: Re: [syzbot] [btrfs?] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (4) Message-ID: <20231023143637.GI26353@suse.cz> Reply-To: dsterba@suse.cz References: <000000000000d005440608450810@google.com> <20231023130830.GG26353@twin.jikos.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -8.30 X-Spamd-Result: default: False [-8.30 / 50.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.30)[dsterba@suse.cz]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; URI_HIDDEN_PATH(1.00)[https://syzkaller.appspot.com/x/.config?x=f27cd6e68911e026]; TAGGED_RCPT(0.00)[b2869947e0c9467a41b6]; REPLYTO_ADDR_EQ_FROM(0.00)[]; REPLY(-4.00)[]; MIME_GOOD(-0.10)[text/plain]; BAYES_HAM(-3.00)[100.00%]; SUBJECT_HAS_QUESTION(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; SUBJECT_HAS_EXCLAIM(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[10]; NEURAL_HAM_LONG(-3.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, PLING_QUERY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 23 Oct 2023 07:58:32 -0700 (PDT) On Mon, Oct 23, 2023 at 03:30:16PM +0200, Aleksandr Nogikh wrote: > On Mon, Oct 23, 2023 at 3:15 PM David Sterba wrote: > > > > On Sat, Oct 21, 2023 at 07:40:53PM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit: 78124b0c1d10 Merge branch 'for-next/core' into for-kernelci > > > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci > > > console output: https://syzkaller.appspot.com/x/log.txt?x=1557da89680000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=f27cd6e68911e026 > > > dashboard link: https://syzkaller.appspot.com/bug?extid=b2869947e0c9467a41b6 > > > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > > > userspace arch: arm64 > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137ac45d680000 > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16e4640b680000 > > > > > > Downloadable assets: > > > disk image: https://storage.googleapis.com/syzbot-assets/bd512de820ae/disk-78124b0c.raw.xz > > > vmlinux: https://storage.googleapis.com/syzbot-assets/a47a437b1d4f/vmlinux-78124b0c.xz > > > kernel image: https://storage.googleapis.com/syzbot-assets/3ae8b966bcd7/Image-78124b0c.gz.xz > > > mounted in repro: https://storage.googleapis.com/syzbot-assets/d5d514495f15/mount_0.gz > > > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > > Reported-by: syzbot+b2869947e0c9467a41b6@syzkaller.appspotmail.com > > > > > > BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! > > > > #syz invalid > > > > This is a frequent warning, can be worked around by increasing > > CONFIG_LOCKDEP_CHAINS_BITS in config (18 could be a good value but may > > still not be enough). > > By invalidating a frequently occurring issue we only cause syzbot to > report it once again, so it's better to keep the report open until the > root cause is resolved. There'll likely be a report (5) soon. The root cause is somewhere in lockdep and not easy to fix so we'll have to see the duplicate reports or > We keep CONFIG_LOCKDEP_CHAINS_BITS at 16 for arm64 because (at least > in 2022) the kernel used not to boot on GCE arm64 VMs with > CONFIG_LOCKDEP_CHAINS_BITS=18. Maybe it's time to try it once more. yeah, you can increase the config value.