Linux aws: In the Linux kernel, the following vulnerability has been resolved: NFSv4/flexfiles: reject zero filehandle version count ff_layout_alloc_lseg()… (CVE-2026-53392)
A vulnerability in the Linux kernel's NFSv4 flexfiles implementation allowed a zero filehandle version count to be processed incorrectly, leading to a null pointer dereference and kernel panic. The issue was fixed by rejecting zero counts before allocation, preventing crashes caused by malformed flexfiles layouts.
AI Analysis
Technical Summary
The Linux kernel's NFSv4 flexfiles code in ff_layout_alloc_lseg() incorrectly handled a zero filehandle version count. The function decodes the filehandle-version array count from the flexfiles layout body and uses it as the count for kzalloc_objs(). Previously, only NULL counts were rejected, but zero counts yielded ZERO_SIZE_PTR, which was stored and later assumed to represent at least one filehandle version. This caused a null pointer dereference and kernel panic when processing malformed flexfiles layouts. The patch adds validation to reject fh_count == 0 before allocation, aligning with existing validation in the flexfiles GETDEVICEINFO parser. The fix prevents KASAN/oops/panic conditions while maintaining normal operation for valid counts.
Potential Impact
The vulnerability can cause a kernel panic due to a null pointer dereference when processing malformed NFSv4 flexfiles layouts with a zero filehandle version count. This results in a denial of service (DoS) condition. There is no indication of confidentiality or integrity impact. The CVSS score is 7.5 with a vector indicating network attack vector, low complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, and high availability impact.
Mitigation Recommendations
A patch has been applied to the Linux kernel that rejects malformed flexfiles layouts with a zero filehandle version count, preventing kernel panics. Users should update to the fixed kernel version once available. Since this is a kernel vulnerability, applying the official kernel update from the Linux distribution vendor or kernel maintainers is the recommended remediation. No additional mitigations are indicated.
Linux aws: In the Linux kernel, the following vulnerability has been resolved: NFSv4/flexfiles: reject zero filehandle version count ff_layout_alloc_lseg()… (CVE-2026-53392)
Description
A vulnerability in the Linux kernel's NFSv4 flexfiles implementation allowed a zero filehandle version count to be processed incorrectly, leading to a null pointer dereference and kernel panic. The issue was fixed by rejecting zero counts before allocation, preventing crashes caused by malformed flexfiles layouts.
CVSS v3.1
Score 7.5high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's NFSv4 flexfiles code in ff_layout_alloc_lseg() incorrectly handled a zero filehandle version count. The function decodes the filehandle-version array count from the flexfiles layout body and uses it as the count for kzalloc_objs(). Previously, only NULL counts were rejected, but zero counts yielded ZERO_SIZE_PTR, which was stored and later assumed to represent at least one filehandle version. This caused a null pointer dereference and kernel panic when processing malformed flexfiles layouts. The patch adds validation to reject fh_count == 0 before allocation, aligning with existing validation in the flexfiles GETDEVICEINFO parser. The fix prevents KASAN/oops/panic conditions while maintaining normal operation for valid counts.
Potential Impact
The vulnerability can cause a kernel panic due to a null pointer dereference when processing malformed NFSv4 flexfiles layouts with a zero filehandle version count. This results in a denial of service (DoS) condition. There is no indication of confidentiality or integrity impact. The CVSS score is 7.5 with a vector indicating network attack vector, low complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, and high availability impact.
Mitigation Recommendations
A patch has been applied to the Linux kernel that rejects malformed flexfiles layouts with a zero filehandle version count, preventing kernel panics. Users should update to the fixed kernel version once available. Since this is a kernel vulnerability, applying the official kernel update from the Linux distribution vendor or kernel maintainers is the recommended remediation. No additional mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3gfh-mq5v-c264
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53392"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27ad2a4a8d59891325c9
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 08/15/2026, 03:41:22 UTC
Last updated: 09/02/2026, 22:52:12 UTC
Views: 84
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.
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.