7.8
High
CVE-2021-47259 In the Linux kernel, the following vulnerability has been resolved: NFS: Fix use-after-free in nfs4_init_client()…
Description
In the Linux kernel, the following vulnerability has been resolved: NFS: Fix use-after-free in nfs4_init_client() KASAN reports a use-after-free when attempting to mount two different exports through two different NICs that belong to the same server. Olga was able to hit this with kernels starting somewhere between 5.7 and 5.10, but I traced the patch that introduced the clear_bit() call to 4.13. So something must have changed in the refcounting of the clp pointer to make this call to nfs_put_client() the very last one.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 5.13 | earliest → < 5.13 | 5.13 |
| Linux 5.12 | earliest → < 5.12.11 | 5.12.11 |
| Linux 5.10 | earliest → < 5.10.44 | 5.10.44 |
| Linux 5.4 | earliest → < 5.4.126 | 5.4.126 |
| Linux 4.19 | earliest → < 4.19.195 | 4.19.195 |
| Linux 4.14 | earliest → < 4.14.237 | 4.14.237 |
| Linux | 4.13 | No fix stated |
| linux_kernel 8 | 8dcbec6d20eb → < 476bdb04c501 | 476bdb04c501 |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated