CVE-2026-99354: Linux Kernel sunrpc - Use-After-Free
- Cve: CVE-2026-99354
- Name: Linux Kernel sunrpc - Use-After-Free
- Description: In the Linux kernel, the following vulnerability has been resolved: sunrpc: pin gss module across auth_domain RCU free A gss auth_domain stores a raw pointer to svcauthops_gss in dom->flavour, and its release queues svcauth_gss_domain_release_rcu() via call_rcu(). Both live in auth_rpcgss.ko text, and nothing pins the module while a domain referencing it is reachable. rmmod auth_rpcgss can therefore unmap that text while an NFSD export still holds a reference to the domain. The export cache is one such holder. When the export is finally released, the domain reference drops from module text: svc_export_put() auth_domain_put(exp->ex_client) auth_domain_release() dom->flavour->domain_release(dom) /* into module text */ svcauth_gss_domain_release() call_rcu(&dom->rcu_head, svcauth_gss_domain_release_rcu) Once auth_rpcgss is unloaded, the domain_release call lands in unmapped memory. The rcu_barrier() in exit_rpcsec_gss() does not help: it waits only for callbacks already queued, and this one is not queued until the export goes away. NFSD's NFSv4 objects import symbols from auth_rpcgss.ko, so only a server built without CONFIG_NFSD_V4 can unload auth_rpcgss while exports still name a gss domain. Take a module reference in svcauth_gss_register_pseudoflavor() before publishing the domain and drop it at the end of svcauth_gss_domain_release_rcu(). The rcu_barrier() then holds the module image until this callback has returned. [ cel: rewrote description ]
- Impact: Unloading auth_rpcgss while an export still references a gss domain causes a call into unmapped memory, potentially crashing the kernel or enabling code execution.
- Remediation: Apply the upstream patch that takes a module reference in svcauth_gss_register_pseudoflavor() and drops it in svcauth_gss_domain_release_rcu(), or update to the latest kernel version.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirements: Attacker needs ability to unload auth_rpcgss module while NFSD exports reference a gss auth_domain, on a kernel built without CONFIG_NFSD_V4
- Labels source: securitycontext
- Cvss vector: N/A
- Epss score: 0.00218
- Epss percentile: 0.12167
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-11-19T15:17:46Z
- Age in days: 5
- Modified at: 2026-11-23T08:17:40Z
- Patch available: yes
- References total: 8
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99354
- Nvd status: received
- Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, severity, cvss score, hackerone
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 4.20, < 7.4-rc1; >= 4.20, < 7.3.2; >= 4.20, < 6.18.61; >= 4.20, < 6.12.117; >= 4.20, < 6.6.163; >= 4.20, < 6.1.193; >= 4.20, < 5.15.226; >= 4.20, < 5.10.275 | no | cna | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports