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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-07-29T14:57:35.807Z
- Modified: 2026-06-17T07:47:13.847Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFSv4: Fix memory leak in nfs4_set_security_label

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1b00ad657997c8984a9e627a3bd37ea14f20beb2 before 899604a7c958771840941caff9ee3dd8193d984c; from 1b00ad657997c8984a9e627a3bd37ea14f20beb2 before b98090699319e64f5de1e8db5bb75870f1eb1c6e; from 1b00ad657997c8984a9e627a3bd37ea14f20beb2 before d130220ccc94d74d70da984a199477937e7bf03c; from 1b00ad657997c8984a9e627a3bd37ea14f20beb2 before aad11473f8f4be3df86461081ce35ec5b145ba68; 5.16 (not affected: before 5.16; from 6.1.101 up to 6.1.*; from 6.6.42 up to 6.6.*; from 6.9.11 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.1.101; from 6.2 before 6.6.42; from 6.7 before 6.9.11

## References

- <https://git.kernel.org/stable/c/899604a7c958771840941caff9ee3dd8193d984c> (patch)
- <https://git.kernel.org/stable/c/b98090699319e64f5de1e8db5bb75870f1eb1c6e> (patch)
- <https://git.kernel.org/stable/c/d130220ccc94d74d70da984a199477937e7bf03c> (patch)
- <https://git.kernel.org/stable/c/aad11473f8f4be3df86461081ce35ec5b145ba68> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-41076](https://www.cve.org/CVERecord?id=CVE-2024-41076), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-41076](https://nvd.nist.gov/vuln/detail/CVE-2024-41076), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41076 · Whole record: https://cve.day/CVE-2024-41076.json · Rebuilt by cve.day 2026-11-25T22:58:43.318Z
