{"api_version":"1","generated_at":"2026-09-11T22:05:30+00:00","cve":"CVE-2026-89702","urls":{"html":"https://cve.report/CVE-2026-89702","api":"https://cve.report/api/cve/CVE-2026-89702.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89702","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89702"},"summary":{"title":"nfsd: size fh_verify server sockaddr slot by xpt_locallen","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: size fh_verify server sockaddr slot by xpt_locallen\n\nThe nfsd_fh_verify and nfsd_fh_verify_err tracepoints declare the\nserver sockaddr slot sized by xpt_remotelen but fill it from\nxpt_local using xpt_locallen:\n\n    TP_STRUCT__entry(\n            ...\n            __sockaddr(server, rqstp->rq_xprt->xpt_remotelen)\n            ...\n    )\n    TP_fast_assign(\n            ...\n            __assign_sockaddr(server, &rqstp->rq_xprt->xpt_local,\n                              rqstp->rq_xprt->xpt_locallen);\n            ...\n    )\n\nWhen xpt_locallen exceeds xpt_remotelen, __assign_sockaddr's memcpy\nwrites past the reserved ring-buffer slot. In the reverse direction\n(xpt_locallen < xpt_remotelen) the slot is oversized and the\nunwritten tail leaks prior ring-buffer contents to trace consumers.\n\nThe write-past-end case is reachable on NFS/UDP. svc_xprt_set_remote()\nis only called from svc_tcp_accept() (net/sunrpc/svcsock.c) and from\nthe RDMA connect path; svc_create_socket() for UDP calls only\nsvc_xprt_set_local(), so xpt_remotelen stays 0 for the xprt's\nlifetime. Every fh_verify trace for an NFSv2/v3-over-UDP request\nthen copies 16 or 28 bytes from xpt_local into a zero-byte slot.\n\nThe other NFSD tracepoints that record the server address\n(NFSD_TRACE_PROC_CALL_FIELDS, NFSD_TRACE_PROC_RES_FIELDS,\nSVC_RQST_ENDPOINT_FIELDS) already size the server slot by\nxpt_locallen; nfsd_fh_verify and nfsd_fh_verify_err were the only\nexceptions.\n\nFix by sizing the server slot with xpt_locallen so the declared slot\nmatches the copy length. The client slot and its assignment already\nagree on xpt_remotelen and are left untouched.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:57","updated_at":"2026-09-11 20:19:57"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7ff8d6363cffff45654ea85e319f7c0c54226012","name":"https://git.kernel.org/stable/c/7ff8d6363cffff45654ea85e319f7c0c54226012","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/95d064f9828a20ccca5ae90a17be3e2076f25272","name":"https://git.kernel.org/stable/c/95d064f9828a20ccca5ae90a17be3e2076f25272","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/71d068490098b1d23c63b2345e40675d3a1ca763","name":"https://git.kernel.org/stable/c/71d068490098b1d23c63b2345e40675d3a1ca763","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/719a10e3f5f868c3c4ac3cf3648c5775d12034bd","name":"https://git.kernel.org/stable/c/719a10e3f5f868c3c4ac3cf3648c5775d12034bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89702","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89702","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 051382885552e12541cc0ebf82092be374a9ed2a 95d064f9828a20ccca5ae90a17be3e2076f25272 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 051382885552e12541cc0ebf82092be374a9ed2a 7ff8d6363cffff45654ea85e319f7c0c54226012 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 051382885552e12541cc0ebf82092be374a9ed2a 719a10e3f5f868c3c4ac3cf3648c5775d12034bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 051382885552e12541cc0ebf82092be374a9ed2a 71d068490098b1d23c63b2345e40675d3a1ca763 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected dcbebc86850324fbe0a993ce352f0539cd98038a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 62980365d6e894234b29f44fb2bfad4f7f8bb824 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.154 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/nfsd/trace.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"95d064f9828a20ccca5ae90a17be3e2076f25272","status":"affected","version":"051382885552e12541cc0ebf82092be374a9ed2a","versionType":"git"},{"lessThan":"7ff8d6363cffff45654ea85e319f7c0c54226012","status":"affected","version":"051382885552e12541cc0ebf82092be374a9ed2a","versionType":"git"},{"lessThan":"719a10e3f5f868c3c4ac3cf3648c5775d12034bd","status":"affected","version":"051382885552e12541cc0ebf82092be374a9ed2a","versionType":"git"},{"lessThan":"71d068490098b1d23c63b2345e40675d3a1ca763","status":"affected","version":"051382885552e12541cc0ebf82092be374a9ed2a","versionType":"git"},{"status":"affected","version":"dcbebc86850324fbe0a993ce352f0539cd98038a","versionType":"git"},{"status":"affected","version":"62980365d6e894234b29f44fb2bfad4f7f8bb824","versionType":"git"},{"lessThan":"5.16","status":"affected","version":"5.15.154","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/nfsd/trace.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.154","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.154","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: size fh_verify server sockaddr slot by xpt_locallen\n\nThe nfsd_fh_verify and nfsd_fh_verify_err tracepoints declare the\nserver sockaddr slot sized by xpt_remotelen but fill it from\nxpt_local using xpt_locallen:\n\n    TP_STRUCT__entry(\n            ...\n            __sockaddr(server, rqstp->rq_xprt->xpt_remotelen)\n            ...\n    )\n    TP_fast_assign(\n            ...\n            __assign_sockaddr(server, &rqstp->rq_xprt->xpt_local,\n                              rqstp->rq_xprt->xpt_locallen);\n            ...\n    )\n\nWhen xpt_locallen exceeds xpt_remotelen, __assign_sockaddr's memcpy\nwrites past the reserved ring-buffer slot. In the reverse direction\n(xpt_locallen < xpt_remotelen) the slot is oversized and the\nunwritten tail leaks prior ring-buffer contents to trace consumers.\n\nThe write-past-end case is reachable on NFS/UDP. svc_xprt_set_remote()\nis only called from svc_tcp_accept() (net/sunrpc/svcsock.c) and from\nthe RDMA connect path; svc_create_socket() for UDP calls only\nsvc_xprt_set_local(), so xpt_remotelen stays 0 for the xprt's\nlifetime. Every fh_verify trace for an NFSv2/v3-over-UDP request\nthen copies 16 or 28 bytes from xpt_local into a zero-byte slot.\n\nThe other NFSD tracepoints that record the server address\n(NFSD_TRACE_PROC_CALL_FIELDS, NFSD_TRACE_PROC_RES_FIELDS,\nSVC_RQST_ENDPOINT_FIELDS) already size the server slot by\nxpt_locallen; nfsd_fh_verify and nfsd_fh_verify_err were the only\nexceptions.\n\nFix by sizing the server slot with xpt_locallen so the declared slot\nmatches the copy length. The client slot and its assignment already\nagree on xpt_remotelen and are left untouched."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:46:19.537Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/95d064f9828a20ccca5ae90a17be3e2076f25272"},{"url":"https://git.kernel.org/stable/c/7ff8d6363cffff45654ea85e319f7c0c54226012"},{"url":"https://git.kernel.org/stable/c/719a10e3f5f868c3c4ac3cf3648c5775d12034bd"},{"url":"https://git.kernel.org/stable/c/71d068490098b1d23c63b2345e40675d3a1ca763"}],"title":"nfsd: size fh_verify server sockaddr slot by xpt_locallen","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89702","datePublished":"2026-09-11T19:46:19.537Z","dateReserved":"2026-09-11T19:38:34.750Z","dateUpdated":"2026-09-11T19:46:19.537Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:57","lastModifiedDate":"2026-09-11 20:19:57","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89702","Ordinal":"1","Title":"nfsd: size fh_verify server sockaddr slot by xpt_locallen","CVE":"CVE-2026-89702","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89702","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: size fh_verify server sockaddr slot by xpt_locallen\n\nThe nfsd_fh_verify and nfsd_fh_verify_err tracepoints declare the\nserver sockaddr slot sized by xpt_remotelen but fill it from\nxpt_local using xpt_locallen:\n\n    TP_STRUCT__entry(\n            ...\n            __sockaddr(server, rqstp->rq_xprt->xpt_remotelen)\n            ...\n    )\n    TP_fast_assign(\n            ...\n            __assign_sockaddr(server, &rqstp->rq_xprt->xpt_local,\n                              rqstp->rq_xprt->xpt_locallen);\n            ...\n    )\n\nWhen xpt_locallen exceeds xpt_remotelen, __assign_sockaddr's memcpy\nwrites past the reserved ring-buffer slot. In the reverse direction\n(xpt_locallen < xpt_remotelen) the slot is oversized and the\nunwritten tail leaks prior ring-buffer contents to trace consumers.\n\nThe write-past-end case is reachable on NFS/UDP. svc_xprt_set_remote()\nis only called from svc_tcp_accept() (net/sunrpc/svcsock.c) and from\nthe RDMA connect path; svc_create_socket() for UDP calls only\nsvc_xprt_set_local(), so xpt_remotelen stays 0 for the xprt's\nlifetime. Every fh_verify trace for an NFSv2/v3-over-UDP request\nthen copies 16 or 28 bytes from xpt_local into a zero-byte slot.\n\nThe other NFSD tracepoints that record the server address\n(NFSD_TRACE_PROC_CALL_FIELDS, NFSD_TRACE_PROC_RES_FIELDS,\nSVC_RQST_ENDPOINT_FIELDS) already size the server slot by\nxpt_locallen; nfsd_fh_verify and nfsd_fh_verify_err were the only\nexceptions.\n\nFix by sizing the server slot with xpt_locallen so the declared slot\nmatches the copy length. The client slot and its assignment already\nagree on xpt_remotelen and are left untouched.","Type":"Description","Title":"nfsd: size fh_verify server sockaddr slot by xpt_locallen"}]}}}