CVE-2024-36958
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36958 affects the Linux kernel's Network File System daemon (NFSD) component. The vulnerability was discovered in the nfsd4_encode_fattr4() function where an uninitialized args.acl variable could lead to a system crash due to an unconditional call to kfree(). The issue was reported by Scott Mayhew and was publicly disclosed on May 30, 2024 (NVD, Kernel Commit).

Technical details

The vulnerability stems from a coding error in the fs/nfsd/nfs4xdr.c file where the args.acl pointer was not properly initialized before being used in a kfree() operation. The bug was introduced in commit 83ab8678ad0c ("NFSD: Add struct nfsd4_fattr_args"). The fix involves initializing args.acl to NULL early in the nfsd4_encode_fattr4() function to prevent the crash condition (Kernel Fix).

Impact

The vulnerability could cause a system crash when the NFSD service processes certain NFS v4 requests, potentially leading to a denial of service condition for systems running the affected NFS server implementation (NVD).

Exploitability

The vulnerability requires the system to be running as an NFS server with the NFSD service enabled. No public exploits have been reported at the time of assessment (NVD).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux kernel versions. Ubuntu has released patches for version 24.04 LTS (Noble) in linux-6.8.0-40.40 and other affected packages. Users should update their systems to the patched versions. For Ubuntu 24.04, the fixed packages include linux-image-6.8.0-40-lowlatency (6.8.0-40.40.1) and related kernel packages (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-5.4
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules-partner
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-riscv-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management