CVE-2026-53391
NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr
Reported by linux · Published July 19, 2026
In the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr nfs4_decode_mp_ds_addr() decodes the r_netid and r_addr opaques of a netaddr4 from a GETDEVICEINFO multipath-DS body, then immediately calls strrchr(buf, '.') to locate the port separator. Both decodes use xdr_stream_decode_string_dup(), and the current code checks only "nlen < 0" / "rlen < 0" before dereferencing the returned string. When the on-wire opaque has length zero, xdr_stream_decode_opaque_inline() returns 0 and xdr_stream_decode_string_dup() falls through to its "*str = NULL; return ret" tail, leaving buf NULL with a return value of 0. The "< 0" check does not catch this, and the next line is strrchr(NULL, '.'), a kernel NULL pointer dereference reachable from any pNFS-flexfile client mounted against a malicious or compromised metadata server. Reject the zero-length cases explicitly so the decoder fails with -EBADMSG (treated as a malformed GETDEVICEINFO body) instead of panicking the client.
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-debug | errata.rockylinux.org | 5.14.0-687.44.1.el9, 4.18.0-553.159.1.el8 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-64k-devel | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-devel-matched | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| bpftool | errata.rockylinux.org | 4.18.0-553.159.1.el8 |
| kernel-debug-devel | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-rt | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-debuginfo | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-tools-libs-devel | errata.rockylinux.org | 4.18.0-553.159.1.el8 |
| rv | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-debug-core | errata.rockylinux.org | 5.14.0-687.44.1.el9, 4.18.0-553.159.1.el8 |
50 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6b7f3cf96364eaf597940cb5c68a682894829915, 6b7f3cf96364eaf597940cb5c68a682894829915, 6b7f3cf96364eaf597940cb5c68a682894829915 |
| Linux | Linux | 4.0, 0, 5.15.211 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.177-224.371 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.12.95-124.187 | 0 |
| linux | linux_kernel | 4.0, 4.0, 4.0 |
…and 18 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-53391
vulnetix vdb fixes CVE-2026-53391
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-53391/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart