summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorRyusuke Konishi2014-04-03 23:50:31 +0200
committerLinus Torvalds2014-04-04 01:21:26 +0200
commit0ec060d1881a24c270fdf0d6616e33e23a209ef2 (patch)
treea4c2d5ca63ffabde64759d2c238773d7114e34b7 /MAINTAINERS
parentnilfs2: add FITRIM ioctl support for nilfs2 (diff)
downloadkernel-qcow2-linux-0ec060d1881a24c270fdf0d6616e33e23a209ef2.tar.gz
kernel-qcow2-linux-0ec060d1881a24c270fdf0d6616e33e23a209ef2.tar.xz
kernel-qcow2-linux-0ec060d1881a24c270fdf0d6616e33e23a209ef2.zip
nilfs2: verify metadata sizes read from disk
Add code to check sizes of on-disk data of metadata files such as inode size, segment usage size, DAT entry size, and checkpoint size. Although these sizes are read from disk, the current implementation doesn't check them. If these sizes are not sane on disk, it can cause out-of-range access to metadata or memory access overrun on metadata block buffers due to overflow in sundry calculations. Both lower limit and upper limit of metadata sizes are verified to prevent these issues. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Cc: Andreas Rohner <andreas.rohner@gmx.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions