Skip to content
Commit 485c26ec authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Fix softlockup caused by illegal i_file_acl value in on-disk inode



If the block containing external extended attributes (which is stored
in i_file_acl and i_file_acl_high) is larger than the on-disk
filesystem, the process which tried to access the extended attributes
will endlessly issue kernel printks complaining that
"__find_get_block_slow() failed", locking up that CPU until the system
is forcibly rebooted.

So when we read in the inode, make sure the i_file_acl value is legal,
and if not, flag the filesystem as being corrupted.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 0c8454f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment