CVE Database›Document archive›CVE-2024-50046

CVE-2024-50046

kernel: NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · October 21, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's NFSv4 component. A local user, when copying files on an NFS client's mountpoint to another location on the same NFS server, can trigger a null-pointer dereference. This vulnerability can lead to a system crash, resulting in a Denial of Service (DoS).

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 NFSv4 client functionality is not required, the nfsv4 kernel module can be blacklisted to prevent it from loading. Create a file /etc/modprobe.d/disable-nfsv4.conf with the content blacklist nfsv4. A system reboot is required for this change to take effect. Disabling this module will impact systems that rely on NFSv4 client operations.

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-476 · NULL Pointer Dereference