NFSD: Set nn->cld_net before registering the cld pipe (Linux Linux)

CVE-2026-99360
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 < 2cdbc244cf895a436f04def419df3bb257e42608
affected : ≥ f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 < c12f04f29dac29fba1f4eafe54455d48b4ca8df0
affected : ≥ f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 < d67360912543356aca6fc39e4bb286e08d1c77af
affected : ≥ f3f8014862d813cca81a597c83bd1dbf0fb2b8f6 < 14996e662f3b734427e2d645cacffc27b779f7d1
Other versions : unaffected
Linux · Linux
affected : 3.4
unaffected : ≥ 0 < 3.4
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD