diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2016-03-22 16:13:15 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-02 21:19:48 -0700 |
| commit | 28320756e78b3e8f1520bc1c34b23a3df452569e (patch) | |
| tree | f620458c8124a0cf5e6b2bb5e49fd1e82d135e7a /drivers/md/raid1.c | |
| parent | 99e96ce5e3153b3543152d33b5773f34003a8892 (diff) | |
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>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions
