[SRU Xenial, bionic/linux-hwe, focal/linux-oem-5.6 0/1] setting extended attribute may cause memory leak
Thadeu Lima de Souza Cascardo
cascardo at canonical.com
Thu Apr 15 23:23:34 UTC 2021
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(-)
--
2.27.0
More information about the kernel-team
mailing list