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

High 7.5 Published Updated

A missing lock release in the Linux kernel NFS server rename operation can lead to a deadlock, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35914?

CVE-2024-35914 is a high-severity vulnerability in Linux kernel, published on 19 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-667

Which versions are affected by CVE-2024-35914?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-35914?

Apply the vendor's patch.

Is CVE-2024-35914 being exploited?

There is no known exploitation of CVE-2024-35914 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-35914, DEBIAN-CVE-2024-35914, GHSA-f552-2543-6v42, UBUNTU-CVE-2024-35914.

Is CVE-2024-35914 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free