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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:53.375Z
- Modified: 2026-06-17T04:17:02.353Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 31434f496abb9f3410b10f541462fe58613dd3ad before fab8bfdfb4aac9e4e8363666333adfdf21e89106; from 31434f496abb9f3410b10f541462fe58613dd3ad before a979e601000982a3ca693171a6d4dffc47f8ad00; from 31434f496abb9f3410b10f541462fe58613dd3ad before 634f17ff1d59905eb3b4bbbc00805961d08beaee; from 31434f496abb9f3410b10f541462fe58613dd3ad before 4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502; from 31434f496abb9f3410b10f541462fe58613dd3ad before 0057ecef9f324007c0ba5fcca4ddd131178ce78b; from 31434f496abb9f3410b10f541462fe58613dd3ad before 279ad78a00f8b9c5ff24171a59297187a3bd44b7; from 31434f496abb9f3410b10f541462fe58613dd3ad before 58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1; from 31434f496abb9f3410b10f541462fe58613dd3ad before 09226e8303beeec10f2ff844d2e46d1371dc58e0; 3.17 (not affected: before 3.17; from 4.4.273 up to 4.4.*; from 4.9.273 up to 4.9.*; from 4.14.237 up to 4.14.*; from 4.19.195 up to 4.19.*; from 5.4.126 up to 5.4.*; from 5.10.44 up to 5.10.*; from 5.12.11 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 3.17 before 4.4.273; from 4.5 before 4.9.273; from 4.10 before 4.14.237; from 4.15 before 4.19.195; from 4.20 before 5.4.126; from 5.5 before 5.10.44; from 5.11 before 5.12.11; 5.13

## References

- <https://git.kernel.org/stable/c/fab8bfdfb4aac9e4e8363666333adfdf21e89106> (patch)
- <https://git.kernel.org/stable/c/a979e601000982a3ca693171a6d4dffc47f8ad00> (patch)
- <https://git.kernel.org/stable/c/634f17ff1d59905eb3b4bbbc00805961d08beaee> (patch)
- <https://git.kernel.org/stable/c/4b380a7d84ef2ce3f4f5bec5d8706ed937ac6502> (patch)
- <https://git.kernel.org/stable/c/0057ecef9f324007c0ba5fcca4ddd131178ce78b> (patch)
- <https://git.kernel.org/stable/c/279ad78a00f8b9c5ff24171a59297187a3bd44b7> (patch)
- <https://git.kernel.org/stable/c/58ddf61f10b8f9b7b1341644bfee2f1c6508d4e1> (patch)
- <https://git.kernel.org/stable/c/09226e8303beeec10f2ff844d2e46d1371dc58e0> (patch)

## Sources

- CVE List: [CVE-2021-47260](https://www.cve.org/CVERecord?id=CVE-2021-47260), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47260](https://nvd.nist.gov/vuln/detail/CVE-2021-47260), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47260 · Whole record: https://cve.day/CVE-2021-47260.json · Rebuilt by cve.day 2026-11-25T22:58:08.762Z
