CVE-2024-46690 nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease

Critical 9.8 Published Updated

A null pointer dereference in the Linux kernel NFS server can cause a denial of service when handling third-party leases.

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-46690?

CVE-2024-46690 is a critical vulnerability in Linux kernel, published on 13 Sep 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 nfsd4_deleg_getattr_conflict in presence of third party lease

It is not safe to dereference fl->c.flc_owner without first confirming fl->fl_lmops is the expected manager. nfsd4_deleg_getattr_conflict() tests fl_lmops but largely ignores the result and assumes that flc_owner is an nfs4_delegation anyway. This is wrong.

With this patch we restore the "!= &nfsd_lease_mng_ops" case to behave as it did before the change mentioned below. This is the same as the current code, but without any reference to a possible delegation.

Which versions are affected by CVE-2024-46690?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46690?

Apply the vendor's patch.

Is CVE-2024-46690 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-46690, DEBIAN-CVE-2024-46690, GHSA-pfgc-2q82-vggq, UBUNTU-CVE-2024-46690.

Is CVE-2024-46690 in your software?

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

Check your SBOMs for free