PT-2024-33955 · Linux+8 · Linux Kernel+8

Published

2024-10-21

·

Updated

2025-10-03

·

CVE-2024-50121

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.61
Description: The issue arises when the nfsd client shrinker is running concurrently with the nfs4 state shutdown net function, leading to potential use-after-free errors. This occurs because the expire client function unhashes and then destroys a client, while the nfs4 state destroy net function releases resources without waiting for the shrinker to exit. Technical details include the involvement of nfsd file cache shutdown, kmem cache destroy, and the nfsd file slab and nfsd file mark slab caches. The nfs4 state shutdown net function is critical in this process, as it is responsible for shutting down the NFS server.
Recommendations: To resolve this issue, update the Linux kernel to version 6.6.61 or later. As a temporary workaround, consider disabling the nfsd shrinker work function until a patch is available. Restrict access to the vulnerable nfsd module to minimize the risk of exploitation. Avoid using the nfsd client shrinker concurrently with the nfs4 state shutdown net function until the issue is resolved.

Exploit

Fix

Use After Free

Double Free

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-15245
ALT-PU-2024-17211
ALT-PU-2025-12647
AZL-52467
AZL-52494
BDU:2025-03130
CVE-2024-50121
DLA-4075-1
DLA-4076-1
INFSA-2025_6966
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2590
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2025:14705-1
RHSA-2025:16669
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu