CVE-2026-53391
Last modified
CVE-2026-53391 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.0, < 5.15.211 |
| Linux | Linux Kernel | >= 5.16, < 6.1.177 |
| Linux | Linux Kernel | >= 6.2, < 6.6.144 |
| Linux | Linux Kernel | >= 6.7, < 6.12.95 |
| Linux | Linux Kernel | >= 6.13, < 6.18.38 |
| Linux | Linux Kernel | >= 6.19, < 7.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-53391?
How severe is CVE-2026-53391?
How do I fix CVE-2026-53391?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53386In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53387In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-53388In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53389In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-5339A vulnerability was detected in Tenda G103 1.0.0.5. The impa…8.8
- CVE-2026-53390In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-53392In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-53393In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53394In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-53395In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-53396In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-53397In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-53391?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
