Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1304884lqh; Mon, 6 May 2024 03:52:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYpBGvCMPnLRNEHc/b27YFjxaz1SWn8P9CgYk5bl1dx00xNZ8I5442u4Pb3uS097A1YuG5SW/YESig0sGlMT+fe0TPvLO8I3qcDJEuDQ== X-Google-Smtp-Source: AGHT+IER2qFlJm4nFEx+QgqMxM659+Doc1XsxI0o5csXsCjlmoqcPdtMXVqPOnn3RivuwkaSRXBp X-Received: by 2002:a05:6512:6cf:b0:51e:f70c:88ec with SMTP id u15-20020a05651206cf00b0051ef70c88ecmr10157670lff.16.1714992766343; Mon, 06 May 2024 03:52:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714992766; cv=pass; d=google.com; s=arc-20160816; b=Jc3W+lP5Y1E71Snea2AJ1va0eHWcTbZ3qp9KNj1QhutQORInBGegGMgwNxM84IvX0L zfiFGqw/EoaZxi/cpcqtSq3XImCwdh4FtAxsDj5aLh50rUN08b7pEVgqrUiV1yirxhjY MWrC7oG3MLaU6AxnR6svwKMsVhdq5RW7+NK6wPGrg9LgylDA/KmT0Ex9CuEwnnEM3YaR z9r1gK+Ya3r3C8jeTbJzwpyoaJmtDClx4YaIt+qnDGf74vzlBQgr1OeOJSl4S8/v7Ksj Hg6Qq+G3Qgafob+RkixEr3MjKJ0jAg7e0gkVfjLRdvdIZT+j9E49b0dvL8oQDtvNh8+t s3Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=L/Bd3q6eTepzXgQ0D27Ry0hoHj0qIM9aI1K4rmUNhZg=; fh=n5PTtgPAluhM4FyaJbP8eR9FjbozMH8sV0j2DBJBHrk=; b=avp9+6mFwJcXMSMPjbcCxDSnWV+yNcoF56Q7EAQ3jVcCZUpSBu1ho3JFfUCw9pRoMn DiL/guEFxgDC3FTD4Ski9GUxNeMsKgcMp7LpfLob7Dhpg2UQp7SkQCaAK+dK2iaU41Fu bhk4AJRhXbnI3cZnqnj5AmO3ITMPYZ+NYMi7GRsEUoBf+Q+Da3xgyjV8LElE+INpzgMV Is7t/hdaKJwjyjkbmfinYzwvhSodzJ3Sq64n2UHaRdaUu4JJQlBRXxh+CcrDPs7h9+WT kNpIS4jLMTscx6F2bRWZyRDD1QLM+qIoaC9ZdUt++ohqA/WmI2NJXPllZty1IuBO85CT q6lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HiTulb8Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u25-20020a17090657d900b00a59ae97e3e2si2589135ejr.675.2024.05.06.03.52.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HiTulb8Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB6A41F22904 for ; Mon, 6 May 2024 10:52:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A26D41422C5; Mon, 6 May 2024 10:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HiTulb8Y" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EE926CDCE; Mon, 6 May 2024 10:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714992760; cv=none; b=uao3CLrRM5kvuSMwkRDHy4J9NUU3ws6QLX7M+mnTIGsQFIQxHIbpSrMEHzYHBQb0WGBIMvb0uFmlUmidriU4Q4qn/tKtFI9Z2KCLWsz0x5JOY/AVZKUpFWC0mjXTxJLaUeRGacRJzjoABNEnhi0IJozHHKnOX5Mni2qHxOTQvgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714992760; c=relaxed/simple; bh=L/Bd3q6eTepzXgQ0D27Ry0hoHj0qIM9aI1K4rmUNhZg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=XmZDPBKPJeVk4Ew4mJNNvdfxLFWOpsLGKmNY7n72iagaSP1O59rQGSeyVWYnYZX+w4A/gxTQlRjLS/O4gym9ksbT9sDHj6t4Gps14TXQmHBS/gdtn8WCqs2qMkdrjC8lxlnfsKIusT7v+8myZ7O9JT87Fgs+TEUElCiLRVxA+7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HiTulb8Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 081A8C4AF63; Mon, 6 May 2024 10:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714992760; bh=L/Bd3q6eTepzXgQ0D27Ry0hoHj0qIM9aI1K4rmUNhZg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HiTulb8YHqPEHgSuhzh30sJw3+5xP52y7PFoySaXQWm5h9a/gXDzzE/ue2/02pkAI +EDVqp6sg4Ma13HdJYN71JTPoSWKSOQabKpcdz+BdhNU7B1asMIMl9g5u2qBd5uCxI fRe/UejX/H8+7G8pZkytKPQab/+T/wpTwEmLYy2YPuu/smvIcdcidHybqLXi23Gsoq srAo6OExQJujrz4M8bLGRQsWnuQ8iQtG/k3Tm1/RqQZ51f/+g9jq7CMCvHOizyzaaJ FMNUR5IZGHrrfXi1H/zh8wUqCkBbZvK7ysP5fEQlYeQgwGlZRg4me5+U2oW6z14Acs dolJDaoeaoeSg== Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51f74fa2a82so1922080e87.0; Mon, 06 May 2024 03:52:39 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCV0v0S74zC1YJK48qbnHKafMn8jchziReYIZFk+LDp69Kn7FdygurNQCjmGAKkm4M2uWy0he5Ivqb7fes4xyMZw1I0Nt4Ybg7aItcJrrXRwW10MmHw3B9macefL33iejmzQ0uuMUb13ltj9 X-Gm-Message-State: AOJu0Yxfvx/OvnU4+EKWgWRZDmRda3hvcORcOCTE0oDl0OautA28NE+W MyzVopLAOiwseV5gseEyNTjtTlP8tSsJxM/W7sOcV6hwraCGKBKMFJkGBsHFMJCMTv438ap6csC 3ySJ4cGvGB2EmE61Rl0I3X4aWTqw= X-Received: by 2002:ac2:4c9b:0:b0:518:c69b:3a04 with SMTP id d27-20020ac24c9b000000b00518c69b3a04mr6170509lfl.0.1714992758356; Mon, 06 May 2024 03:52:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <000000000000dcd2ae06178bccb0@google.com> In-Reply-To: From: Ard Biesheuvel Date: Mon, 6 May 2024 12:52:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [syzbot] [crypto?] KMSAN: uninit-value in skcipher_walk_virt To: Kent Overstreet Cc: Aleksandr Nogikh , syzbot , davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" On Sat, 4 May 2024 at 19:21, Kent Overstreet wrote: > > This is odd - it seems to be req->base.flags that's uninitialized, and I > can't find the code that's supposed to be initializing it - but bcachefs > usage seems to be the same as all the other uses I'm looking at; if it > is req->base.flags then other code must be buggy as well? > You seem to be missing a call to skcipher_request_set_callback() which initializes some (irrelevant in this case) async related fields but also the flags field.