Back

HIGH

nfsd: fix nfsd_file leak on inter-server COPY setup failure

Published Sep 11, 2026

Description

When nfsd4_setup_inter_ssc() fails, nfsd4_copy() returns nfserr_offload_denied directly, bypassing the out: label where release_copy_files() would drop the nf_dst reference taken by nfs4_preprocess_stateid_op(). Each failed inter-server COPY leaks one nfsd_file, pinning file/inode/dentry/vfsmount.

Fix by setting status and jumping to out: instead of returning directly.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (10)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Sep 11, 2026
Updated Sep 13, 2026
Reserved Sep 11, 2026

CISA Vulnrichment

No data

NVD

Status Received
Modified Sep 13, 2026

Red Hat

Severity Moderate
Public date Sep 11, 2026
Bugzilla 2532302

ENISA EUVD

Assigner Linux
Published Sep 11, 2026
Updated Sep 13, 2026

GitHub

No data