
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47259 is a use-after-free vulnerability in the Linux kernel's NFS (Network File System) implementation. The vulnerability was discovered when KASAN (Kernel Address Sanitizer) reported a use-after-free condition that occurs when attempting to mount two different exports through two different NICs that belong to the same server. The issue affects Linux kernels starting from version 4.13 (Kernel Git).
The vulnerability exists in the nfs4_init_client() function within the Linux kernel's NFS implementation. The issue stems from incorrect ordering of operations where nfs_put_client() is called before clear_bit(NFS_CS_TSM_POSSIBLE), potentially leading to a use-after-free condition. The bug was traced back to a patch introduced in kernel version 4.13 that changed the refcounting behavior of the clp pointer (Kernel Git). The vulnerability has a CVSS score of 4.4, indicating moderate severity (Rapid7).
When successfully exploited, this vulnerability could lead to a use-after-free condition in the Linux kernel's NFS implementation, potentially resulting in system crashes or denial of service. The vulnerability specifically affects scenarios where multiple NFS exports are being mounted through different network interfaces on the same server (Kernel Git).
The vulnerability requires local access and moderate complexity to exploit. It can be triggered when attempting to mount two different exports through two different NICs that belong to the same server. The issue was discovered through KASAN reports, suggesting it was found during security testing rather than active exploitation (Kernel Git).
The vulnerability has been patched in various Linux distributions and systems. The fix involves reordering the operations in nfs4_init_client() to ensure proper reference counting. Multiple vendors have released security updates, including Huawei EulerOS and Amazon Linux AMI 2. Users are advised to update their systems with the latest security patches (Rapid7).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."