CVE-2021-47259

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47259
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47259.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-47259
Downstream
Related
Published
2024-05-21T15:15:14Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

NFS: Fix use-after-free in nfs4initclient()

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 clearbit() call to 4.13. So something must have changed in the refcounting of the clp pointer to make this call to nfsput_client() the very last one.

References

Affected packages