SUNRPC: check rpc_sockaddr2uaddr() return value in rpcb_register_inet4/6
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.
- Published
- Sep 16, 2026
- Updated
- Sep 16, 2026
- EPSS
- 0.2% · 10th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Affected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.2affected
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before 04441b792ec40eb66349b5fab34b6a2090b5b2ddaffected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before 5a51c49ddb37b883566874aecc66bc5a2e617a96affected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before 4a6095de8cb1858e05bdf70b3e7d6d7645c25041affected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before 12bf3e0182ccdaf3b412756a756d3944a7dacaa9affected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before 4e01022974355732e748ec8ebc97c558cb624ffeaffected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before cda4aacfb0bbf5c0f90fd0b42c72c749635d1368affected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6affected · git
- d77385f23830ee6c400569bac8b37e6eb3b7d360 and later · before fd22370226a0d8109045d0831fd5aaadee921693affected · git
- before 3.2not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | all versions | — |
| Debian:13 | linux | before 6.12.111-1 | 6.12.111-1 |
| Debian:14 | linux | before 7.2.6-1 | 7.2.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
- CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler40Plan
- CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index40Plan
- CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 04441b792ec40eb66349b5fab34b6a2090b5b2dd | Vendor (CNA) |
| Linux Linux | 12bf3e0182ccdaf3b412756a756d3944a7dacaa9 | Vendor (CNA) |
| Linux Linux | 4a6095de8cb1858e05bdf70b3e7d6d7645c25041 | Vendor (CNA) |
| Linux Linux | 4e01022974355732e748ec8ebc97c558cb624ffe | Vendor (CNA) |
| Linux Linux | 5a51c49ddb37b883566874aecc66bc5a2e617a96 | Vendor (CNA) |
| Linux Linux | cda4aacfb0bbf5c0f90fd0b42c72c749635d1368 | Vendor (CNA) |
| Linux Linux | eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6 | Vendor (CNA) |
| Linux Linux | fd22370226a0d8109045d0831fd5aaadee921693 | Vendor (CNA) |
| azl3 kernel 6.6.150.1-1 on Azure Linux 3.0 | — | Microsoft (MSRC) |
| azl3 kernel 6.6.152.1-1 on Azure Linux 3.0 | 6.6.157.1-1 · Release Notes | Microsoft (MSRC) |
| debian:linux | 6.12.111-1 · Debian:13 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/04441b792ec40eb66349b5fab34b6a2090b5b2dd
- git.kernel.org/stable/c/12bf3e0182ccdaf3b412756a756d3944a7dacaa9
- git.kernel.org/stable/c/4a6095de8cb1858e05bdf70b3e7d6d7645c25041
- git.kernel.org/stable/c/4e01022974355732e748ec8ebc97c558cb624ffe
- git.kernel.org/stable/c/5a51c49ddb37b883566874aecc66bc5a2e617a96
- git.kernel.org/stable/c/cda4aacfb0bbf5c0f90fd0b42c72c749635d1368
- git.kernel.org/stable/c/eb476289c12cc22c8766f8a84eeb7ab46c4e8fb6
- git.kernel.org/stable/c/fd22370226a0d8109045d0831fd5aaadee921693
Vendor advisories and official records. Exploit/PoC links are deliberately left out.