summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorChristoph Hellwig2009-08-10 16:32:18 +0200
committerFelix Blyakher2009-08-11 23:03:19 +0200
commit16715dbe64ccac265010ab8b60848d212d002521 (patch)
tree9e165ca646eef8835a940c66d0f8e7ac40cd4354 /fs/xfs/xfs_log.c
parentuse XFS_CORRUPTION_ERROR in xfs_btree_check_sblock (diff)
downloadkernel-qcow2-linux-16715dbe64ccac265010ab8b60848d212d002521.tar.gz
kernel-qcow2-linux-16715dbe64ccac265010ab8b60848d212d002521.tar.xz
kernel-qcow2-linux-16715dbe64ccac265010ab8b60848d212d002521.zip
xfs: check for dinode realtime flag corruption
Ramon tested XFS with a modified version of fsfuzzer and hit a NULL pointer dereference in __xfs_get_blocks due to the RT device target pointer being NULL. To fix this reject inode with the realtime bit set on a a filesystem without an RT subvolume during inode read. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Felix Blyakher <felixb@sgi.com> Reported-by: Ramon de Carvalho Valle <ramon@risesecurity.org> Tested-by: Ramon de Carvalho Valle <ramon@risesecurity.org> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions