CVE-2021-47259
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2024
Last modified:
04/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
NFS: Fix use-after-free in nfs4_init_client()<br />
<br />
KASAN reports a use-after-free when attempting to mount two different<br />
exports through two different NICs that belong to the same server.<br />
<br />
Olga was able to hit this with kernels starting somewhere between 5.7<br />
and 5.10, but I traced the patch that introduced the clear_bit() call to<br />
4.13. So something must have changed in the refcounting of the clp<br />
pointer to make this call to nfs_put_client() the very last one.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.13 (including) | 4.14.237 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.195 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.126 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.44 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.12.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/3e3c7ebbfac152d08be75c92802a64a1f6471a15
- https://git.kernel.org/stable/c/42c10b0db064e45f5c5ae7019bbf2168ffab766c
- https://git.kernel.org/stable/c/476bdb04c501fc64bf3b8464ffddefc8dbe01577
- https://git.kernel.org/stable/c/72651c6579a25317a90536181d311c663d0329ab
- https://git.kernel.org/stable/c/c3b6cf64dfe4ef96e7341508d50d6998da7062c7
- https://git.kernel.org/stable/c/c7eab9e2d7b4e983ce280276fb920af649955897
- https://git.kernel.org/stable/c/3e3c7ebbfac152d08be75c92802a64a1f6471a15
- https://git.kernel.org/stable/c/42c10b0db064e45f5c5ae7019bbf2168ffab766c
- https://git.kernel.org/stable/c/476bdb04c501fc64bf3b8464ffddefc8dbe01577
- https://git.kernel.org/stable/c/72651c6579a25317a90536181d311c663d0329ab
- https://git.kernel.org/stable/c/c3b6cf64dfe4ef96e7341508d50d6998da7062c7
- https://git.kernel.org/stable/c/c7eab9e2d7b4e983ce280276fb920af649955897



