lkml.org 
[lkml]   [2022]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [syzbot] KMSAN: uninit-value in pagecache_write
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

\
 
 \ /
  Last update: 2022-11-08 18:43    [W:0.055 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site