summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2020-03-06 09:28:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-11 20:03:03 +0300
commit265b81a52542e1a76c53f5aa0f3fd3c576b67be7 (patch)
tree1cbcbda2ad0e355dc9ff2bf34984932c9b778d30 /arch/arm
parentebf46a94280d3b30dc20a743b4cc0eb328d61723 (diff)
downloadlinux-265b81a52542e1a76c53f5aa0f3fd3c576b67be7.tar.xz
fat: fix uninit-memory access for partial initialized inode
commit bc87302a093f0eab45cd4e250c2021299f712ec6 upstream. When get an error in the middle of reading an inode, some fields in the inode might be still not initialized. And then the evict_inode path may access those fields via iput(). To fix, this makes sure that inode fields are initialized. Reported-by: syzbot+9d82b8de2992579da5d0@syzkaller.appspotmail.com Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Cc: <stable@vger.kernel.org> Link: http://lkml.kernel.org/r/871rqnreqx.fsf@mail.parknet.co.jp Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions