ext4: add corruption check in ext4_xattr_set_entry()
In theory this should have been caught earlier when the xattr list was verified, but in case it got missed, it's simple enough to add check to make sure we don't overrun the xattr buffer. This addresses CVE-2018-10879. https://bugzilla.kernel.org/show_bug.cgi?id=200001 Signed-off-by:Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Andreas Dilger <adilger@dilger.ca> Cc: stable@kernel.org
Loading
-
mentioned in commit b89c775a
-
mentioned in commit 1e5e4249
-
mentioned in commit 5ecfa63a
-
mentioned in commit b7fc9bb0
-
mentioned in commit 6085e830
-
mentioned in commit 8bc944dd
-
mentioned in commit 172570c0
-
mentioned in commit 22160f9d
-
mentioned in commit 38ead493
-
mentioned in commit f3cbfcb6
Please sign in to comment