]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: never move the system.data xattr out of the inode body
authorTheodore Ts'o <tytso@mit.edu>
Sat, 16 Jun 2018 19:40:48 +0000 (15:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 16 Jun 2018 19:40:48 +0000 (15:40 -0400)
commita049dfed24f84490b01d0f7baf0924739455c938
treec8ecb3fb14d781cc8ccf13ef4a1ca2b4b9a78f86
parent115bfdc83bb554bbcdc4d0b4a4586e71d7a9b341
ext4: never move the system.data xattr out of the inode body

When expanding the extra isize space, we must never move the
system.data xattr out of the inode body.  For performance reasons, it
doesn't make any sense, and the inline data implementation assumes
that system.data xattr is never in the external xattr block.

This addresses CVE-2018-10880

https://bugzilla.kernel.org/show_bug.cgi?id=200005

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/xattr.c