diff options
author | OGAWA Hirofumi <[email protected]> | 2020-03-05 22:28:36 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-03-06 07:06:09 -0600 |
commit | bc87302a093f0eab45cd4e250c2021299f712ec6 (patch) | |
tree | 87bc38f2bc3151bb3f53756a61904244ef1bb497 /drivers/usb/cdns3/cdns3-imx.c | |
parent | c3e5ea6ee574ae5e845a40ac8198de1fb63bb3ab (diff) |
fat: fix uninit-memory access for partial initialized inode
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: [email protected]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: OGAWA Hirofumi <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions