{"api_version":"1","generated_at":"2026-09-17T23:44:40+00:00","cve":"CVE-2026-89784","urls":{"html":"https://cve.report/CVE-2026-89784","api":"https://cve.report/api/cve/CVE-2026-89784.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89784","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89784"},"summary":{"title":"SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6\n\nrpcb_register_inet4() and rpcb_register_inet6() store the result of\nrpc_sockaddr2uaddr() into map->r_addr without checking it for NULL.\nrpc_sockaddr2uaddr() returns NULL when its final kstrdup() fails, and\nthe unchecked NULL is then carried into the synchronous RPCBPROC_SET\nencode path: rpcb_register_call() -> rpc_call_sync() ->\nrpcb_enc_getaddr() -> encode_rpcb_string(), whose first statement is\nstrlen(string), dereferencing NULL and oopsing the kernel.\n\nThe crash reproduces under failslab on v6.12; with KASAN the NULL\ndereference surfaces as a fault on the shadow of address zero:\n\n Oops: general protection fault, probably for non-canonical address\n       0xdffffc0000000000 [#1] PREEMPT SMP KASAN\n RIP: 0010:strlen (lib/string.c:409)\n Call Trace:\n  encode_rpcb_string (net/sunrpc/rpcb_clnt.c:890)\n  rpcb_enc_getaddr (net/sunrpc/rpcb_clnt.c:910)\n  rpcauth_wrap_req_encode (net/sunrpc/auth.c:745)\n  call_encode (net/sunrpc/clnt.c:1966)\n  __rpc_execute (net/sunrpc/sched.c:952)\n  rpc_run_task (net/sunrpc/clnt.c:1243)\n  rpc_call_sync (net/sunrpc/clnt.c:1272)\n  rpcb_v4_register (net/sunrpc/rpcb_clnt.c:500)\n  svc_generic_rpcbind_set\n  nfsd_rpcbind_set\n  svc_register\n  svc_setup_socket\n  svc_addsock\n  write_ports\n  nfsctl_transaction_write\n  vfs_write\n\nThe crash is reachable when an in-kernel RPC service (nfsd, lockd,\nnfs-callback) registers with the local rpcbind under enough memory\npressure for the small GFP_KERNEL kstrdup() in rpc_sockaddr2uaddr() to\nfail. The asynchronous getport path already handles this exact failure\nmode by returning -ENOMEM; only the two register helpers omit the check.\n\nMirror that handling: bail out with -ENOMEM when rpc_sockaddr2uaddr()\nreturns NULL, before the address is fed into the encoder.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-16 09:17:09","updated_at":"2026-09-16 09:17:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/cda4aacfb0bbf5c0f90fd0b42c72c749635d1368","name":"https://git.kernel.org/stable/c/cda4aacfb0bbf5c0f90fd0b42c72c749635d1368","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5a51c49ddb37b883566874aecc66bc5a2e617a96","name":"https://git.kernel.org/stable/c/5a51c49ddb37b883566874aecc66bc5a2e617a96","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4e01022974355732e748ec8ebc97c558cb624ffe","name":"https://git.kernel.org/stable/c/4e01022974355732e748ec8ebc97c558cb624ffe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/12bf3e0182ccdaf3b412756a756d3944a7dacaa9","name":"https://git.kernel.org/stable/c/12bf3e0182ccdaf3b412756a756d3944a7dacaa9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6","name":"https://git.kernel.org/stable/c/eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/04441b792ec40eb66349b5fab34b6a2090b5b2dd","name":"https://git.kernel.org/stable/c/04441b792ec40eb66349b5fab34b6a2090b5b2dd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a6095de8cb1858e05bdf70b3e7d6d7645c25041","name":"https://git.kernel.org/stable/c/4a6095de8cb1858e05bdf70b3e7d6d7645c25041","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fd22370226a0d8109045d0831fd5aaadee921693","name":"https://git.kernel.org/stable/c/fd22370226a0d8109045d0831fd5aaadee921693","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89784","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89784","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 04441b792ec40eb66349b5fab34b6a2090b5b2dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 5a51c49ddb37b883566874aecc66bc5a2e617a96 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 4a6095de8cb1858e05bdf70b3e7d6d7645c25041 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 12bf3e0182ccdaf3b412756a756d3944a7dacaa9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 4e01022974355732e748ec8ebc97c558cb624ffe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 cda4aacfb0bbf5c0f90fd0b42c72c749635d1368 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d77385f23830ee6c400569bac8b37e6eb3b7d360 fd22370226a0d8109045d0831fd5aaadee921693 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sunrpc/rpcb_clnt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"04441b792ec40eb66349b5fab34b6a2090b5b2dd","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"5a51c49ddb37b883566874aecc66bc5a2e617a96","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"4a6095de8cb1858e05bdf70b3e7d6d7645c25041","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"12bf3e0182ccdaf3b412756a756d3944a7dacaa9","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"4e01022974355732e748ec8ebc97c558cb624ffe","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"cda4aacfb0bbf5c0f90fd0b42c72c749635d1368","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"},{"lessThan":"fd22370226a0d8109045d0831fd5aaadee921693","status":"affected","version":"d77385f23830ee6c400569bac8b37e6eb3b7d360","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sunrpc/rpcb_clnt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.2"},{"lessThan":"3.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"3.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6\n\nrpcb_register_inet4() and rpcb_register_inet6() store the result of\nrpc_sockaddr2uaddr() into map->r_addr without checking it for NULL.\nrpc_sockaddr2uaddr() returns NULL when its final kstrdup() fails, and\nthe unchecked NULL is then carried into the synchronous RPCBPROC_SET\nencode path: rpcb_register_call() -> rpc_call_sync() ->\nrpcb_enc_getaddr() -> encode_rpcb_string(), whose first statement is\nstrlen(string), dereferencing NULL and oopsing the kernel.\n\nThe crash reproduces under failslab on v6.12; with KASAN the NULL\ndereference surfaces as a fault on the shadow of address zero:\n\n Oops: general protection fault, probably for non-canonical address\n       0xdffffc0000000000 [#1] PREEMPT SMP KASAN\n RIP: 0010:strlen (lib/string.c:409)\n Call Trace:\n  encode_rpcb_string (net/sunrpc/rpcb_clnt.c:890)\n  rpcb_enc_getaddr (net/sunrpc/rpcb_clnt.c:910)\n  rpcauth_wrap_req_encode (net/sunrpc/auth.c:745)\n  call_encode (net/sunrpc/clnt.c:1966)\n  __rpc_execute (net/sunrpc/sched.c:952)\n  rpc_run_task (net/sunrpc/clnt.c:1243)\n  rpc_call_sync (net/sunrpc/clnt.c:1272)\n  rpcb_v4_register (net/sunrpc/rpcb_clnt.c:500)\n  svc_generic_rpcbind_set\n  nfsd_rpcbind_set\n  svc_register\n  svc_setup_socket\n  svc_addsock\n  write_ports\n  nfsctl_transaction_write\n  vfs_write\n\nThe crash is reachable when an in-kernel RPC service (nfsd, lockd,\nnfs-callback) registers with the local rpcbind under enough memory\npressure for the small GFP_KERNEL kstrdup() in rpc_sockaddr2uaddr() to\nfail. The asynchronous getport path already handles this exact failure\nmode by returning -ENOMEM; only the two register helpers omit the check.\n\nMirror that handling: bail out with -ENOMEM when rpc_sockaddr2uaddr()\nreturns NULL, before the address is fed into the encoder."}],"providerMetadata":{"dateUpdated":"2026-09-16T08:48:22.404Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/04441b792ec40eb66349b5fab34b6a2090b5b2dd"},{"url":"https://git.kernel.org/stable/c/5a51c49ddb37b883566874aecc66bc5a2e617a96"},{"url":"https://git.kernel.org/stable/c/4a6095de8cb1858e05bdf70b3e7d6d7645c25041"},{"url":"https://git.kernel.org/stable/c/12bf3e0182ccdaf3b412756a756d3944a7dacaa9"},{"url":"https://git.kernel.org/stable/c/4e01022974355732e748ec8ebc97c558cb624ffe"},{"url":"https://git.kernel.org/stable/c/cda4aacfb0bbf5c0f90fd0b42c72c749635d1368"},{"url":"https://git.kernel.org/stable/c/eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6"},{"url":"https://git.kernel.org/stable/c/fd22370226a0d8109045d0831fd5aaadee921693"}],"title":"SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89784","datePublished":"2026-09-16T08:48:22.404Z","dateReserved":"2026-09-11T19:38:34.766Z","dateUpdated":"2026-09-16T08:48:22.404Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-16 09:17:09","lastModifiedDate":"2026-09-16 09:17:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89784","Ordinal":"1","Title":"SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register","CVE":"CVE-2026-89784","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89784","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6\n\nrpcb_register_inet4() and rpcb_register_inet6() store the result of\nrpc_sockaddr2uaddr() into map->r_addr without checking it for NULL.\nrpc_sockaddr2uaddr() returns NULL when its final kstrdup() fails, and\nthe unchecked NULL is then carried into the synchronous RPCBPROC_SET\nencode path: rpcb_register_call() -> rpc_call_sync() ->\nrpcb_enc_getaddr() -> encode_rpcb_string(), whose first statement is\nstrlen(string), dereferencing NULL and oopsing the kernel.\n\nThe crash reproduces under failslab on v6.12; with KASAN the NULL\ndereference surfaces as a fault on the shadow of address zero:\n\n Oops: general protection fault, probably for non-canonical address\n       0xdffffc0000000000 [#1] PREEMPT SMP KASAN\n RIP: 0010:strlen (lib/string.c:409)\n Call Trace:\n  encode_rpcb_string (net/sunrpc/rpcb_clnt.c:890)\n  rpcb_enc_getaddr (net/sunrpc/rpcb_clnt.c:910)\n  rpcauth_wrap_req_encode (net/sunrpc/auth.c:745)\n  call_encode (net/sunrpc/clnt.c:1966)\n  __rpc_execute (net/sunrpc/sched.c:952)\n  rpc_run_task (net/sunrpc/clnt.c:1243)\n  rpc_call_sync (net/sunrpc/clnt.c:1272)\n  rpcb_v4_register (net/sunrpc/rpcb_clnt.c:500)\n  svc_generic_rpcbind_set\n  nfsd_rpcbind_set\n  svc_register\n  svc_setup_socket\n  svc_addsock\n  write_ports\n  nfsctl_transaction_write\n  vfs_write\n\nThe crash is reachable when an in-kernel RPC service (nfsd, lockd,\nnfs-callback) registers with the local rpcbind under enough memory\npressure for the small GFP_KERNEL kstrdup() in rpc_sockaddr2uaddr() to\nfail. The asynchronous getport path already handles this exact failure\nmode by returning -ENOMEM; only the two register helpers omit the check.\n\nMirror that handling: bail out with -ENOMEM when rpc_sockaddr2uaddr()\nreturns NULL, before the address is fed into the encoder.","Type":"Description","Title":"SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register"}]}}}