[SRU][Jammy-OEM-5.17][PATCH 0/2] CVE-2023-2513

Yuxuan Luo yuxuan.luo at canonical.com
Mon Aug 7 20:01:31 UTC 2023


[Impact]
Under certain use case, ext4 file system will miscalculate memory size,
resulting in allowing use-after-free to happen.

[Backport]
These are two clean cherry picks.

[Test]
Compile and boot tested.

[Potential Regression]
Expecting minimal regression potential.

Baokun Li (2):
  ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
  ext4: fix use-after-free in ext4_xattr_set_entry

 fs/ext4/xattr.c |  7 ++++---
 fs/ext4/xattr.h | 13 +++++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list