NFSD: Set nn->cld_net before registering the cld pipe
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Set nn->cld_net before registering the cld pipe
rpc_mkpipe_dentry() instantiates the pipe's dentry before it returns, so the cld pipe can be opened as soon as nfsd4_cld_register_net() has run. __nfsd4_init_cld_pipe() does not store the new cld_net in nn->cld_net until after that call. cld_pipe_downcall() reaches the cld_net only through that pointer and takes cn_lock without checking it, so a write() that lands in the window oopses.
Store nn->cld_net once @cn is fully initialized and before the pipe is registered, and clear it again when registration fails.
| Product | Versions |
|---|---|
| Linux Linux | f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 to before 2cdbc244cf895a436f04def419df3bb257e42608 Affectedf3f8014862d813cca81a597c83bd1dbf0fb2b8f6 to before c12f04f29dac29fba1f4eafe54455d48b4ca8df0 Affectedf3f8014862d813cca81a597c83bd1dbf0fb2b8f6 to before d67360912543356aca6fc39e4bb286e08d1c77af Affectedf3f8014862d813cca81a597c83bd1dbf0fb2b8f6 to before 14996e662f3b734427e2d645cacffc27b779f7d1 Affected |
| Linux Linux | 3.4 Affectedbefore 3.4 Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.