A vulnerability has been found in Linux Kernel up to 6.12.58/6.17.8/6.18-rc5 and classified as critical. Impacted is the function nfsd_set_fh_dentry. The manipulation leads to memory leak.

This vulnerability is documented as CVE-2025-40212. The attack requires being on the local network. There is not any exploit available.

The affected component should be upgraded.