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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-05-19T08:35:07.367Z
- Modified: 2026-08-05T11:30:56.369Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a8b0026847b8c43445c921ad2c85521c92eb175f before 331e125e02c08ffaecc1074af78a988a278039bd; from a8b0026847b8c43445c921ad2c85521c92eb175f before 9fe6e9e7b58944037714442384075c17cfde1c56; 6.8 (not affected: before 6.8; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.5; 6.9

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/331e125e02c08ffaecc1074af78a988a278039bd> (patch)
- <https://git.kernel.org/stable/c/9fe6e9e7b58944037714442384075c17cfde1c56> (patch)

## Sources

- CVE List: [CVE-2024-35914](https://www.cve.org/CVERecord?id=CVE-2024-35914), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35914](https://nvd.nist.gov/vuln/detail/CVE-2024-35914), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35914 · Whole record: https://cve.day/CVE-2024-35914.json · Rebuilt by cve.day 2026-11-25T22:58:40.601Z
