VDB

CVE-2026-89700

CVE-2026-89700 PUBLISHED

nfsd: validate sockaddr length per family in listener_set

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: nfsd: validate sockaddr length per family in listener_set nfsd_sock_nl_policy declares NFSD_A_SOCK_ADDR as a bare NLA_BINARY attribute with no minimum length. A CAP_NET_ADMIN caller can send a 16-byte NFSD_A_SOCK_ADDR with sa_family=AF_INET6, causing a 12-byte OOB read across three consumers (rpc_cmp_addr_port, svc_find_listener, kernel_bind). nfsd_nl_listener_set_doit() also parsed and validated each listener entry inline in two separate loops, interleaved with mutating the running listener configuration. The validation was duplicated, used an open-coded "nla_len < sizeof(struct sockaddr)" check that was too short for AF_INET6, and handled a malformed entry inconsistently depending on which loop noticed it. Add an nfsd_nl_validate_listeners() helper that walks the entire list once and confirms each entry parses, carries both an address and a transport name, and is long enough for its address family (sizeof(struct sockaddr_in) for AF_INET, sizeof(struct sockaddr_in6) for AF_INET6, -EAFNOSUPPORT otherwise). Call it before taking nfsd_mutex or creating the serv, so a malformed request fails cleanly with no side effects. Since every entry is known valid by the time the two existing loops run, drop the redundant presence and per-family length checks from both, leaving only the nla_parse_nested() call needed to extract the data.

EPSS 0.17% · 6.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel-livepatch-6.18.51-120.162Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
bpftool6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-headersAmazon Linux1:6.18.51-120.162.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023

Risk scores

EPSS Score
0.17%
6.2th percentile

Affected products

VendorProductVersions
LinuxLinux16a471177496c8e04a9793812c187a2c1a2192fa, 16a471177496c8e04a9793812c187a2c1a2192fa, 16a471177496c8e04a9793812c187a2c1a2192fa
LinuxLinux6.10, 0, 6.12.111
amazon:2023python3-perf6.180
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
linuxlinux_kernel6.10, 6.10, 6.10
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0
LinuxLinux7.3, 16a471177496c8e04a9793812c187a2c1a2192fa, 16a471177496c8e04a9793812c187a2c1a2192fa
amazon:2023bpftool6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0

…and 7 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89700
vulnetix vdb fixes CVE-2026-89700

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89700/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›