cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-99360
  • GHSA-2542-8f75-76ww
  • EUVD-2026-130018

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.4none stated
    before 3.4: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.61 up to 6.18.*: not affectednone stated
    from 7.3.2 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.