CVE-2024-26958
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26958 is a use-after-free (UAF) vulnerability discovered in the Linux kernel's NFS direct writes functionality. The vulnerability was discovered in early 2024 and affects multiple versions of the Linux kernel up to versions 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, and 6.8.3. The issue occurs in the fs/nfs/direct.c component (NVD).

Technical details

The vulnerability stems from a race condition in the NFS direct write implementation where asynchronous commit requests can complete before subsequent requests are submitted, leading to a double completion of the nfsdirectrequest. This results in a use-after-free condition, manifesting as a refcount underflow warning. The issue has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to a use-after-free condition in the Linux kernel's NFS implementation, potentially resulting in system crashes or memory corruption. In production environments, the issue manifests consistently, with warning messages appearing approximately every 10 minutes during heavy NFS operations (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by implementing proper commit request handling using the nfscommitbegin/nfscommitend pattern, similar to other completion handling in the NFS code. The fix has been confirmed effective through stress testing, with no recurrence of the warning messages after application (Kernel Patch).

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-2025-68321N/AN/A
  • Linux KernelLinux Kernel
  • kernel-core
NoYesDec 16, 2025
CVE-2025-68319N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-core
NoYesDec 16, 2025
CVE-2025-68317N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-modules-extra
NoYesDec 16, 2025
CVE-2025-68313N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules
NoYesDec 16, 2025
CVE-2025-68312N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoYesDec 16, 2025

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