]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KMSAN: uninit-value in inode_go_dump (5)
authorQianqiang Liu <qianqiang.liu@163.com>
Mon, 21 Oct 2024 20:58:01 +0000 (22:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:04:03 +0000 (20:04 +0100)
commit7e45af15cf724dfbb755bf4fe5093b96731a7fc1
treeb58069279870dda8855cab3c33c4b7623a57483a
parent9e28513fd2858911dcf47b84160a8824587536b6
KMSAN: uninit-value in inode_go_dump (5)

[ Upstream commit f9417fcfca3c5e30a0b961e7250fab92cfa5d123 ]

When mounting of a corrupted disk image fails, the error message printed
can reference uninitialized inode fields.  To prevent that from happening,
always initialize those fields.

Reported-by: syzbot+aa0730b0a42646eb1359@syzkaller.appspotmail.com
Signed-off-by: Qianqiang Liu <qianqiang.liu@163.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/gfs2/super.c