CVE-2026-89784
SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6
Reported by linux · Published September 16, 2026
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6 rpcb_register_inet4() and rpcb_register_inet6() store the result of rpc_sockaddr2uaddr() into map->r_addr without checking it for NULL. rpc_sockaddr2uaddr() returns NULL when its final kstrdup() fails, and the unchecked NULL is then carried into the synchronous RPCBPROC_SET encode path: rpcb_register_call() -> rpc_call_sync() -> rpcb_enc_getaddr() -> encode_rpcb_string(), whose first statement is strlen(string), dereferencing NULL and oopsing the kernel. The crash reproduces under failslab on v6.12; with KASAN the NULL dereference surfaces as a fault on the shadow of address zero: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000 [#1] PREEMPT SMP KASAN RIP: 0010:strlen (lib/string.c:409) Call Trace: encode_rpcb_string (net/sunrpc/rpcb_clnt.c:890) rpcb_enc_getaddr (net/sunrpc/rpcb_clnt.c:910) rpcauth_wrap_req_encode (net/sunrpc/auth.c:745) call_encode (net/sunrpc/clnt.c:1966) __rpc_execute (net/sunrpc/sched.c:952) rpc_run_task (net/sunrpc/clnt.c:1243) rpc_call_sync (net/sunrpc/clnt.c:1272) rpcb_v4_register (net/sunrpc/rpcb_clnt.c:500) svc_generic_rpcbind_set nfsd_rpcbind_set svc_register svc_setup_socket svc_addsock write_ports nfsctl_transaction_write vfs_write The crash is reachable when an in-kernel RPC service (nfsd, lockd, nfs-callback) registers with the local rpcbind under enough memory pressure for the small GFP_KERNEL kstrdup() in rpc_sockaddr2uaddr() to fail. The asynchronous getport path already handles this exact failure mode by returning -ENOMEM; only the two register helpers omit the check. Mirror that handling: bail out with -ENOMEM when rpc_sockaddr2uaddr() returns NULL, before the address is fed into the encoder.
EPSS 0.22% · 12.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-livepatch-6.1.188-233.385 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| kernel | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d77385f23830ee6c400569bac8b37e6eb3b7d360, d77385f23830ee6c400569bac8b37e6eb3b7d360, d77385f23830ee6c400569bac8b37e6eb3b7d360 |
| Linux | Linux | 3.2, 0, 5.10.270 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.188-233.385 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
…and 18 more
Timeline
- Sep 16, 2026 EPSS Score (14 in total, the first dated here)
- Sep 16, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89784
vulnetix vdb fixes CVE-2026-89784
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-89784/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart