Skip to content
Commit 75d6ad38 authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: more superblock checks, lower bounds on devices and sectorsize/nodesize



I received a few crafted images from Jiri, all got through the recently
added superblock checks. The lower bounds checks for num_devices and
sector/node -sizes were missing and caused a crash during mount.

Tools for symbolic code execution were used to prepare the images
contents.

Reported-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 9cc97d64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment