5.5medium
NFS: Fix a potential NULL dereference in nfs_get_client()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: NFS: corrija una posible desreferencia NULL en nfs_get_client() Ninguna de las personas que llaman espera retornos NULL de nfs_get_client(), por lo que este código generará un error ¡Oops! Es mejor devolver un puntero de error. Supongo que se trata de un código inactivo, así que espero que nadie se vea afectado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47260 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47260 changed 2026-06-17 | Public domain |