CVE-2024-35914: nfsd: Fix error cleanup path in nfsd_rename()

Description

In the Linux kernel, the following vulnerability has been resolved:

nfsd: Fix error cleanup path in nfsd_rename()

Commit a8b0026847b8 ("rename(): avoid a deadlock in the case of parents
having no common ancestor") added an error bail out path. However this
path does not drop the remount protection that has been acquired. Fix
the cleanup path to properly drop the remount protection.

Classification

CVE ID: CVE-2024-35914

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.48% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/331e125e02c08ffaecc1074af78a988a278039bd
https://git.kernel.org/stable/c/9fe6e9e7b58944037714442384075c17cfde1c56

Timeline