Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access in new network namespace
-
ExploitOpen /proc/net/rpc/use-gss-proxy, setns back to drop last netns reference
-
ExecutionWrite "1" to still-open fd triggering get_net() on freed namespace
-
ImpactUse-after-free of rpc_xprt and AF_LOCAL socket in kernel memory
Vulnerability Assessment
| Exploitation Conditions | Requires local access to a host running a kernel with SUNRPC GSS support (CONFIG_SUNRPC_GSS) that exposes /proc/net/rpc/use-gss-proxy, plus the ability to create a new network namespace and later setns() - in practice this needs either privilege or an environment where unprivileged user namespaces are enabled, which is why the CVSS carries PR:L rather than PR:N. The concrete trigger stated in the source is: open the proc file in a new netns, setns() back to the original to drop the last ns.count reference, then write "1" to the still-open descriptor so write_gssp()/set_gssp_clnt() calls get_net() on an already-freed namespace. Limiting factors: exploitation is local only (not remote), live namespaces are unaffected (a write there just returns the normal set_gssp_clnt() error), writing "2" returns -EINVAL, and reads are untouched; the secondary ip6mr_free_table() fault additionally requires CONFIG_IPV6_MROUTE. |
| Impact | This is a local-only Linux kernel use-after-free, and the signals are internally consistent on that point: the CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) describes a low-complexity attack that still requires local access and some privilege, scoring 7.8 (High) with full C:H/I:H/A:H impact typical of a kernel memory-corruption primitive. The exploitation signals argue against emergency treatment: EPSS is 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit is identified in the provided references (only the kernel.org stable fix commits and the NVD entry). The vendor-priority Decision label is 'this_week', which aligns with a patch-available, non-actively-exploited but memory-corrupting local flaw - real and worth prompt patching, not a drop-everything emergency. One data inconsistency to note: the input Tag labels this 'Information Disclosure', but the description and the CVSS impact (C:H/I:H/A:H) describe a namespace use-after-free that corrupts freed kernel memory (an rpc_xprt and its AF_LOCAL socket, plus a secondary ip6mr_free_table path), which is a memory-corruption/privilege-escalation class issue rather than pure information disclosure - treat the tag as unreliable. CWE is N/A in the input, so the weakness class (UAF/CWE-416) is inferred from the description, not asserted by the source. |
| Exploit ScenarioDerived | A local user opens /proc/net/rpc/use-gss-proxy inside a newly created network namespace, calls setns() back to the original namespace to drop the last reference on the new netns, and then writes "1" to the still-open descriptor. The write path (write_gssp → set_gssp_clnt → xprt_init) performs an unconditional get_net() on a namespace whose refcount is already zero, resurrecting a count on freed memory and leaving the RPC transport and its AF_LOCAL socket pointing at freed kernel memory. No public exploit code is identified in the sources; the description itself provides a deterministic reproduction recipe but not a weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Local use-after-free in the Linux kernel's SUNRPC GSS procfs interface allows a low-privileged local user to corrupt kernel memory by writing to /proc/net/rpc/use-gss-proxy after dropping the last reference to a network namespace. Affected systems are kernels built with SUNRPC GSS support that expose this proc file and permit creation of a new network namespace followed by setns(); CVSS 3.1 scores this 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). No public exploit was identified in the supplied data at time of analysis; EPSS is 0.17% (6th percentile).
RemediationAI
Vendor-released patch: upgrade to Linux 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1, or apply the corresponding upstream stable commits at https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6, https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918, https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1, and https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9; the vendor advisory is https://nvd.nist.gov/vuln/detail/CVE-2026-99528. If patching is delayed, block untrusted users from creating new network namespaces (for example by setting user.max_user_namespaces=0 or restricting namespace creation through seccomp/LSM policy) and restrict access to /proc/net/rpc/use-gss-proxy; these controls can break container/runtime workloads that rely on unprivileged user namespaces and may interfere with tools that inspect that proc file. Disabling CONFIG_SUNRPC_GSS removes the vulnerable interface but also disables GSS proxy support, which affects Kerberos/NFS deployments that depend on it. These are compensating controls only; the upstream fix takes the namespace reference in write_gssp() and refuses writes when the namespace is already gone.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is in the SUNRPC GSS proxy path used by /proc/net/rpc/use-gss-proxy. create_use_gss_proxy_proc_entry() stores a struct net pointer as proc entry private data without taking a namespace reference, and an open procfs file descriptor pins only the proc_dir_entry, not the network namespace. write_gssp() later retrieves that pointer with pde_data() and passes it to set_gssp_clnt(), which reaches rpc_create()/xprt_init() and calls get_net_track() -> get_net() -> refcount_inc() unconditionally, assuming the caller holds a net reference. The concrete trigger described in the source is to open the proc file inside a new network namespace, setns() back to the original namespace to drop the last ns.count reference, then write "1" to the still-open descriptor. Because __put_net() only queues cleanup_net() asynchronously and the remove_proc_entry() in the rpcsec_gss pernet .exit method runs from inside cleanup_net(), a write landing in that window increments an already-zero refcount; cleanup_net() does not re-read ns.count, so the namespace is freed while the rpc_xprt and its AF_LOCAL socket still reference freed memory. With CONFIG_IPV6_MROUTE, the same teardown can also trip !mr_can_free_table() in ip6mr_free_table(). The root cause is improper reference counting leading to use-after-free; CWE is not provided (N/A). Live namespaces are unaffected by the bug: writes there still return the set_gssp_clnt() error, a write of "2" returns -EINVAL, and reads are untouched.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Trigger is local via a proc write (AV:L) following a deterministic recipe (AC:L) that needs namespace-creation capability (PR:L); the UAF corrupts freed kernel memory yielding high C/I/A.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: fix netns use-after-free in write_gssp()
While fuzzing with a customized syzkaller, I hit a refcount warning in xprt_alloc(), reached from a write to /proc/net/rpc/use-gss-proxy:
refcount_t: addition on 0; use-after-free. WARNING: lib/refcount.c:25 at refcount_warn_saturate+0xf8/0x120 CPU: 0 PID: 10404 Comm: syz.0.17 Not tainted 7.3.0-rc1-00096-gcfebfd3db73d Call Trace: <TASK> xprt_alloc+0x83f/0x9d0 xs_setup_xprt+0xaf/0x3c0 xs_setup_local+0x47/0x7f0 xprt_create_transport+0x16c/0x730 rpc_create+0x38e/0x7f0 gssp_rpc_create+0xe2/0x180 set_gssp_clnt+0xba/0x1b0 write_gssp+0x200/0x310 proc_reg_write+0x240/0x330 vfs_write+0x2aa/0x1050 ksys_write+0x12a/0x250 do_syscall_64+0x117/0x750 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK>
create_use_gss_proxy_proc_entry() stores the struct net pointer as the proc entry's private data without taking a reference on it, and an open file descriptor does not pin the namespace either, as procfs only pins the proc_dir_entry. write_gssp() reads that pointer back with pde_data() and hands it to set_gssp_clnt(), which reaches xprt_init():
xprt->xprt_net = get_net_track(net, &xprt->ns_tracker, GFP_KERNEL);
get_net_track() -> get_net() -> refcount_inc() is unconditional, so rpc_create() assumes its caller holds a reference on args.net. write_gssp() does not.
Dropping the last ns.count reference does not make the file go away. __put_net() only queues cleanup_net() on a workqueue, and the remove_proc_entry() that fences off further writes runs from the rpcsec_gss pernet .exit method, that is, from inside cleanup_net(). A write landing between those two points increments a refcount that is already zero. cleanup_net() does not re-read ns.count, so the namespace is freed anyway and the rpc_xprt -- along with the AF_LOCAL socket opened for it -- is left pointing at freed memory. The resurrected count is visible to the rest of that teardown too: with CONFIG_IPV6_MROUTE the same cleanup_net() worker then trips !mr_can_free_table() in ip6mr_free_table(), which tests check_net() on the namespace it is freeing.
It reduces to opening /proc/net/rpc/use-gss-proxy inside a new network namespace, calling setns() back to the original one to drop the last reference, and then writing "1" to the still-open descriptor.
Take the reference in write_gssp() itself and refuse the write when the namespace is already gone. This is what procfs does for every other /proc/net file: get_proc_net() is maybe_get_net(PDE_NET(PDE(inode))) and seq_open_net() returns -ENXIO when it fails. PDE_NET() cannot be reused here because the parent directory /proc/net/rpc carries no namespace pointer. Adding a .pre_exit to rpcsec_gss_net_ops so the entry is removed earlier would only narrow the window, since pre_exit also runs from cleanup_net().
Live namespaces are unaffected: a write still returns the error from set_gssp_clnt(), a write of "2" still returns -EINVAL, and reads are untouched.
Executive ViewAI
CVE-2026-99528 is a high-severity local privilege escalation vulnerability in the Linux kernel's SUNRPC GSS procfs interface that allows a low-privileged local user to corrupt kernel memory, with a CVSS score of 7.8. This flaw affects systems built with SUNRPC GSS support and could enable attackers to gain elevated privileges if exploited. Although no public exploit exists and EPSS is low at 0.2%, the potential for confidentiality, integrity, and availability impact warrants prioritization for patched systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130251
GHSA-hv78-pcw8-89vv
NVD
CVE.org
EPSS
VulDB
Exploit-DB