[PATCH][for stable [4.14, 5.10] 0/3] ext4: fix use-after-free in ext4_xattr_set_entry

From: Tudor Ambarus
Date: Wed Apr 19 2023 - 02:46:29 EST


This is a good example that emphasizes that the order in which patches
are queued to stable matters. More details in the revert commit.
Tested and intended for 4.14, 4.19, 5.4, 5.10.

Baokun Li (1):
ext4: fix use-after-free in ext4_xattr_set_entry

Ritesh Harjani (1):
ext4: remove duplicate definition of ext4_xattr_ibody_inline_set()

Tudor Ambarus (1):
Revert "ext4: fix use-after-free in ext4_xattr_set_entry"

fs/ext4/inline.c | 11 +++++------
fs/ext4/xattr.c | 26 +-------------------------
fs/ext4/xattr.h | 6 +++---
3 files changed, 9 insertions(+), 34 deletions(-)

--
2.40.0.634.g4ca3ef3211-goog