# CVE-2026-89698: nfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-09-11T19:46:16.551Z
- Modified: 2026-10-19T09:18:08.400Z
- Assigned by: Linux

## Description

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

nfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage

struct nfsd_genl_rqstp declares rq_daddr and rq_saddr as plain
"struct sockaddr" (16 bytes). When an IPv6 NFS client is connected,
nfsd_genl_rpc_status_compose_msg() casts these fields to
"struct sockaddr_in6 *" (28 bytes) and reads sin6_addr at offset 8..24,
which extends 8 bytes past the end of the 16-byte sockaddr field into
the adjacent rq_flags member. The 16-byte nla_put_in6_addr then ships 8
bytes of truncated IPv6 address followed by 8 bytes of rq_flags to
userspace via the NFSD_A_RPC_STATUS_SADDR6/DADDR6 netlink attributes.

This is reachable by any unprivileged process in the network namespace
because NFSD_CMD_RPC_STATUS_GET uses GENL_CMD_CAP_DUMP without
GENL_ADMIN_PERM.

Fix by widening rq_daddr and rq_saddr to struct sockaddr_storage so the
IPv6 casts operate within bounds, copying sizeof(struct sockaddr_storage)
bytes in the memcpy calls so the full address is captured, and
zero-initializing the genl_rqstp stack variable to prevent leaking
uninitialized tail bytes through netlink.

(As written by CVE List.)

## Affected

- Linux Linux: from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 9a2e791639a1c5cac3f219b0d2632835d8f88d27; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before 03c512f22d3fbe7a3767d6df5e3d88b8e7c105e5; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before dcb69ad0dafb4a24b825183bb94055d5be8a10bd; from bd9d6a3efa9709e653aafbeb859289feccb8e70c before a99d720ed2a5258564e5e9d5f39f3184a030d354; 6.7 (not affected: before 6.7; from 6.12.111 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/9a2e791639a1c5cac3f219b0d2632835d8f88d27>
- <https://git.kernel.org/stable/c/03c512f22d3fbe7a3767d6df5e3d88b8e7c105e5>
- <https://git.kernel.org/stable/c/dcb69ad0dafb4a24b825183bb94055d5be8a10bd>
- <https://git.kernel.org/stable/c/a99d720ed2a5258564e5e9d5f39f3184a030d354>

## Sources

- CVE List: [CVE-2026-89698](https://www.cve.org/CVERecord?id=CVE-2026-89698), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89698](https://nvd.nist.gov/vuln/detail/CVE-2026-89698), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89698 · Whole record: https://cve.day/CVE-2026-89698.json · Rebuilt by cve.day 2026-11-25T22:59:38.117Z
