# CVE-2026-99528: SUNRPC: fix netns use-after-free in write\_gssp()

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-19T14:44:39.856Z
- **Modified:** 2026-11-23T08:17:54.847Z

## Who should check

- Anyone running Linux \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< f7f78a8f19c86ed9fcdf60b245bf4b96c93543db; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< ff077f38c886616e4fc8e888f1212b9121bda81a; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< c538969194c2a47132fe1f96ba40f85e159d4f38; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 0a908446c5edc42905f9136e91bbf4e45d0747b6; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 3c3b401650227e147c609c33fa458d5d963f2918; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 75120454474be7bc62b77af12bd591a339be27e1; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< e7a8721b7edb54a157623f9e31d71345333b5fb9
- Anyone running Linux 3.10

## Description

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.

## Affected and fixed versions

- Linux: \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< f7f78a8f19c86ed9fcdf60b245bf4b96c93543db; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< ff077f38c886616e4fc8e888f1212b9121bda81a; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< c538969194c2a47132fe1f96ba40f85e159d4f38; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 0a908446c5edc42905f9136e91bbf4e45d0747b6; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 3c3b401650227e147c609c33fa458d5d963f2918; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 75120454474be7bc62b77af12bd591a339be27e1; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< e7a8721b7edb54a157623f9e31d71345333b5fb9 (cvelist)
- Linux: 3.10 (cvelist)

## Technologies

Linux kernel

## 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-99528. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99528.md
Affected: Linux >= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, < f7f78a8f19c86ed9fcdf60b245bf4b96c93543db; >= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, < 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb; >= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, < ff077f38c886616e4fc8e888f1212b9121bda81a; >= 030d794bf49855f5e2a9e8d…
Fixed in: Linux 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb, Linux 0a908446c5edc42905f9136e91bbf4e45d0747b6, Linux 3c3b401650227e147c609c33fa458d5d963f2918, Linux 75120454474be7bc62b77af12bd591a339be27e1

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-99528 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< f7f78a8f19c86ed9fcdf60b245bf4b96c93543db; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< ff077f38c886616e4fc8e888f1212b9121bda81a; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< c538969194c2a47132fe1f96ba40f85e159d4f38; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 0a908446c5edc42905f9136e91bbf4e45d0747b6; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 3c3b401650227e147c609c33fa458d5d963f2918; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< 75120454474be7bc62b77af12bd591a339be27e1; \>= 030d794bf49855f5e2a9e8dfbfad34211d1eb08b, \< e7a8721b7edb54a157623f9e31d71345333b5fb9; Linux 3.10.

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

Yes. Fixed in Linux 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb, Linux 0a908446c5edc42905f9136e91bbf4e45d0747b6, Linux 3c3b401650227e147c609c33fa458d5d963f2918, Linux 75120454474be7bc62b77af12bd591a339be27e1. No fix listed yet: follow the vendor advisory.

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

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/f7f78a8f19c86ed9fcdf60b245bf4b96c93543db>
- other: <https://git.kernel.org/stable/c/49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb>
- other: <https://git.kernel.org/stable/c/ff077f38c886616e4fc8e888f1212b9121bda81a>
- other: <https://git.kernel.org/stable/c/c538969194c2a47132fe1f96ba40f85e159d4f38>
- other: <https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6>
- other: <https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918>
- other: <https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1>
- other: <https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9>

## 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-99528>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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