{"id":"CVE-2026-89698","aliases":["CVE-2026-89698"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage\n\nstruct nfsd_genl_rqstp declares rq_daddr and rq_saddr as plain\n\"struct sockaddr\" (16 bytes). When an IPv6 NFS client is connected,\nnfsd_genl_rpc_status_compose_msg() casts these fields to\n\"struct sockaddr_in6 *\" (28 bytes) and reads sin6_addr at offset 8..24,\nwhich extends 8 bytes past the end of the 16-byte sockaddr field into\nthe adjacent rq_flags member. The 16-byte nla_put_in6_addr then ships 8\nbytes of truncated IPv6 address followed by 8 bytes of rq_flags to\nuserspace via the NFSD_A_RPC_STATUS_SADDR6/DADDR6 netlink attributes.\n\nThis is reachable by any unprivileged process in the network namespace\nbecause NFSD_CMD_RPC_STATUS_GET uses GENL_CMD_CAP_DUMP without\nGENL_ADMIN_PERM.\n\nFix by widening rq_daddr and rq_saddr to struct sockaddr_storage so the\nIPv6 casts operate within bounds, copying sizeof(struct sockaddr_storage)\nbytes in the memcpy calls so the full address is captured, and\nzero-initializing the genl_rqstp stack variable to prevent leaking\nuninitialized tail bytes through netlink.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage\n\nstruct nfsd_genl_rqstp declares rq_daddr and rq_saddr as plain\n\"struct sockaddr\" (16 bytes). When an IPv6 NFS client is connected,\nnfsd_genl_rpc_status_compose_msg() casts these fields to\n\"struct sockaddr_in6 *\" (28 bytes) and reads sin6_addr at offset 8..24,\nwhich extends 8 bytes past the end of the 16-byte sockaddr field into\nthe adjacent rq_flags member. The 16-byte nla_put_in6_addr then ships 8\nbytes of truncated IPv6 address followed by 8 bytes of rq_flags to\nuserspace via the NFSD_A_RPC_STATUS_SADDR6/DADDR6 netlink attributes.\n\nThis is reachable by any unprivileged process in the network namespace\nbecause NFSD_CMD_RPC_STATUS_GET uses GENL_CMD_CAP_DUMP without\nGENL_ADMIN_PERM.\n\nFix by widening rq_daddr and rq_saddr to struct sockaddr_storage so the\nIPv6 casts operate within bounds, copying sizeof(struct sockaddr_storage)\nbytes in the memcpy calls so the full address is captured, and\nzero-initializing the genl_rqstp stack variable to prevent leaking\nuninitialized tail bytes through netlink.","source":"cvelist"}],"published":"2026-09-11T19:46:16.551Z","modified":"2026-10-19T09:18:08.400Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"9a2e791639a1c5cac3f219b0d2632835d8f88d27","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"03c512f22d3fbe7a3767d6df5e3d88b8e7c105e5","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"dcb69ad0dafb4a24b825183bb94055d5be8a10bd","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"a99d720ed2a5258564e5e9d5f39f3184a030d354","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9a2e791639a1c5cac3f219b0d2632835d8f88d27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03c512f22d3fbe7a3767d6df5e3d88b8e7c105e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcb69ad0dafb4a24b825183bb94055d5be8a10bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a99d720ed2a5258564e5e9d5f39f3184a030d354","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89698","url":"https://www.cve.org/CVERecord?id=CVE-2026-89698","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:11.410Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89698","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89698","licence":"Public domain","modified":"2026-10-19T09:18:08.400Z"}],"updatedAt":"2026-11-25T22:59:38.117Z","epss":{"score":0.00206,"percentile":0.1117,"date":"2026-12-02T12:00:21.000Z"}}