]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:53:02 +0000 (14:53 -0800)
commitf21d9d44483d12e21a8c7adc05dd382fdb2895d5
tree8e96032629169b33905df657ae43bc036f247bba
parentf4145654aaf67821fadf0081950a2ab5fa19163f
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>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/udf/inode.c