Skip to content
Commit b89d4208 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Felix Blyakher
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarEric Sandeen <sandeen@sandeen.net>
Reviewed-by: default avatarFelix Blyakher <felixb@sgi.com>
Reported-by: default avatarRamon de Carvalho Valle <ramon@risesecurity.org>
Tested-by: default avatarRamon de Carvalho Valle <ramon@risesecurity.org>
Signed-off-by: default avatarFelix Blyakher <felixb@sgi.com>
parent e0c222c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment