PT-2021-8243 · Linux+2 · Linux Kernel+2

Anna Schumaker

·

Published

2021-06-03

·

Updated

2024-07-03

·

CVE-2021-47259

CVSS v3.1

7.5

High

VectorAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions 4.13 through 5.10
Description The issue is related to a use-after-free in the nfs4 init client() function. KASAN reports a use-after-free when attempting to mount two different exports through two different NICs that belong to the same server. This could potentially impact the confidentiality, integrity, and availability of protected information. The problem seems to have arisen due to a change in the refcounting of the clp pointer, making the call to nfs put client() the last one.
Recommendations For Linux kernel versions 4.13 through 5.10, consider updating to a newer version that includes the fix for the use-after-free in nfs4 init client(). As a temporary workaround, consider disabling the nfs4 init client() function until a patch is available. Restrict access to the vulnerable NFS module to minimize the risk of exploitation. Avoid using the nfs4 init client() function in scenarios where it could be exploited until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-00158
CVE-2021-47259
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2185-1

Affected Products

Astra Linux
Linux Kernel
Suse