CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2024-50241

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.

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.

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

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.55.57.5
Attack VectorLocalLocalNetwork
Attack ComplexityLowLowLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneNone
Integrity ImpactNoneNoneNone
Availability ImpactHighHighHigh

Vector

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

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

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.