All reports
Medium

kernel: NFS: Fix a potential NULL dereference in nfs_get_client()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-47260

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-21

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.

A vulnerability was found in the Linux kernel's NFS client code in the nfs_get_client() function. If this function unexpectedly returns a NULL value, it can cause the kernel to crash.