android_kernel_oneplus_msm8998/fs/ext4
Theodore Ts'o 28320756e7 ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
commit 9e92f48c34eb2b9af9d12f892e2fe1fce5e8ce35 upstream.

We aren't checking to see if the in-inode extended attribute is
corrupted before we try to expand the inode's extra isize fields.

This can lead to potential crashes caused by the BUG_ON() check in
ext4_xattr_shift_entries().

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-02 21:19:48 -07:00
..
acl.c posix_acl: Clear SGID bit when setting file permissions 2016-10-31 04:13:58 -06:00
acl.h
balloc.c ext4: validate s_reserved_gdt_blocks on mount 2016-08-16 09:30:51 +02:00
bitmap.c
block_validity.c ext4: call out CRC and corruption errors with specific error codes 2015-10-17 16:16:04 -04:00
crypto.c ext4: fix an endianness bug in ext4_encrypted_zeroout() 2015-11-26 15:20:19 -05:00
crypto_fname.c
crypto_key.c fscrypt: remove broken support for detecting keyring key revocation 2017-03-31 09:49:54 +02:00
crypto_policy.c fscrypt: fix renaming and linking special files 2017-03-22 12:04:18 +01:00
dir.c ext4: clean up feature test macros with predicate functions 2015-10-17 16:18:43 -04:00
ext4.h fscrypt: remove broken support for detecting keyring key revocation 2017-03-31 09:49:54 +02:00
ext4_crypto.h fscrypt: remove broken support for detecting keyring key revocation 2017-03-31 09:49:54 +02:00
ext4_extents.h
ext4_jbd2.c ext4: fix potential use after free in __ext4_journal_stop 2015-10-17 22:57:06 -04:00
ext4_jbd2.h ext4: do not perform data journaling when data is encrypted 2017-01-06 11:16:13 +01:00
extents.c ext4: do not polute the extents cache while shifting extents 2017-03-12 06:37:27 +01:00
extents_status.c
extents_status.h
file.c ext4: fix races between page faults and hole punching 2016-05-04 14:48:53 -07:00
fsync.c
hash.c
ialloc.c ext4: clean up error handling when orphan list is corrupted 2016-06-07 18:14:37 -07:00
indirect.c ext4: clean up feature test macros with predicate functions 2015-10-17 16:18:43 -04:00
inline.c ext4: mark inode dirty after converting inline directory 2017-03-30 09:35:17 +02:00
inode.c ext4: fix inode checksum calculation problem if i_extra_size is small 2017-04-21 09:30:07 +02:00
ioctl.c fscrypto: lock inode while setting encryption policy 2017-03-22 12:04:18 +01:00
Kconfig
Makefile
mballoc.c ext4: trim allocation requests to group size 2017-03-12 06:37:27 +01:00
mballoc.h
migrate.c ext4: clean up feature test macros with predicate functions 2015-10-17 16:18:43 -04:00
mmp.c ext4: call out CRC and corruption errors with specific error codes 2015-10-17 16:16:04 -04:00
move_extent.c ext4: enforce online defrag restriction for encrypted files 2016-10-22 12:26:56 +02:00
namei.c ext4: release bh in make_indexed_dir 2016-10-22 12:26:56 +02:00
page-io.c
readpage.c Merge branch 'akpm' (patches from Andrew) 2015-11-07 14:32:45 -08:00
resize.c ext4: fix potential integer overflow 2016-02-25 12:01:15 -08:00
super.c ext4: fix fencepost in s_first_meta_bg validation 2017-03-26 12:13:20 +02:00
symlink.c ext4: fix an endianness bug in ext4_encrypted_follow_link() 2015-11-26 15:20:50 -05:00
sysfs.c ext4: do not advertise encryption support when disabled 2016-10-28 03:01:35 -04:00
truncate.h ext4: fix races between page faults and hole punching 2016-05-04 14:48:53 -07:00
xattr.c ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea() 2017-05-02 21:19:48 -07:00
xattr.h
xattr_security.c xattr handlers: Pass handler to operations instead of flags 2015-11-13 20:34:32 -05:00
xattr_trusted.c xattr handlers: Pass handler to operations instead of flags 2015-11-13 20:34:32 -05:00
xattr_user.c xattr handlers: Pass handler to operations instead of flags 2015-11-13 20:34:32 -05:00