]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 22 Oct 2024 12:06:11 +0000 (14:06 +0200)
commitf9417fcfca3c5e30a0b961e7250fab92cfa5d123
tree4b0b211eb4befa1fde8c6d6387f753c99c14f652
parent7c6f714d88475ceae5342264858a641eafa19632
KMSAN: uninit-value in inode_go_dump (5)

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>
fs/gfs2/super.c