Searched hist:"6915 ef35c0350e87a104cb4c4ab2121c81ca7a34" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_dir2_leaf.c | diff 6915ef35c0350e87a104cb4c4ab2121c81ca7a34 Fri Mar 23 12:06:51 CDT 2018 Darrick J. Wong <darrick.wong@oracle.com> xfs: sanity-check the unused space before trying to use it
In xfs_dir2_data_use_free, we examine on-disk metadata and ASSERT if it doesn't make sense. Since a carefully crafted fuzzed image can cause the kernel to crash after blowing a bunch of assertions, let's move those checks into a validator function and rig everything up to return EFSCORRUPTED to userspace. Found by lastbit fuzzing ltail.bestcount via xfs/391.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
|
H A D | xfs_dir2.h | diff 6915ef35c0350e87a104cb4c4ab2121c81ca7a34 Fri Mar 23 12:06:51 CDT 2018 Darrick J. Wong <darrick.wong@oracle.com> xfs: sanity-check the unused space before trying to use it
In xfs_dir2_data_use_free, we examine on-disk metadata and ASSERT if it doesn't make sense. Since a carefully crafted fuzzed image can cause the kernel to crash after blowing a bunch of assertions, let's move those checks into a validator function and rig everything up to return EFSCORRUPTED to userspace. Found by lastbit fuzzing ltail.bestcount via xfs/391.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
|
H A D | xfs_dir2_data.c | diff 6915ef35c0350e87a104cb4c4ab2121c81ca7a34 Fri Mar 23 12:06:51 CDT 2018 Darrick J. Wong <darrick.wong@oracle.com> xfs: sanity-check the unused space before trying to use it
In xfs_dir2_data_use_free, we examine on-disk metadata and ASSERT if it doesn't make sense. Since a carefully crafted fuzzed image can cause the kernel to crash after blowing a bunch of assertions, let's move those checks into a validator function and rig everything up to return EFSCORRUPTED to userspace. Found by lastbit fuzzing ltail.bestcount via xfs/391.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
|
H A D | xfs_dir2_block.c | diff 6915ef35c0350e87a104cb4c4ab2121c81ca7a34 Fri Mar 23 12:06:51 CDT 2018 Darrick J. Wong <darrick.wong@oracle.com> xfs: sanity-check the unused space before trying to use it
In xfs_dir2_data_use_free, we examine on-disk metadata and ASSERT if it doesn't make sense. Since a carefully crafted fuzzed image can cause the kernel to crash after blowing a bunch of assertions, let's move those checks into a validator function and rig everything up to return EFSCORRUPTED to userspace. Found by lastbit fuzzing ltail.bestcount via xfs/391.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
|
H A D | xfs_dir2_node.c | diff 6915ef35c0350e87a104cb4c4ab2121c81ca7a34 Fri Mar 23 12:06:51 CDT 2018 Darrick J. Wong <darrick.wong@oracle.com> xfs: sanity-check the unused space before trying to use it
In xfs_dir2_data_use_free, we examine on-disk metadata and ASSERT if it doesn't make sense. Since a carefully crafted fuzzed image can cause the kernel to crash after blowing a bunch of assertions, let's move those checks into a validator function and rig everything up to return EFSCORRUPTED to userspace. Found by lastbit fuzzing ltail.bestcount via xfs/391.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
|