Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89702

nfsd: size fh_verify server sockaddr slot by xpt_locallen
Back to all
CVE

CVE-2026-89702

nfsd: size fh_verify server sockaddr slot by xpt_locallen

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

nfsd: size fhverify server sockaddr slot by xptlocallen

The nfsdfhverify and nfsdfhverify_err tracepoints declare the

server sockaddr slot sized by xpt_remotelen but fill it from

xptlocal using xptlocallen:

    TPSTRUCT_entry(

            ...

            _sockaddr(server, rqstp->rqxprt->xpt_remotelen)

            ...

    )

    TPfastassign(

            ...

            _assignsockaddr(server, &rqstp->rqxprt->xptlocal,

                              rqstp->rqxprt->xptlocallen);

            ...

    )

When xptlocallen exceeds xptremotelen, _assignsockaddr's memcpy

writes past the reserved ring-buffer slot. In the reverse direction

(xptlocallen < xptremotelen) the slot is oversized and the

unwritten tail leaks prior ring-buffer contents to trace consumers.

The write-past-end case is reachable on NFS/UDP. svcxprtset_remote()

is only called from svctcpaccept() (net/sunrpc/svcsock.c) and from

the RDMA connect path; svccreatesocket() for UDP calls only

svcxprtsetlocal(), so xptremotelen stays 0 for the xprt's

lifetime. Every fh_verify trace for an NFSv2/v3-over-UDP request

then copies 16 or 28 bytes from xpt_local into a zero-byte slot.

The other NFSD tracepoints that record the server address

(NFSDTRACEPROCCALLFIELDS, NFSDTRACEPROCRESFIELDS,

SVCRQSTENDPOINT_FIELDS) already size the server slot by

xptlocallen; nfsdfhverify and nfsdfhverifyerr were the only

exceptions.

Fix by sizing the server slot with xpt_locallen so the declared slot

matches the copy length. The client slot and its assignment already

agree on xpt_remotelen and are left untouched.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/719a10e3f5f868c3c4ac3cf3648c5775d12034bd, https://git.kernel.org/stable/c/71d068490098b1d23c63b2345e40675d3a1ca763, https://git.kernel.org/stable/c/7ff8d6363cffff45654ea85e319f7c0c54226012, https://git.kernel.org/stable/c/95d064f9828a20ccca5ae90a17be3e2076f25272, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89702.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89702, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00457%
EPSS Percentile
0.37666%
Introduced Version
051382885552e12541cc0ebf82092be374a9ed2a,5.15.154,dcbebc86850324fbe0a993ce352f0539cd98038a,62980365d6e894234b29f44fb2bfad4f7f8bb824,6.0.0,6.13.0,6.19.0,0
Fix Available
71d068490098b1d23c63b2345e40675d3a1ca763,5.16,6.12.109,6.18.50,7.2.4,6.12.111-1~deb12u1,6.12.111-1,0:6.12.0-207.111.5.1.el10uek,0:6.12.0-207.111.5.1.el9uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading