Memory exhaustion via unreleased NFSv4 label attributes
Published Jul 29, 2024 · Updated May 11, 2026
Memory leak in Linux kernel NFSv4 starting at 5.16 allows local users to exhaust memory by repeatedly setting security xattrs. nfs4_set_security_label allocates an nfs_fattr with an attached nfs4_label, but the affected return path omits nfs_free_fattr after SETATTR. Reachability requires an NFSv4 client mount whose server advertises security-label capability; repeated writes consume kernel memory and can interrupt the system.
Summary
What happened
Memory leak in Linux kernel NFSv4 starting at 5.16 allows local users to exhaust memory by repeatedly setting security xattrs. nfs4_set_security_label allocates an nfs_fattr with an attached nfs4_label, but the affected return path omits nfs_free_fattr after SETATTR. Reachability requires an NFSv4 client mount whose server advertises security-label capability; repeated writes consume kernel memory and can interrupt the system.
The record
- CVE
- CVE-2024-41076
- Published
- Jul 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1b00ad657997c8984a9e627a3bd37ea14f20beb2 <899604a7c958771840941caff9ee3dd8193d984c
- Affected versionversion=1b00ad657997c8984a9e627a3bd37ea14f20beb2 <aad11473f8f4be3df86461081ce35ec5b145ba68
- Affected versionversion=1b00ad657997c8984a9e627a3bd37ea14f20beb2 <b98090699319e64f5de1e8db5bb75870f1eb1c6e
- Affected versionversion=1b00ad657997c8984a9e627a3bd37ea14f20beb2 <d130220ccc94d74d70da984a199477937e7bf03c
- Affected versionversion=5.16
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo