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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-21T14:19:52.738Z

Updated: 2024-11-04T12:02:28.785Z

Reserved: 2024-05-21T13:27:52.125Z

Link: CVE-2021-47259

cve-icon Vulnrichment

Updated: 2024-08-04T05:32:07.994Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-21T15:15:14.610

Modified: 2024-07-03T01:37:30.730

Link: CVE-2021-47259

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2021-47259 - Bugzilla