CVE-2024-46697
kernel: nfsd: ensure that nfsd4_fattr_args.context is zeroed out
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 13, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's nfsd component. A local attacker with low privileges could exploit a vulnerability where uninitialized stack data is improperly freed. This issue can lead to a system crash, resulting in a 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 the NFS server functionality is not required, disable the nfs-server service to mitigate this vulnerability. This can be achieved by running the following commands:
sudo systemctl stop nfs-server
sudo systemctl disable nfs-server
Disabling the nfs-server service will prevent NFS clients from accessing shared directories on the system and may impact services relying on NFS. A system reboot may be required for the changes to take full effect.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-457 · Use of Uninitialized Variable