CVE-2021-47260

NFS: Fix a potential NULL dereference in nfs_get_client()

No CVSS score yet EPSS 0.24%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47260

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47260 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before fab8bfdfb4aac9e4e8363666333adfdf21e89106
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before a979e601000982a3ca693171a6d4dffc47f8ad00
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 634f17ff1d59905eb3b4bbbc00805961d08beaee
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 0057ecef9f324007c0ba5fcca4ddd131178ce78b
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 279ad78a00f8b9c5ff24171a59297187a3bd44b7
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1
affected from 31434f496abb9f3410b10f541462fe58613dd3ad, before 09226e8303beeec10f2ff844d2e46d1371dc58e0
Other versions: unaffected
Linux
affected 3.17
unaffected before 3.17
unaffected from 4.4.273 up to and including 4.4.*
unaffected from 4.9.273 up to and including 4.9.*
unaffected from 4.14.237 up to and including 4.14.*
unaffected from 4.19.195 up to and including 4.19.*
unaffected from 5.4.126 up to and including 5.4.*
unaffected from 5.10.44 up to and including 5.10.*
unaffected from 5.12.11 up to and including 5.12.*
unaffected 5.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47260 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47260

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47260
trivy image --scanners vuln IMAGE | grep CVE-2021-47260

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47260 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.