CVE-2026-53392
NFSv4/flexfiles: reject zero filehandle version count
Reported by linux · Published July 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-zfcpdump-modules-extra | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-debuginfo | errata.rockylinux.org | 5.14.0-687.44.1.el9, 4.18.0-553.159.1.el8 |
| python3-perf-debuginfo | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| libperf | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-debug-modules-core | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-debug-core | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9, 4.18.0-553.159.1.el8 |
| kernel-64k-modules-extra | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-tools-libs | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9, 4.18.0-553.159.1.el8 |
| kernel-rt-64k-debug-core | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-rt-64k-debug-modules-core | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
48 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d67ae825a59d639e4d8b82413af84d854617a87e, d67ae825a59d639e4d8b82413af84d854617a87e, d67ae825a59d639e4d8b82413af84d854617a87e |
| Linux | Linux | 4.0, 0, 5.10.261 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| chainguard | linux-azure-6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| chainguard | linux-gcp-6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
…and 22 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (35 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (38 in total, the first dated here)
- Sep 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53392
vulnetix vdb fixes CVE-2026-53392
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53392/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart