# CVE-2026-53392: NFSv4/flexfiles: reject zero filehandle version count

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-476, CWE-20
- **Published:** 2026-07-19T12:01:56.101Z
- **Modified:** 2026-10-19T20:19:17.987Z

## Who should check

- Anyone running Linux \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 9033591535c066726f5b505126ccb4068b98fa4f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< be7829715e341b42846437dd9e721005db59f0cc; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< eeabb9020721db6bc132e68eeae380b8d4fb4b04; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7779c85028a0676fb190cde4f0c540f4f8e97761; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d8c90c7cc061265d5f2813a1f5c82ef2f4707e67; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2131ed64b767ffa8bcdb3677d90f3964e39aabc8; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2
- Anyone running Linux 4.0

## Description

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

NFSv4/flexfiles: reject zero filehandle version count

ff\_layout\_alloc\_lseg() decodes the filehandle-version array count
from the flexfiles layout body. The value is used as the count for
kzalloc\_objs(), and the current code only rejects NULL.

A zero count yields ZERO\_SIZE\_PTR, which can be stored in
dss\_info-\>fh\_versions even though later flexfiles paths assume that at
least one filehandle version exists.

Reject fh\_count == 0 before the allocation, matching the existing zero
version\_count validation in the flexfiles GETDEVICEINFO parser.

A QEMU/KASAN run with a malformed flexfiles layout hit:

  KASAN: null-ptr-deref in range \[0x0000000000000010-0x0000000000000017\]
  RIP: 0010:ff\_layout\_encode\_ff\_layoutupdate.isra.0+0x15f/0x750
  ff\_layout\_encode\_layoutreturn+0x683/0x970
  nfs4\_xdr\_enc\_layoutreturn+0x278/0x3a0
  Kernel panic - not syncing: Fatal exception

The patched kernel rejects the malformed layout without KASAN/oops/panic,
and a valid fh\_count=1 regression still opens, reads, and unmounts cleanly.

## Affected and fixed versions

- Linux: \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 9033591535c066726f5b505126ccb4068b98fa4f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< be7829715e341b42846437dd9e721005db59f0cc; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< eeabb9020721db6bc132e68eeae380b8d4fb4b04; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7779c85028a0676fb190cde4f0c540f4f8e97761; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d8c90c7cc061265d5f2813a1f5c82ef2f4707e67; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2131ed64b767ffa8bcdb3677d90f3964e39aabc8; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53392. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53392.md
Affected: Linux >= d67ae825a59d639e4d8b82413af84d854617a87e, < 9033591535c066726f5b505126ccb4068b98fa4f; >= d67ae825a59d639e4d8b82413af84d854617a87e, < 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf; >= d67ae825a59d639e4d8b82413af84d854617a87e, < be7829715e341b42846437dd9e721005db59f0cc; >= d67ae825a59d639e4d8b824…
Fixed in: Linux 9033591535c066726f5b505126ccb4068b98fa4f, Linux 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf, Linux 7779c85028a0676fb190cde4f0c540f4f8e97761, Linux 2131ed64b767ffa8bcdb3677d90f3964e39aabc8, Linux 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53392 being exploited?

There is no confirmed exploitation: CVE-2026-53392 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53392?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53392?

Linux \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 9033591535c066726f5b505126ccb4068b98fa4f; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< be7829715e341b42846437dd9e721005db59f0cc; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< eeabb9020721db6bc132e68eeae380b8d4fb4b04; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 7779c85028a0676fb190cde4f0c540f4f8e97761; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< d8c90c7cc061265d5f2813a1f5c82ef2f4707e67; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2131ed64b767ffa8bcdb3677d90f3964e39aabc8; \>= d67ae825a59d639e4d8b82413af84d854617a87e, \< 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2; Linux 4.0.

### Is there a fix for CVE-2026-53392?

Yes. Fixed in Linux 9033591535c066726f5b505126ccb4068b98fa4f, Linux 18cc6d57a14fa65ab2a2b52279f549041c4bc9cf, Linux 7779c85028a0676fb190cde4f0c540f4f8e97761, Linux 2131ed64b767ffa8bcdb3677d90f3964e39aabc8, Linux 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2. Upgrade Linux to 2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2 or later.

### How do I check if I'm affected by CVE-2026-53392?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9033591535c066726f5b505126ccb4068b98fa4f>
- patch: <https://git.kernel.org/stable/c/18cc6d57a14fa65ab2a2b52279f549041c4bc9cf>
- patch: <https://git.kernel.org/stable/c/be7829715e341b42846437dd9e721005db59f0cc>
- patch: <https://git.kernel.org/stable/c/eeabb9020721db6bc132e68eeae380b8d4fb4b04>
- patch: <https://git.kernel.org/stable/c/7779c85028a0676fb190cde4f0c540f4f8e97761>
- patch: <https://git.kernel.org/stable/c/d8c90c7cc061265d5f2813a1f5c82ef2f4707e67>
- patch: <https://git.kernel.org/stable/c/2131ed64b767ffa8bcdb3677d90f3964e39aabc8>
- patch: <https://git.kernel.org/stable/c/2c6bb3c40bc24f6aa8dfbe6fe98c3ad6389203f2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53392>

HTML: <https://flawdb.com/CVE-2026-53392> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53392>
