summaryrefslogtreecommitdiff
path: root/fs/ext4/xattr.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-05-24 06:49:50 +0300
committerTheodore Ts'o <tytso@mit.edu>2023-05-30 22:33:57 +0300
commit2bc7e7c1a3bc9bd0cbf0f71006f6fe7ef24a00c2 (patch)
treed24aea3e05637f7b3d6fc67719f91e2399a41576 /fs/ext4/xattr.c
parentb928dfdcb27d8fa59917b794cfba53052a2f050f (diff)
downloadlinux-2bc7e7c1a3bc9bd0cbf0f71006f6fe7ef24a00c2.tar.xz
ext4: disallow ea_inodes with extended attributes
An ea_inode stores the value of an extended attribute; it can not have extended attributes itself, or this will cause recursive nightmares. Add a check in ext4_iget() to make sure this is the case. Cc: stable@kernel.org Reported-by: syzbot+e44749b6ba4d0434cd47@syzkaller.appspotmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Link: https://lore.kernel.org/r/20230524034951.779531-4-tytso@mit.edu Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions