# CVE-2026-89784: SUNRPC: check rpc\_sockaddr2uaddr() return value in rpcb\_register\_inet4/6

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-16T08:48:22.404Z
- **Modified:** 2026-10-19T09:18:21.953Z

## Who should check

- Anyone running Linux \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 04441b792ec40eb66349b5fab34b6a2090b5b2dd; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 5a51c49ddb37b883566874aecc66bc5a2e617a96; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4a6095de8cb1858e05bdf70b3e7d6d7645c25041; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 12bf3e0182ccdaf3b412756a756d3944a7dacaa9; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4e01022974355732e748ec8ebc97c558cb624ffe; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< cda4aacfb0bbf5c0f90fd0b42c72c749635d1368; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< fd22370226a0d8109045d0831fd5aaadee921693
- Anyone running Linux 3.2

## Description

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.

## Affected and fixed versions

- Linux: \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 04441b792ec40eb66349b5fab34b6a2090b5b2dd; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 5a51c49ddb37b883566874aecc66bc5a2e617a96; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4a6095de8cb1858e05bdf70b3e7d6d7645c25041; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 12bf3e0182ccdaf3b412756a756d3944a7dacaa9; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4e01022974355732e748ec8ebc97c558cb624ffe; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< cda4aacfb0bbf5c0f90fd0b42c72c749635d1368; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< fd22370226a0d8109045d0831fd5aaadee921693 (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89784. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89784.md
Affected: Linux >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 04441b792ec40eb66349b5fab34b6a2090b5b2dd; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 5a51c49ddb37b883566874aecc66bc5a2e617a96; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 4a6095de8cb1858e05bdf70b3e7d6d7645c25041; >= d77385f23830ee6c400569b…
Fixed in: Linux 04441b792ec40eb66349b5fab34b6a2090b5b2dd, Linux 5a51c49ddb37b883566874aecc66bc5a2e617a96, Linux 4a6095de8cb1858e05bdf70b3e7d6d7645c25041, Linux 12bf3e0182ccdaf3b412756a756d3944a7dacaa9, Linux 4e01022974355732e748ec8ebc97c558cb624ffe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89784 being exploited?

There is no confirmed exploitation: CVE-2026-89784 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89784?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89784?

Linux \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 04441b792ec40eb66349b5fab34b6a2090b5b2dd; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 5a51c49ddb37b883566874aecc66bc5a2e617a96; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4a6095de8cb1858e05bdf70b3e7d6d7645c25041; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 12bf3e0182ccdaf3b412756a756d3944a7dacaa9; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< 4e01022974355732e748ec8ebc97c558cb624ffe; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< cda4aacfb0bbf5c0f90fd0b42c72c749635d1368; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6; \>= d77385f23830ee6c400569bac8b37e6eb3b7d360, \< fd22370226a0d8109045d0831fd5aaadee921693; Linux 3.2.

### Is there a fix for CVE-2026-89784?

Yes. Fixed in Linux 04441b792ec40eb66349b5fab34b6a2090b5b2dd, Linux 5a51c49ddb37b883566874aecc66bc5a2e617a96, Linux 4a6095de8cb1858e05bdf70b3e7d6d7645c25041, Linux 12bf3e0182ccdaf3b412756a756d3944a7dacaa9, Linux 4e01022974355732e748ec8ebc97c558cb624ffe. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89784?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/04441b792ec40eb66349b5fab34b6a2090b5b2dd>
- other: <https://git.kernel.org/stable/c/5a51c49ddb37b883566874aecc66bc5a2e617a96>
- other: <https://git.kernel.org/stable/c/4a6095de8cb1858e05bdf70b3e7d6d7645c25041>
- other: <https://git.kernel.org/stable/c/12bf3e0182ccdaf3b412756a756d3944a7dacaa9>
- other: <https://git.kernel.org/stable/c/4e01022974355732e748ec8ebc97c558cb624ffe>
- other: <https://git.kernel.org/stable/c/cda4aacfb0bbf5c0f90fd0b42c72c749635d1368>
- other: <https://git.kernel.org/stable/c/eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6>
- other: <https://git.kernel.org/stable/c/fd22370226a0d8109045d0831fd5aaadee921693>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89784>

HTML: <https://flawdb.com/CVE-2026-89784> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89784>
