CVE-2026-89784
Last modified
CVE-2026-89784 is a vulnerability of currently unknown severity. 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..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 04441b792ec40eb66349b5fab34b6a2090b5b2dd; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 5a51c49ddb37b883566874aecc66bc5a2e617a96; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 4a6095de8cb1858e05bdf70b3e7d6d7645c25041; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 12bf3e0182ccdaf3b412756a756d3944a7dacaa9; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < 4e01022974355732e748ec8ebc97c558cb624ffe; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < cda4aacfb0bbf5c0f90fd0b42c72c749635d1368; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6; >= d77385f23830ee6c400569bac8b37e6eb3b7d360, < fd22370226a0d8109045d0831fd5aaadee921693 |
| Linux | Linux | 3.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89784?
How severe is CVE-2026-89784?
How do I fix CVE-2026-89784?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89779In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-8978The OptinCraft – Drag & Drop Optins & Popup Builder for Word…4.9
- CVE-2026-89780In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89781In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-89782In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-89783In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89785In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89786In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-89787In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89788In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89789In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-8979The Mennekes Amtron series (firmware versions ≤ 5.22.3) is v…9.3
Are you affected by CVE-2026-89784?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
