]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "ext4: fix use-after-free in ext4_xattr_set_entry"
authorTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 19 Apr 2023 06:46:08 +0000 (06:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Apr 2023 09:18:57 +0000 (11:18 +0200)
commit58c9a9b500dc23bd52102b4b8849678400767d2d
tree4f71c5b2a717cada5fcd92183a766fe092222e51
parentfa0dadfc4a5d824907dd239e8c838051c7bf3027
Revert "ext4: fix use-after-free in ext4_xattr_set_entry"

This reverts commit bb8592efcf8ef2f62947745d3182ea05b5256a15 which is
commit 67d7d8ad99beccd9fe92d585b87f1760dc9018e3 upstream.

The order in which patches are queued to stable matters. This patch
has a logical dependency on commit 310c097c2bdbea253d6ee4e064f3e65580ef93ac
upstream, and failing to queue the latter results in a null-ptr-deref
reported at the Link below.

In order to avoid conflicts on stable, revert the commit just so that we
can queue its prerequisite patch first and then queue the same after.

Link: https://syzkaller.appspot.com/bug?extid=d5ebf56f3b1268136afd
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c