Files
twx-linux/fs
OGAWA Hirofumi 8353f338de fat: fix using uninitialized fields of fat_inode/fsinfo_inode
commit c0d0e35128 upstream.

Recently fallocate patch was merged and it uses
MSDOS_I(inode)->mmu_private at fat_evict_inode().  However,
fat_inode/fsinfo_inode that was introduced in past didn't initialize
MSDOS_I(inode) properly.

With those combinations, it became the cause of accessing random entry
in FAT area.

Link: http://lkml.kernel.org/r/87pohrj4i8.fsf@mail.parknet.co.jp
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reported-by: Moreno Bartalucci <moreno.bartalucci@tecnorama.it>
Tested-by: Moreno Bartalucci <moreno.bartalucci@tecnorama.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 09:57:15 +08:00
..
…
…
…
…
2017-02-09 08:02:45 +01:00
…
…
2017-03-12 06:37:28 +01:00
…
…
…
2016-11-10 16:36:34 +01:00
…
…
2015-11-13 20:34:33 -05:00
2015-11-23 21:11:08 -05:00
…
2016-10-07 15:23:47 +02:00
…
2015-11-16 23:54:45 -08:00
…
…
…
…
2015-11-16 23:54:45 -08:00
…
2016-08-10 11:49:27 +02:00
…
…
2016-05-18 17:06:48 -07:00
…
…
2016-09-07 08:32:43 +02:00
…
…
2015-11-13 20:34:33 -05:00