Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6038969rdb; Thu, 14 Dec 2023 06:55:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHtvNPsDFBOfY1p+L0DcjFCxNqHsQyrRkvCwsheGQsihEK3vR5+sR9iiYR6qkZlyfO1FRx X-Received: by 2002:a05:6a21:6da1:b0:18c:64e0:447b with SMTP id wl33-20020a056a216da100b0018c64e0447bmr5293329pzb.28.1702565755247; Thu, 14 Dec 2023 06:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702565755; cv=none; d=google.com; s=arc-20160816; b=cXsW7WqME5++mxr+65QlY8PWWMUKhev6M+G2l0J4+VSflqE+ZTGzDYe/8cWqtGDKjF K6UR3iver0kKCEGBx2p4qm81XC0wFHeH/QJz2e9uikf6qyxdPj9asfgfcA4zE/MJP66i Ex6mvqFsNc3WK2jtGCrNNqOwTb6wboIHf+CJT3UmoC1b1ECg/9PP7dvL0s97DvE15fni hW4YeXfpngYEPE+OPGNMfahkWXsCMSpz0Eq6wkuq5ka0SQsEkO5TinLTcpdf5IwGhGY8 7sVtEV6+hX8+uLs/I5FcOdB5+ozjHMfv6GLCDXM3t7WMj+e2AjVQnCiK3VXdpuzdgKPd bNvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bgs8beqFiekckw3WR8YiKzI+yNleMXeH4aOT2b+WN64=; fh=2z/eAAyqjkyAIgtE4CS0Pbg0a0w+SLtwcF1Mumxr/KM=; b=wQTz1bQQk3d2QydsCIPATn3fsMr+3Z9entv2E02VSMpn0czHsytvdLT1KE+CSVvR1U rxfSwi1fozH+tZGF3u57p2GvY6k/1BeES9DtArHDwLwVBSL7NtPir3k+5eRAgFNX6O7m KVsBZk/RcoCFJMlClwQDgLi2z6lamfYEpiOvduZPIyJlVQ7QNtGnZ/1Bs8QliFAY2OZG DsjntiD8FL2Peq4KOFuRvTZBbExURRl6mSYXkrIqS+8kn2ZVTeZov15KsL5wGrGuyyRz SrCQdRhAgErRWgLAe/HY+5NcTL24qVx1fdMGI2yjhFBziPa10nQ4fjoMlbcQ9Ideb4Sr V4hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zg93vykZ; spf=pass (google.com: domain of linux-crypto+bounces-844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-844-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jj18-20020a170903049200b001d351aad185si2769365plb.375.2023.12.14.06.55.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 06:55:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zg93vykZ; spf=pass (google.com: domain of linux-crypto+bounces-844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-844-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D6DFDB21959 for ; Thu, 14 Dec 2023 14:55:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA9E15B5AC; Thu, 14 Dec 2023 14:55:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="zg93vykZ" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8F3F10F for ; Thu, 14 Dec 2023 06:55:41 -0800 (PST) Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-67ee17ab697so22464366d6.0 for ; Thu, 14 Dec 2023 06:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702565741; x=1703170541; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bgs8beqFiekckw3WR8YiKzI+yNleMXeH4aOT2b+WN64=; b=zg93vykZglFFbm2Z1nl173j4Lx+z4LgOTPy7DPNDDN/n3N7iLfexrr5ymdAmy29gIG IdoPqtJuFNlFwZvOrofmuoYuh+yt/2V0U+IV8hc+9dFewlfFLd/XA/azu99ZdzJmGThU +eCwbHDH8s2gfB+8rkXnKL1KPumXwy1nWtRFbeVhYU4GaHgXPZeA0/cUkxW24LQddiv8 snBpkuouOR1lZJNMQ96/QyPrwlrCeljqkDGEZhcJTfkQiiKHdeCDv/JG9yQopnnmnk7K OfYVqmhuRcRwyX8LCBfKQhjbraNeaOIsMX7eX1C1cCnlAUmto1bqHgqcUKVkPQRFqGP3 tgeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702565741; x=1703170541; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bgs8beqFiekckw3WR8YiKzI+yNleMXeH4aOT2b+WN64=; b=nRYRUqrUOxTOVB9ZadHsUSsC6fMN3Tg5F/9DE8906e9GshR1t1fTKuXwL7alvzBAIp LO9RLEdKEWetNTpskkjEYdq5d9cWDC5a0W4egbIJI4Rd/gobKrIOxvVR0/tN9U0oZTkI SHAXDIhejU3Q6KUnhgC3Z0mrYxE0ZxfFfTG0EOFlSEyyXMbDW/92w5jvoQ5IM82fwdYe m734dKmG2yc5SK2gcvg11lAvCpb+2NXLxReEuDqGaY+ZriiOlwPQBwtgKMIPjbkHm4bF nrRlE4I8CwTYy8TW5ZNArH4KBObUqcedTrzDzu97ozNEVqWLXYlMN/NNUZRJklkCoeZX xRNA== X-Gm-Message-State: AOJu0YzZOQkC0TGYg2HbBbavVxmXNHxS5ElWAwW0Sa2aCtRcYGq5w2ft AS+TlJ574qiwzBM2nLqTZLAjo6ltMMRGrfZlmDRClypRC7GdV8Kmy91MHQ== X-Received: by 2002:a05:6214:16cc:b0:67e:ef8f:7978 with SMTP id d12-20020a05621416cc00b0067eef8f7978mr4056082qvz.30.1702565740942; Thu, 14 Dec 2023 06:55:40 -0800 (PST) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <000000000000f66a3005fa578223@google.com> <20231213104950.1587730-1-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Thu, 14 Dec 2023 15:55:00 +0100 Message-ID: Subject: Re: [syzbot] [crypto?] KMSAN: uninit-value in __crc32c_le_base (3) To: Dave Chinner 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 10:58=E2=80=AFPM '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 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=3Da6d6b8fffa294705dbd8), only half a year after we started mounting XFS images on syzbot. Right now it is among the top crashers, so fixing it might uncover more interesting bugs in xfs.