CVE Catalog

CVE-2021-47259

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.71%

50th percentile - higher than 50% of all known CVEs

Summary

In the Linux kernel's NFS, a use-after-free occurs in nfs4_init_client() when attempting to mount two different exports through two different NICs belonging to the same server. KASAN reported the issue.

Risk Assessment

Use-after-free can lead to system crashes or potential code execution by an attacker.

Recommendation

Apply a kernel patch that fixes the refcounting of the clp pointer.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS