Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6283144rdb; Thu, 14 Dec 2023 13:39:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8FeXz9DsN4mlnUUjwM1MZg3VfRylBo3ohD9+7WKlYWiImclF4zgCz0aYv7zHCl2+Tn8mg X-Received: by 2002:a05:6870:b605:b0:1fa:f5b2:afab with SMTP id cm5-20020a056870b60500b001faf5b2afabmr7372397oab.36.1702589972614; Thu, 14 Dec 2023 13:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702589972; cv=none; d=google.com; s=arc-20160816; b=jB9ZvbR1ean20H62tgtKGqmz5Z0snHEaDTePT5KECBA61wZ5FhSIiCpCJf+xTd60Y0 U13Fo7uP79yN9JgZddQqlwNeM0ROxDv/PGFSIJRe1LciJ3zyCElHhpvVHT+zsR4yvKak eOZGGc43Anr6S1Ax+YrftaBiapvud0tjzgYbyomh3UQKjl6nQt9Fz+F1EgV0TZkfqXOZ t2p2ixUwEl4Xk+nCwk+Zd580HbdJEzhH+O/hNO6b1VIHZSUdNhk48WPCb62ZBRxkck9y B2kVW72I9uy3AKsPW54nzDCGrI99uMYTHHhWF86+cBbsPmAtE5q8rkOraQoAeCJiudgE W1FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8bHZ5SA9qHU5iW2IiMJTN98KqOEtCR8q0Lin8U7ofHo=; fh=QCGU/kVoCtvme9Vzxv/MO1rMwj08ZvKz1pQb3yr3CKE=; b=CKJukAoA3l1LPPHm8Q0fOJ/c5pRZlYOKPV6z93sgUoVqLfEG3kEPykc9Bf9bqdPIhs nn6Tr3U3XwWCO0rjCP0DezqfPLbjFGar6gHFeJR64xKfcEsP94WaHpDlPmwEevLTMVAd KdNry4J9hudJx8QdBV92IiawFiI3IjIkXiTWFr7dJsruNF7ajGV7OGjUEb4rtfiaDheK 2Mb9BR80LVvieMxKRm+8+qCy92Nf7qMqHhi7K3t1mc3X5LA4OXidcn6B2sW9owjV4oLr fbvk8ziMojgoS31G9j2Lir4wmje/Li6CEUCjzNgwi/wQAAc8XEQT9kRajNStRJnsbr9h 6CSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=C8nM4FWM; spf=pass (google.com: domain of linux-crypto+bounces-846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bt14-20020ac8690e000000b0042553065f6csi17947868qtb.220.2023.12.14.13.39.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:39:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=C8nM4FWM; spf=pass (google.com: domain of linux-crypto+bounces-846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4F94A1C21CD8 for ; Thu, 14 Dec 2023 21:39:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AECB06D1C8; Thu, 14 Dec 2023 21:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="C8nM4FWM" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C2266ABA3 for ; Thu, 14 Dec 2023 21:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1d367e7092eso10644895ad.0 for ; Thu, 14 Dec 2023 13:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1702589961; x=1703194761; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=8bHZ5SA9qHU5iW2IiMJTN98KqOEtCR8q0Lin8U7ofHo=; b=C8nM4FWM7p4u9gjNcpxgQJjV14rJCrikNFCOKgXbcpFv1Mo9W5BRqUSb9E0yOS7u0i jMmTDciav+bYcZ+YD5Sydi8MKGCwCYJZHuv/WLjLYLxQJiSdhQtE1sPj+Z+6scr/cb4J WjbXghZd4oXAb9+Q7qpQziK+Kd6gFtug3h3WLC3upOr+gdDZiMl3yTIvrO49GQu4nwEN eA1rIByLIgVKPPaXGQPcAswk61nc8BzuztIAMnOf4SFQ/8dEucSDWcic0pOOO9T7x4Qa is6JAzwB7hprArE8dPntyprJwLPqOhk+w8INcLGatcamuyfbE8DnuRAOZKwkgw+yuQPt PC0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702589961; x=1703194761; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8bHZ5SA9qHU5iW2IiMJTN98KqOEtCR8q0Lin8U7ofHo=; b=g9BqbwI4d3ezd50ubmp5VRhcOUFN4QRYfRIsPWxMfrXqDjzLimLeipFqxLSRYlHqvi JAUjDdRGA+t4OXgmhDwS2RBaY4JjwBanemCLIcxlNs0omKFrz8xFmOO14B+bjBJobqty uKQeGwy08v5HAQhc2MI9DNES0BmW0WRb9PR8TCp+jF1Y728YNSyeU8armwpr5DVNvbbG IYbFj67sIz3ZETwMv94dMnTWYPhojLTCi7jyHJxHArINqWJ0Zg/uDtp+zBzi+C4oYWNR Y4fKrpuLutyfPimx0DvqVEGRfRkY+DdwwEZaztwTZUUu/QZq3ImQawjBTz9VUhvWmpyN 2NSQ== X-Gm-Message-State: AOJu0Yy7Rd311xZS+oQM/F50SQp9+ADtBrJoSI6rNqUs02J+QXxcY62s Mox6UUTOosImSlWD3ZwvmZGPOA== X-Received: by 2002:a17:902:bd88:b0:1d0:4706:60fc with SMTP id q8-20020a170902bd8800b001d0470660fcmr9513414pls.17.1702589961391; Thu, 14 Dec 2023 13:39:21 -0800 (PST) Received: from dread.disaster.area (pa49-180-125-5.pa.nsw.optusnet.com.au. [49.180.125.5]) by smtp.gmail.com with ESMTPSA id g16-20020a1709029f9000b001d3561680aasm3191684plq.82.2023.12.14.13.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:39:20 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1rDtQM-008Mua-16; Fri, 15 Dec 2023 08:39:18 +1100 Date: Fri, 15 Dec 2023 08:39:18 +1100 From: Dave Chinner To: Alexander Potapenko Cc: Dave Chinner , syzbot+a6d6b8fffa294705dbd8@syzkaller.appspotmail.com, hch@lst.de, davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, linux-xfs@vger.kernel.org Subject: Re: [syzbot] [crypto?] KMSAN: uninit-value in __crc32c_le_base (3) Message-ID: References: <000000000000f66a3005fa578223@google.com> <20231213104950.1587730-1-glider@google.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Dec 14, 2023 at 03:55:00PM +0100, Alexander Potapenko wrote: > On Wed, Dec 13, 2023 at 10:58 PM 'Dave Chinner' via syzkaller-bugs > wrote: > > > > On Thu, Dec 14, 2023 at 08:16:07AM +1100, Dave Chinner wrote: > > > [cc linux-xfs@vger.kernel.org because that's where all questions > > > about XFS stuff should be directed, not to random individual > > > developers. ] > > > > > > On Wed, Dec 13, 2023 at 11:49:50AM +0100, Alexander Potapenko wrote: > > > > Hi Christoph, Dave, > > > > > > > > The repro provided by Xingwei indeed works. > > > > Can you please test the patch below? > > It fixed the problem for me, feel free to add: > > Tested-by: Alexander Potapenko Thanks. > As for the time needed to detect the bug, note that kmemcheck was > never used together with syzkaller, so it couldn't have the chance to > find it. > > KMSAN found this bug in April > (https://syzkaller.appspot.com/bug?extid=a6d6b8fffa294705dbd8), KMSAN has been used for quite a long time with syzbot, however, and it's supposed to find these problems, too. Yet it's only been finding this for 6 months? > only > half a year after we started mounting XFS images on syzbot. Really? Where did you get that from? syzbot has been exercising XFS filesystems since 2017 - the bug reports to the XFS list go back at least that far. -Dave. -- Dave Chinner david@fromorbit.com