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 nfs_direct_request. 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).

Exploitability

The vulnerability requires local access and can be triggered through NFS direct write operations. The issue has been consistently reproducible in production environments using RocksDB stress testing with 200 nodes (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by implementing proper commit request handling using the nfs_commit_begin/nfs_commit_end 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-2026-68427MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesAug 10, 2026
CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesAug 10, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68430NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesAug 12, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-6.8
NoYesAug 10, 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