[Acked] [SRU Xenial, bionic/linux-hwe, focal/linux-oem-5.6 0/1] setting extended attribute may cause memory leak
Andy Whitcroft
apw at canonical.com
Fri Apr 16 07:17:16 UTC 2021
On Thu, Apr 15, 2021 at 08:23:34PM -0300, Thadeu Lima de Souza Cascardo wrote:
> BugLink: https://bugs.launchpad.net/bugs/1924611
>
> [Impact]
> A memory leak may happen when an error happens when setting extended
> attributes.
>
> [Fix]
> The issue was introduced by an improper backport, so the fix is specific to
> Ubuntu, so a SAUCE patch.
>
> [Test case]
> Test setting attribute under a user namespace.
>
> [Regression potential]
> A double free bug might be introduced. Or setting extended attributes might
> fail.
>
> Thadeu Lima de Souza Cascardo (1):
> UBUNTU: SAUCE: vfs_setxattr: free converted value if xattr_permission
> returns error
>
> fs/xattr.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: Andy Whitcroft <apw at canonical.com>
-apw
More information about the kernel-team
mailing list