summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-11-05 14:10:49 +0100
committerJosef Bacik <jbacik@fusionio.com>2012-12-12 23:15:26 +0100
commitd03f918ab9036cc71740c0aa796c8e02e6f6f6d3 (patch)
treeff6c9ec2d42a9d5e54c640a1ff88f0a8dc4404cf /fs/btrfs/file.c
parentBtrfs: fix a double free on pending snapshots in error handling (diff)
downloadlinux-d03f918ab9036cc71740c0aa796c8e02e6f6f6d3.tar.xz
linux-d03f918ab9036cc71740c0aa796c8e02e6f6f6d3.zip
Btrfs: Don't trust the superblock label and simply printk("%s") it
Someone who is root or capable(CAP_SYS_ADMIN) could corrupt the superblock and make Btrfs printk("%s") crash while holding the uuid_mutex since nobody forces a limit on the string. Since the uuid_mutex is significant, the system would be unusable afterwards. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions