On Wed, Dec 17, 2025 at 10:55:56AM +0100, David Nyström wrote:
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.
Signed-off-by: David Nyström david.nystrom@est.tech
Changes in v2:
- Resend identical patchset with correct "Upstream commit" denotation.
- Link to v1: https://patch.msgid.link/20251216-ext4_splat-v1-0-b76fd8748f44@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
We can't take patches only for an older kernel tree, and not newer ones. Otherwise you will have a regression when upgrading.
Please resend patches for all applicable kernel trees and we will be glad to queue them all up.
thanks
greg k-h