CVE-2021-47259
Last modified
CVE-2021-47259 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 1.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.13, < 4.14.237 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.195 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.126 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.44 | — |
| Linux | Linux Kernel | >= 5.11, < 5.12.11 | — |
| Linux | Linux Kernel | 5.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47259?
How severe is CVE-2021-47259?
How do I fix CVE-2021-47259?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47253In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47254In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47255In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47256In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47257In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47258In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47260In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47261In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47262In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47263In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47264In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47265In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47259?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
