CVE Database›Document archive›CVE-2024-50241

CVE-2024-50241

kernel: NFSD: Initialize struct nfsd4_copy earlier

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · November 9, 2024

Updated · September 14, 2026

Description

A flaw was found in the Linux kernel's Network File System Daemon (NFSD) component. This vulnerability occurs due to the struct nfsd4_copy not being properly initialized, specifically its reference count (refcount) and asynchronous copies (async_copies) fields. An error during the nfsd4_copy() operation can lead to a reference count underflow, which may result in a system crash or denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

If NFS server functionality is not required, disable the nfs-server service to prevent exploitation. This action will stop the NFS daemon and prevent it from starting automatically on subsequent reboots.

systemctl disable --now nfs-server

Disabling the nfs-server service will prevent the system from exporting NFS shares, which may impact dependent services or clients.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-908 · Use of Uninitialized Resource