Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp768031lqt; Tue, 19 Mar 2024 03:18:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCzrWeIE0+tiOjQbbQiaO9n9ImMOzvpappSBPRIIC51tlaNVwiVQ8btJXan9hnpUiwvvyFQhy8gdcNtpwLEfRIRyiKlB92UT/b2nYoew== X-Google-Smtp-Source: AGHT+IE7rMCJvLwqn6VqQSVtQ04TFBC+0wsYlc0NwblARQ4jp2dSEpGXF69qtPkYgYnF1Rr/KjW1 X-Received: by 2002:a05:6402:5007:b0:566:4aa9:7143 with SMTP id p7-20020a056402500700b005664aa97143mr11410383eda.14.1710843518559; Tue, 19 Mar 2024 03:18:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710843518; cv=pass; d=google.com; s=arc-20160816; b=tabDV8lHQCi36cr9uv4GQq4MhwqJiu0ccRzghJzVkxsloARLECL/0L1CdqH+q031RB nRd8ZbFrOB4n6PpXHGgt3r0YZUNBaT4C9HlPZAwM7n+Ju3zR7y9VVszfH2NUYEdcLFsV mcdyXsRFN/zpm9i51NExyJATGK2+4C0uoa5zbHBR0n0cfpc6otFDTB9D24a4ruHz5tXs y7mNGtvx7SAjCeNDN/RmW43T0ZMvScalA9x7liHHewk194aGall6p2SMH3k/1MAPIAnS 72++gcFdnvsbtL99NaCCgH4GgXGI5TybDimjxC4q5E4aSRJ3T7DuNpKD4p9eCrwFSawb OwvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=d1w2ZGzfOfNG5VDSLHN3nBangO1xsSHpblk+juBPdlk=; fh=5y+oqx0oYFL5q5o7gzZyDQW0PkVAMm25L3y+zXpNvcs=; b=BEzx+dEo+GzI+JWUT34rOjfwrCPKmRXtBOuSiG2dXFUx9WCmN0kNJbeNTjB1zXpDh7 bLDSzEnxU+VCxH7fGn8pOh72IsQMW6jQYRTazVvFrAJheVEskBxVjejY1Or10oickg/e sge9NL6lzQ8P0/effF7GsXopmf4Fyxa3PVTrWfLDa7R10Y7WdOwYph1tEp95DKReL7wh Xi9dJec/8eVo2cC6yG1quMmN3CdMGwWs4EohVrPuwfZywCIM/YEFTvdmt3erFaWkS1Ud 0nd4Jun3xq8m2VLVTO2xfweQK/LVe/qpqS6OdQr/gjfmqBO7MuRva6B6iLD01pxNzV7i wZ6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=SAVt26NG; arc=pass (i=1 spf=pass spfdomain=posteo.net dkim=pass dkdomain=posteo.net dmarc=pass fromdomain=posteo.net); spf=pass (google.com: domain of linux-kernel+bounces-107377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x12-20020a50ba8c000000b0056a2da29767si1690100ede.682.2024.03.19.03.18.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 03:18:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=SAVt26NG; arc=pass (i=1 spf=pass spfdomain=posteo.net dkim=pass dkdomain=posteo.net dmarc=pass fromdomain=posteo.net); spf=pass (google.com: domain of linux-kernel+bounces-107377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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 49C051F22A20 for ; Tue, 19 Mar 2024 10:18:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 752757E112; Tue, 19 Mar 2024 10:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="SAVt26NG" Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (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 8E29A7D416 for ; Tue, 19 Mar 2024 10:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710843508; cv=none; b=DKZcBo9PBnfmiuK2a9B47JbKqCIauId+2KASDoF8ckeQSRMdLSsro0vv/vtgMbdQhgc/QzO1WbR7/i3O/RhyOdBHBWPgTjL8vrHC7NNOWmcM9oJ5uG3td06Nj09HnSts11oYBVOWZjkrBcwYAOmZHkaxj3Tc0OKpDJ6Kh6sZwBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710843508; c=relaxed/simple; bh=JQZMLijPAqdk/zouBBIhNjFbmM+dcBbxL2f7l4d0ge4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=kMg49tKVWbUsYbrVcQA+dum0tv+hNjuTyh0wCs+4PBBnvwGy4PdMLxz5O45d8YlTunwL5s9GmphrCmbr5imYQw/IGfxtEHiYQOELi/jybhNfaeebVC7M/tfNZuSySOuqynqAgKEDtWLsq1BywJyzbxEHkz4pTbISdpqlialLp3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net; spf=pass smtp.mailfrom=posteo.net; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b=SAVt26NG; arc=none smtp.client-ip=185.67.36.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.net Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A14AC240101 for ; Tue, 19 Mar 2024 11:18:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710843502; bh=JQZMLijPAqdk/zouBBIhNjFbmM+dcBbxL2f7l4d0ge4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=SAVt26NGXgc5KlHubKGNBf5ptJyQZh2U/p/po/oZNe6Zm2IsZDQhm5JAgvIW3d6c8 UHrpxQMsPGiq4XFUwWmR4lJm7oCGbxFV5XwnIzh52BZkLspus2BYwC0jG/HGcrq+sI +TxSX7j4AeUE9dP6V10kL2BPxkM25lvz2Bk7/fCMTM6T4CWG8s15pAJzisoU+L6LjI AkhXG8UIRnCaBafJl0BA9GJ4AueLzruM4TpCWvPZucZP4bk0n05HlbBNATWhKF0W/u GW4rncSLaCaaYUO28C3BDLxnkGjPDYNFgniPWNbWZD9FwRoCJVJyCyDvc9I5HY7cwo 02soYd5IXT4fg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzSNX5hsMz6trs; Tue, 19 Mar 2024 11:18:20 +0100 (CET) From: Charalampos Mitrodimas To: syzbot Cc: asmadeus@codewreck.org, ericvh@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux_oss@crudebyte.com, lucho@ionkov.net, syzkaller-bugs@googlegroups.com, v9fs@lists.linux.dev Subject: Re: [syzbot] [v9fs?] KMSAN: uninit-value in v9fs_evict_inode In-Reply-To: <0000000000002750950613c53e72@google.com> (syzbot's message of "Sat, 16 Mar 2024 04:15:32 -0700") References: <0000000000002750950613c53e72@google.com> Date: Tue, 19 Mar 2024 10:18:19 +0000 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain please test uv in v9fs_evict_inode #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 360a5304ec03..5d046f63e5fa 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -353,7 +353,8 @@ void v9fs_evict_inode(struct inode *inode) filemap_fdatawrite(&inode->i_data); #ifdef CONFIG_9P_FSCACHE - fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false); + if (v9fs_inode_cookie(v9inode)) + fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false); #endif }