From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 894F0C433FE for ; Tue, 8 Nov 2022 17:41:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234234AbiKHRlj (ORCPT ); Tue, 8 Nov 2022 12:41:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbiKHRlg (ORCPT ); Tue, 8 Nov 2022 12:41:36 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B39950F14; Tue, 8 Nov 2022 09:41:35 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 26EA7B81BE2; Tue, 8 Nov 2022 17:41:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D245C433D7; Tue, 8 Nov 2022 17:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667929292; bh=cBKSOpSy+jUBQx59agJs7B0BFousNoTpEUsuo3M6i8U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r1w0CL8aqJPMtCnz0+aaL2hHdbPmMBtIIS7o+i0qWnujbARfUxmfnzw9GDeWw3B6b He7M78EP35fq2DvWKmNhg7rqd+z6RS7BK6eDYkvs1w0kH4AUAqGsQ4Ir1+2eXrPZ7i uL069c9KqxhCag1CWs7jagNH9RlhN+lyyccT6O8bgGMuq30ry6o7AqfRmWWl3pnlfz GTIn5U1LGJ4OdeQfWc5OFbaNBghatIkbaObTz49iDqQZ51fYnz8TGbnGIj1UamSuHc yvj2oMm8345Z93OdMrmjYtPbP0NS3Q6nq+exgHX2Hv8AUKowZmBGQNKeo9FMwHTLHr n2OXtairHNQ3w== Date: Tue, 8 Nov 2022 09:41:30 -0800 From: Eric Biggers To: Alexander Potapenko Cc: syzbot , adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Subject: Re: [syzbot] KMSAN: uninit-value in pagecache_write Message-ID: References: <00000000000058d01705ecddccb0@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 08, 2022 at 10:08:36AM +0100, 'Alexander Potapenko' via syzkaller-bugs wrote: > > > > > > Anyway, this patch doesn't hurt, I suppose. Can please you send it out as a > > > formal patch to linux-ext4? It would be easy for people to miss this patch > > > buried in this thread. Also, can you please send a patch to linux-f2fs-devel > > > for the same code in fs/f2fs/verity.c? > > > > Will do! > > Shall I also initialize fsdata here: > > $ git grep 'void \*fsdata;' > fs/affs/file.c: void *fsdata; > fs/ext4/verity.c: void *fsdata; > fs/f2fs/verity.c: void *fsdata; > fs/hfs/extent.c: void *fsdata; > fs/hfsplus/extents.c: void *fsdata; > fs/ocfs2/mmap.c: void *fsdata; Yes, it looks like they all need this. Except maybe ocfs2? It's hard to tell. - Eric