CVE-2026-31437
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31437 is a NULL pointer dereference vulnerability in the Linux kernel's netfs subsystem, specifically in the netfs_unbuffered_write() function during write operation retries. When a write subrequest is marked NETFS_SREQ_NEED_RETRY, the retry path unconditionally calls stream->prepare_write() without first checking if the pointer is NULL — a condition that occurs with filesystems such as 9P that do not set this operation. The vulnerability was published on April 22, 2026, and affects Linux kernel versions 6.18.17–6.18.20 and 6.19.7–6.19.10. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-476 (NULL Pointer Dereference). In fs/netfs/direct_write.c at line 189, the retry path in netfs_unbuffered_write() calls stream->prepare_write() unconditionally when a subrequest is flagged with NETFS_SREQ_NEED_RETRY. Filesystems like 9P do not populate the prepare_write function pointer, leaving it NULL. The trigger condition requires get_user_pages() to fail with -EFAULT, which causes the subrequest to be flagged for retry and subsequently dereferences the NULL pointer. The fix mirrors the pattern in write_retry.c: if stream->prepare_write is NULL, skip renegotiation and directly call netfs_reissue_write() instead (Red Hat Bugzilla).

Impact

Successful exploitation causes a kernel NULL pointer dereference, crashing the system and resulting in a Denial of Service (DoS). The crash renders the system unavailable until rebooted, with no impact on confidentiality or data integrity. The attack is limited to local scope and requires only low privileges, making it accessible to any unprivileged local user on systems using 9P or similarly affected filesystems (Red Hat Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017%, reflecting a very low probability of exploitation in the near term. Exploitation requires local access with low privileges and a specific filesystem configuration (e.g., 9P) that omits the prepare_write operation (Red Hat Advisory).

Mitigation and workarounds

Upgrade to Linux kernel version 6.18.21 or later for the 6.18.x series, or 6.19.11 or later for the 6.19.x series. Three upstream stable patches address the issue across affected kernel branches: commits a4d1b4ba9754, 7a5482f5ce89, and e9075e420a1e. As a temporary workaround where patching is not immediately possible, consider restricting or disabling 9P filesystem support if it is not operationally required. Monitor systems for unexpected kernel panics or crashes that may indicate triggering of this condition (Red Hat Bugzilla).

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-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 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