CVE-2021-47260 NFS: Fix a potential NULL dereference in nfs_get_client()

Medium 5.5 Published Updated

A potential NULL dereference in the Linux kernel's NFS client could cause a system crash, though it is likely dead code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-47260?

CVE-2021-47260 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

NFS: Fix a potential NULL dereference in nfs_get_client()

None of the callers are expecting NULL returns from nfs_get_client() so this code will lead to an Oops. It's better to return an error pointer. I expect that this is dead code so hopefully no one is affected.

Weakness: CWE-476

Which versions are affected by CVE-2021-47260?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47260?

Apply the vendor's patch.

Is CVE-2021-47260 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47260, GHSA-2qgr-37h8-x3w9, UBUNTU-CVE-2021-47260.

Is CVE-2021-47260 in your software?

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

Check your SBOMs for free