[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHc6FU5g+kvsA2r9XSOgLZYmc9nQuvPecXwJK7VaOXaLn3yZKg@mail.gmail.com>
Date: Sat, 5 Oct 2024 22:51:51 +0200
From: Andreas Gruenbacher <agruenba@...hat.com>
To: Qianqiang Liu <qianqiang.liu@....com>
Cc: syzbot <syzbot+aa0730b0a42646eb1359@...kaller.appspotmail.com>,
gfs2@...ts.linux.dev, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [gfs2?] KMSAN: uninit-value in inode_go_dump (5)
On Sat, Oct 5, 2024 at 6:23 PM Qianqiang Liu <qianqiang.liu@....com> wrote:
>
> #syz test
>
> diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
> index 6678060ed4d2..d60d53810bc1 100644
> --- a/fs/gfs2/super.c
> +++ b/fs/gfs2/super.c
> @@ -1537,11 +1537,13 @@ static struct inode *gfs2_alloc_inode(struct super_block *sb)
> if (!ip)
> return NULL;
> ip->i_no_addr = 0;
> + ip->i_no_formal_ino = 0;
> ip->i_flags = 0;
> ip->i_gl = NULL;
> gfs2_holder_mark_uninitialized(&ip->i_iopen_gh);
> memset(&ip->i_res, 0, sizeof(ip->i_res));
> RB_CLEAR_NODE(&ip->i_res.rs_node);
> + ip->i_diskflags = 0;
> ip->i_rahead = 0;
> return &ip->i_inode;
> }
>
> --
> Best,
> Qianqiang Liu
Added to for-next.
Thanks,
Andreas
Powered by blists - more mailing lists