Skip to content

CVE-2024-41076: NFSv4: Fix memory leak in nfs4_set_security_label

JIRA: https://issues.redhat.com/browse/RHEL-52083
CVE: CVE-2024-41076

NFSv4: Fix memory leak in nfs4_set_security_label

We leak nfs_fattr and nfs4_label every time we set a security xattr.

Signed-off-by: Dmitry Mastykin <mastichi@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
(cherry picked from commit aad11473f8f4be3df86461081ce35ec5b145ba68)

Signed-off-by: CKI Backport Bot cki-ci-bot+cki-gitlab-backport-bot@redhat.com

Merge request reports

Loading