Skip to content
Heist/ feed
Unrated

nfsd: widen nfsd_genl_rqstp address fields to sockaddr_storage

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-89698

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89698

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "bd9d6a3efa9709e653aafbeb859289feccb8e70c",
        "lessThan": "9a2e791639a1c5cac3f219b0d2632835d8f88d27",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bd9d6a3efa9709e653aafbeb859289feccb8e70c",
        "lessThan": "03c512f22d3fbe7a3767d6df5e3d88b8e7c105e5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bd9d6a3efa9709e653aafbeb859289feccb8e70c",
        "lessThan": "dcb69ad0dafb4a24b825183bb94055d5be8a10bd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bd9d6a3efa9709e653aafbeb859289feccb8e70c",
        "lessThan": "a99d720ed2a5258564e5e9d5f39f3184a030d354",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/nfsd/nfsctl.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.7"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/nfsd/nfsctl.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89698

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#35182 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement