CVE-2021-47260

NFS: Fix a potential NULL dereference in nfs_get_client()

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:19 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.17 ≤ v < 4.14.2373.17 ≤ v < 4.19.1953.17 ≤ v < 4.4.2733.17 ≤ v < 4.9.2733.17 ≤ v < 5.10.443.17 ≤ v < 5.12.113.17 ≤ v < 5.133.17 ≤ v < 5.4.1264.10 ≤ v < 4.14.2374.15 ≤ v < 4.19.1954.20 ≤ v < 5.4.1264.5 ≤ v < 4.9.2735.11 ≤ v < 5.12.115.5 ≤ v < 5.10.4431434f496abb9f3410b10f541462fe58613dd3ad5.13 rc15.13 rc25.13 rc35.13 rc45.13 rc5
Vendor states this is fixed in 0057ecef9f324007c0ba5fcca4ddd131178ce78b (fixed)
Vendor states this is fixed in 09226e8303beeec10f2ff844d2e46d1371dc58e0 (fixed)
Vendor states this is fixed in 279ad78a00f8b9c5ff24171a59297187a3bd44b7 (fixed)
Vendor states this is fixed in 4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502 (fixed)
Vendor states this is fixed in 58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1 (fixed)
Vendor states this is fixed in 634f17ff1d59905eb3b4bbbc00805961d08beaee (fixed)
Vendor states this is fixed in a979e601000982a3ca693171a6d4dffc47f8ad00 (fixed)
Vendor states this is fixed in fab8bfdfb4aac9e4e8363666333adfdf21e89106 (fixed)
Vendor states this is fixed in 3.17 (unaffected)
Vendor states this is fixed in 4.14.237 (unaffected)
Vendor states this is fixed in 4.19.195 (unaffected)
Vendor states this is fixed in 4.4.273 (unaffected)
Vendor states this is fixed in 4.9.273 (unaffected)
Vendor states this is fixed in 5.10.44 (unaffected)
Vendor states this is fixed in 5.12.11 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.126 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0057ecef9f324007c0ba5fcca4ddd131178ce78b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09226e8303beeec10f2ff844d2e46d1371dc58e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/279ad78a00f8b9c5ff24171a59297187a3bd44b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/634f17ff1d59905eb3b4bbbc00805961d08beaee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a979e601000982a3ca693171a6d4dffc47f8ad00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fab8bfdfb4aac9e4e8363666333adfdf21e89106

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card