Backport commit:5701875f9609 ("ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()" to linux 5.10 branch. The fix depends on commit:69f3a3039b0d ("ext4: introduce ITAIL helper") In order to make a clean backport on stable kernel, backport 2 commits.
It has a single merge conflict where static inline int, which changed to static int.
To: stable@vger.kernel.org Cc: Theodore Ts'o tytso@mit.edu Cc: Ye Bin yebin10@huawei.com Cc: Sasha Levin sashal@kernel.org
Signed-off-by: David Nyström david.nystrom@est.tech --- Ye Bin (2): ext4: introduce ITAIL helper ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()
fs/ext4/inode.c | 5 +++++ fs/ext4/xattr.c | 32 ++++---------------------------- fs/ext4/xattr.h | 10 ++++++++++ 3 files changed, 19 insertions(+), 28 deletions(-) --- base-commit: f964b940099f9982d723d4c77988d4b0dda9c165 change-id: 20251215-ext4_splat-f59c1acd9e88
Best regards, -- David Nyström david.nystrom@est.tech