CVE-2026-74728
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-74728 is a NULL pointer dereference vulnerability in the Linux kernel's XFS filesystem subsystem, specifically in the xfs_buf_free() function. When xfs_buf_alloc_backing_mem() fails, xfs_buf_free() is called with bp->b_addr still set to NULL, causing the code to fall through to the folio_put path which invokes virt_to_folio(NULL), dereferencing an invalid address and triggering a kernel crash. The vulnerability affects Linux kernel versions starting from 6.9 up to (but not including) the fixed releases. Fixed versions include 6.18.45 (for the 6.18.x branch), 7.1.9 (for the 7.1.x branch), and 7.2 and later. No official CVSS score has been assigned by NVD at this time; Feedly estimates the severity as Medium (GitHub Advisory, Feedly).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in fs/xfs/xfs_buf.c. When memory allocation via xfs_buf_alloc_backing_mem() fails during XFS buffer initialization, the cleanup path in xfs_buf_free() does not check whether bp->b_addr is NULL before proceeding to call virt_to_folio(), which dereferences the NULL pointer and causes a kernel panic. The vulnerable code path is triggered during XFS repair operations (e.g., xrep_rmapbtxrep_rmap_setup_scanxfbtree_initxfbtree_init_leaf_blockxfs_buf_get_mapxfs_buf_find_insertxfs_buf_allocxfs_buf_free). The fix adds a NULL check for bp->b_addr before calling folio_put() (GitHub Advisory, Kernel Patch 1).

Impact

Successful exploitation causes a kernel panic (system crash), resulting in a complete denial of service for the affected host. The impact is limited to availability — there is no evidence of confidentiality or integrity compromise. Because the crash occurs in kernel space, it affects all processes running on the system, not just XFS-related operations. The vulnerability requires local access to trigger XFS filesystem repair operations under memory pressure conditions (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability requires local access to a system running an affected Linux kernel version (6.9 through pre-fix releases) with an XFS filesystem, and the ability to trigger memory allocation failures during XFS repair operations. The EPSS score is 0.0, reflecting very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Feedly, GitHub Advisory).

Indicators of compromise

  • Logs: Kernel panic messages in /var/log/kern.log or dmesg output referencing xfs_buf_free, xfs_buf_alloc, xfbtree_init, or xrep_rmapbt in the call trace.
  • System Behavior: Unexpected system reboots or kernel oops/panic events on hosts using XFS filesystems, particularly during filesystem repair or maintenance operations.
  • Process: Unusual invocations of XFS repair utilities (e.g., xfs_repair) under low-memory conditions that result in system crashes.

Mitigation and workarounds

Update the Linux kernel to a patched version: 6.18.45 or later for the 6.18.x stable branch, 7.1.9 or later for the 7.1.x stable branch, or kernel 7.2 and above. The fix is implemented in commits ccf6738adcafa5ddbddc4e71b45d8a51b86643c7, 3aa0c1d23ee1b9d9b340fb2f4736536e1408d706, and d852729c5f4f830fbe7413df032e29459b3daf83. As a workaround, restrict access to XFS repair utilities and filesystem operations to trusted administrative users, and avoid running XFS repair operations under low-memory conditions until the patch is applied (Feedly, Kernel Patch 1).

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