CVE-2021-47260 json
NFS: Fix a potential NULL dereference in nfs_get_client()
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34265
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.4.273, 4.9.273, 4.14.237, 4.19.195, 5.4.126, 5.10.44, 5.12.11, 5.13
- linux Debian 14, Debian 13, Debian 12 5.10.46-1
debian advisories DEBIAN-CVE-2021-47260
- linux Ubuntu 18.04 LTS 4.15.0-156.163
- linux Ubuntu 20.04 LTS 5.4.0-81.91
- linux-aws Ubuntu 18.04 LTS 4.15.0-1111.118
- linux-aws Ubuntu 20.04 LTS 5.4.0-1055.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1051.55
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1099.101
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1045.47
- linux-azure Ubuntu 20.04 LTS 5.4.0-1056.58
ubuntu advisories UBUNTU-CVE-2021-47260
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.211.1
- kernel-source-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.211.1
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.164.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.164.1
- kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
suse advisories SUSE-SU-2025:01995-1SUSE-SU-2024:2185-1SUSE-SU-2024:2184-1SUSE-SU-2024:2183-1SUSE-SU-2024:2010-1SUSE-SU-2024:1983-1
- git.kernel.org/stable/c/fab8bfdfb4aac9e4e8363666333adfdf21e89106 commit
- git.kernel.org/stable/c/a979e601000982a3ca693171a6d4dffc47f8ad00 commit
- git.kernel.org/stable/c/634f17ff1d59905eb3b4bbbc00805961d08beaee commit
- git.kernel.org/stable/c/4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502 commit
- git.kernel.org/stable/c/0057ecef9f324007c0ba5fcca4ddd131178ce78b commit
- git.kernel.org/stable/c/279ad78a00f8b9c5ff24171a59297187a3bd44b7 commit
- git.kernel.org/stable/c/58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1 commit
- git.kernel.org/stable/c/09226e8303beeec10f2ff844d2e46d1371dc58e0 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47260 updated cvss 4.4
kernel: NFS: Fix a potential NULL dereference in nfs_get_client()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: workaround, no fix available “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/fab8bfdfb4aac9e4e8363666333adfdf21e89106
patch
-
git.kernel.org
/stable/c/a979e601000982a3ca693171a6d4dffc47f8ad00
patch
-
git.kernel.org
/stable/c/634f17ff1d59905eb3b4bbbc00805961d08beaee
patch
-
git.kernel.org
/stable/c/4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502
patch
-
git.kernel.org
/stable/c/0057ecef9f324007c0ba5fcca4ddd131178ce78b
patch
-
git.kernel.org
/stable/c/279ad78a00f8b9c5ff24171a59297187a3bd44b7
patch
-
git.kernel.org
/stable/c/58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1
patch
-
git.kernel.org
/stable/c/09226e8303beeec10f2ff844d2e46d1371dc58e0
patch
Sources
- CVE List CVE-2021-47260
- NVD CVE-2021-47260
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.