mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
ext4: validate that metadata blocks do not overlap superblock
[ Upstream commit 829fa70ddd ]
A number of fuzzing failures seem to be caused by allocation bitmaps
or other metadata blocks being pointed at the superblock.
This can cause kernel BUG or WARNings once the superblock is
overwritten, so validate the group descriptor blocks to make sure this
doesn't happen.
Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
This commit is contained in:
parent
db9e37a1c5
commit
ade4ba0d84
1 changed files with 17 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue