]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
udf: Check length of extended attributes and allocation descriptors
authorJan Kara <jack@suse.cz>
Wed, 7 Jan 2015 12:49:08 +0000 (13:49 +0100)
committerJiri Slaby <jslaby@suse.cz>
Tue, 23 Jun 2015 15:12:16 +0000 (17:12 +0200)
commitaa826bb1953a0a40b460e053efcf9c5f8cab554b
tree0f093356d3dab3eee8266a2aecbfba6cc76f5935
parent50badb21ea8fa72eea3777afe2433caf9817c62f
udf: Check length of extended attributes and allocation descriptors

commit 23b133bdc452aa441fcb9b82cbf6dd05cfd342d0 upstream.

Check length of extended attributes and allocation descriptors when
loading inodes from disk. Otherwise corrupted filesystems could confuse
the code and make the kernel oops.

Reported-by: Carl Henrik Lunde <chlunde@ping.uio.no>
Cc: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/udf/inode.c