diff options
author | 2009-08-10 11:32:18 -0300 | |
---|---|---|
committer | 2009-08-12 01:08:21 -0500 | |
commit | b89d4208de3de442c9025919c4261be0b38e79a4 (patch) | |
tree | 3c47c8d10c3ef50e2423528d0d8db7a738928621 /lib/fault-inject.c | |
parent | use XFS_CORRUPTION_ERROR in xfs_btree_check_sblock (diff) | |
download | wireguard-linux-b89d4208de3de442c9025919c4261be0b38e79a4.tar.xz wireguard-linux-b89d4208de3de442c9025919c4261be0b38e79a4.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 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions