ACK: [SRU Xenial, bionic/linux-hwe, focal/linux-oem-5.6 0/1] setting extended attribute may cause memory leak
Stefan Bader
stefan.bader at canonical.com
Fri Apr 16 07:09:33 UTC 2021
On 16.04.21 01:23, 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: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210416/4f50ded4/attachment.sig>
More information about the kernel-team
mailing list