# CVE-2026-53391: NFSv4/pNFS: reject zero-length r\_addr in nfs4\_decode\_mp\_ds\_addr

> 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.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-19T12:01:55.521Z
- **Modified:** 2026-10-19T20:19:17.817Z

## Who should check

- Anyone running Linux \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 76b94cbd32aacf36a641956385a852635c6802b9; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< c8e4e0c701d0192a2efb6df059c0f9e19678c23d; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 427ab81a811dab4bca9d19f82eec5847ae42646e; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 012d37a568bfbb2c9686f03ade75560bc7139956; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 30aae62e50b4e074a90a9a5e15246548fbdc1182; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 41fe0f7b84f0cb822ae10ab08592996a592b2a25
- Anyone running Linux 4.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 76b94cbd32aacf36a641956385a852635c6802b9; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< c8e4e0c701d0192a2efb6df059c0f9e19678c23d; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 427ab81a811dab4bca9d19f82eec5847ae42646e; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 012d37a568bfbb2c9686f03ade75560bc7139956; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 30aae62e50b4e074a90a9a5e15246548fbdc1182; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 41fe0f7b84f0cb822ae10ab08592996a592b2a25 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 41fe0f7b84f0cb822ae10ab08592996a592b2a25 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-53391. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53391.md
Affected: Linux >= 6b7f3cf96364eaf597940cb5c68a682894829915, < 76b94cbd32aacf36a641956385a852635c6802b9; >= 6b7f3cf96364eaf597940cb5c68a682894829915, < c8e4e0c701d0192a2efb6df059c0f9e19678c23d; >= 6b7f3cf96364eaf597940cb5c68a682894829915, < 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea; >= 6b7f3cf96364eaf597940cb…
Fixed in: Linux 76b94cbd32aacf36a641956385a852635c6802b9, Linux 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea, Linux 427ab81a811dab4bca9d19f82eec5847ae42646e, Linux 012d37a568bfbb2c9686f03ade75560bc7139956, Linux 30aae62e50b4e074a90a9a5e15246548fbdc1182, Linux 41fe0f7b84f0cb822ae10ab08592996a592b2a25

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-53391 being exploited?

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

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

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

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

Linux \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 76b94cbd32aacf36a641956385a852635c6802b9; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< c8e4e0c701d0192a2efb6df059c0f9e19678c23d; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 427ab81a811dab4bca9d19f82eec5847ae42646e; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 012d37a568bfbb2c9686f03ade75560bc7139956; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 30aae62e50b4e074a90a9a5e15246548fbdc1182; \>= 6b7f3cf96364eaf597940cb5c68a682894829915, \< 41fe0f7b84f0cb822ae10ab08592996a592b2a25; Linux 4.0.

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

Yes. Fixed in Linux 76b94cbd32aacf36a641956385a852635c6802b9, Linux 6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea, Linux 427ab81a811dab4bca9d19f82eec5847ae42646e, Linux 012d37a568bfbb2c9686f03ade75560bc7139956, Linux 30aae62e50b4e074a90a9a5e15246548fbdc1182, Linux 41fe0f7b84f0cb822ae10ab08592996a592b2a25. Upgrade Linux to 41fe0f7b84f0cb822ae10ab08592996a592b2a25 or later.

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

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/76b94cbd32aacf36a641956385a852635c6802b9>
- patch: <https://git.kernel.org/stable/c/c8e4e0c701d0192a2efb6df059c0f9e19678c23d>
- patch: <https://git.kernel.org/stable/c/6c344fff2feff9d4d716d8e4ad40e9b5040ee5ea>
- patch: <https://git.kernel.org/stable/c/427ab81a811dab4bca9d19f82eec5847ae42646e>
- patch: <https://git.kernel.org/stable/c/012d37a568bfbb2c9686f03ade75560bc7139956>
- patch: <https://git.kernel.org/stable/c/30aae62e50b4e074a90a9a5e15246548fbdc1182>
- patch: <https://git.kernel.org/stable/c/41fe0f7b84f0cb822ae10ab08592996a592b2a25>

## 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-53391>

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