nfsd: fix posix_acl leak on SETACL decode failure
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
AI Analysis
Technical Summary
The Linux kernel's NFS server code for handling SETACL operations called the ACL decoding function twice, transferring ownership of allocated posix_acl objects. If the first call succeeded but the second failed, the decoder returned false, causing the main processing function to skip the release function that would free these objects. As a result, posix_acl objects were leaked for the lifetime of the server process. The fix involved adding dedicated release functions that free both ACL objects and wiring them to run on every code path after decoding, including failure paths, thus preventing the leak.
Potential Impact
The vulnerability results in a memory leak of posix_acl structures on the NFS server when SETACL decode fails. This can lead to increased memory consumption and potential denial of service due to resource exhaustion. There is no direct impact on confidentiality or integrity. The CVSS score is 7.5 (high impact on availability).
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly release posix_acl objects on all code paths after SETACL decoding, including failure cases. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version from the vendor or distribution is the recommended remediation. Patch status is not explicitly stated here; check the vendor or distribution advisory for the exact fixed versions and update instructions.
nfsd: fix posix_acl leak on SETACL decode failure
Description
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's NFS server code for handling SETACL operations called the ACL decoding function twice, transferring ownership of allocated posix_acl objects. If the first call succeeded but the second failed, the decoder returned false, causing the main processing function to skip the release function that would free these objects. As a result, posix_acl objects were leaked for the lifetime of the server process. The fix involved adding dedicated release functions that free both ACL objects and wiring them to run on every code path after decoding, including failure paths, thus preventing the leak.
Potential Impact
The vulnerability results in a memory leak of posix_acl structures on the NFS server when SETACL decode fails. This can lead to increased memory consumption and potential denial of service due to resource exhaustion. There is no direct impact on confidentiality or integrity. The CVSS score is 7.5 (high impact on availability).
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly release posix_acl objects on all code paths after SETACL decoding, including failure cases. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version from the vendor or distribution is the recommended remediation. Patch status is not explicitly stated here; check the vendor or distribution advisory for the exact fixed versions and update instructions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mpc7-4w3v-v47r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53397"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27ad2a4a8d5989132269
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 08/15/2026, 03:39:13 UTC
Last updated: 08/26/2026, 10:52:09 UTC
Views: 88
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.