CVE-2026-99354
sunrpc: pin gss module across auth_domain RCU free
- CVSS
- —
- EPSS
- 0.22% (p13)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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 ]
Fixed in
0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 · 1c582f719010b5ff9f678cf8307594be0570831b · 6.12.117 · 6.18.61 · 7.3.2 · 9d995c5debff0312fe70cbdddb3696b7413494d9 · b64d21116374688c33302a6704387c27d1156d72 · c36c7c801e031fc0e1618b45c54bc52d6a0fad70 · e0f6f39ede63762eb78ffeff3243373c822c58c9 · e9df0ccf281645613570cc2a7bf9bd0a18792c41 · f735700c06303335067a49ad4ad8f0b60eb43897
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.20.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 | 0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <1c582f719010b5ff9f678cf8307594be0570831b | 1c582f719010b5ff9f678cf8307594be0570831b |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <9d995c5debff0312fe70cbdddb3696b7413494d9 | 9d995c5debff0312fe70cbdddb3696b7413494d9 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <b64d21116374688c33302a6704387c27d1156d72 | b64d21116374688c33302a6704387c27d1156d72 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <c36c7c801e031fc0e1618b45c54bc52d6a0fad70 | c36c7c801e031fc0e1618b45c54bc52d6a0fad70 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <e0f6f39ede63762eb78ffeff3243373c822c58c9 | e0f6f39ede63762eb78ffeff3243373c822c58c9 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <e9df0ccf281645613570cc2a7bf9bd0a18792c41 | e9df0ccf281645613570cc2a7bf9bd0a18792c41 |
| vendor | Linux | >=608a0ab2f54ab0e301ad76a41aad979ea0d02670, <f735700c06303335067a49ad4ad8f0b60eb43897 | f735700c06303335067a49ad4ad8f0b60eb43897 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 other
- https://git.kernel.org/stable/c/f735700c06303335067a49ad4ad8f0b60eb43897 other
- https://git.kernel.org/stable/c/1c582f719010b5ff9f678cf8307594be0570831b other
- https://git.kernel.org/stable/c/b64d21116374688c33302a6704387c27d1156d72 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99354.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99354 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://git.kernel.org/stable/c/c36c7c801e031fc0e1618b45c54bc52d6a0fad70 other
- https://git.kernel.org/stable/c/e0f6f39ede63762eb78ffeff3243373c822c58c9 other
- https://git.kernel.org/stable/c/e9df0ccf281645613570cc2a7bf9bd0a18792c41 other
- https://git.kernel.org/stable/c/9d995c5debff0312fe70cbdddb3696b7413494d9 other