Skip to main content

Linux Kernel CVE-2026-64187

| EUVDEUVD-2026-46007 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-20 Linux GHSA-5fjh-93mh-6xvw
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft XFS image with malformed zero-region committed transaction
  2. Delivery
    Deliver image for mounting (removable media, VM image upload, container layer)
  3. Exploit
    Kernel initiates XFS log recovery on mount
  4. Execution
    xlog_recover_reorder_trans() dereferences NULL ri_buf
  5. Impact
    Kernel panic / system denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker be able to cause a vulnerable Linux system to mount a crafted XFS filesystem image. Specifically, the malicious XFS on-disk log must contain a committed transaction where the first operation is a bare transaction header and no log region operations follow - a construct that the normal kernel XFS runtime commit path never emits, so only a hand-crafted image triggers this. The CVSS PR:L indicates low-privilege local access is sufficient to mount such an image in contexts where user-mount capability exists (e.g., via FUSE, unprivileged namespaces, or explicit mount permissions). Exploitation is limited by the requirement for either physical access with removable media, control over a block device in a virtualization or container environment, or CAP_SYS_ADMIN. Standard server deployments where only root mounts filesystems are not exposed to unprivileged attackers.

Impact

The CVSS 3.1 score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterizes the threat: local access with low privileges is required, impact is limited to availability (kernel panic), and there is no confidentiality or integrity exposure. The EPSS score of 0.16% (5th percentile) strongly reinforces the low exploitation probability - this is not a vulnerability being actively probed in the wild. It is not listed in the CISA KEV catalog, and no public exploit code has been identified. The highest real-world risk arises in environments where untrusted XFS disk images are mounted, such as hypervisors processing user-submitted VM images, container runtimes that auto-mount block devices, or shared forensic workstations. For standard server deployments where only trusted administrators mount filesystems, the practical risk is very low despite the kernel-wide availability impact. No conflicting signals between CVSS and description are present - AV:L is consistent with the mount-based attack path described.

Exploit ScenarioDerived

An attacker with local access or control over a disk image - for example, in a cloud environment where user-submitted VM images are auto-mounted, or in a container platform that processes external block devices - submits a crafted XFS image whose on-disk log contains a committed transaction with a bare header and no subsequent region operations. When the kernel mounts the image and enters XFS log recovery, xlog_recover_reorder_trans() dereferences the NULL ri_buf pointer, causing an immediate kernel panic and denial of service for all processes on the host. No public proof-of-concept exploit has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

NULL pointer dereference in the Linux kernel XFS log recovery path allows a local attacker to crash the kernel by mounting a crafted XFS filesystem image. The flaw exists in xlog_recover_reorder_trans() at fs/xfs/xfs_log_recover.c:1836, where a committed log transaction containing zero regions leaves ri_buf NULL, causing a fatal dereference when ITEM_TYPE() is called during recovery. EPSS is 0.16% (5th percentile) and no active exploitation has been observed; the vulnerability was discovered through an AI-assisted code audit, not in-the-wild activity.

RemediationAI

Upgrade to a patched Linux kernel release. Confirmed fix versions per EUVD are 7.2-rc4 (mainline), 7.1.4, 6.18.39, and 6.12.96 - select the appropriate stable branch for your deployment. The upstream fix commits are available at https://git.kernel.org/stable/c/2094dab19d45c487285617b7b68913d0cc0c1211 (mainline), https://git.kernel.org/stable/c/d50b1fd066d66ceb548ba43e332cfe8a47e5e55a, https://git.kernel.org/stable/c/cccbabeb9a18fcb978d76d6047f2b59214aa7749, and https://git.kernel.org/stable/c/d98f22d2e11e0a36493aeb25b2933571ee90d9a4. Where immediate patching is not possible, restrict who can mount XFS filesystems: revoke CAP_SYS_ADMIN and remove user-namespace mount permissions (e.g., set kernel.unprivileged_userns_clone=0 on applicable distributions) to ensure only privileged administrators can trigger log recovery. In virtualization environments, validate XFS images with xfs_repair before mounting. The trade-off of restricting mount privileges is reduced flexibility for non-root users mounting removable media or disk images. Additional oss-security discussion is available at https://seclists.org/oss-sec/2026/q3/230.

Affected VersionsENISA

Linux 89cebc8477290b152618ffa110bbeae340d50900 <2094dab19d45c487285617b7b68913d0cc0c1211
Linux patch: 7.2-rc4
Linux patch: 0
Linux patch: 6.18.39
Linux patch: 7.1.4
Linux 4.3
Linux 89cebc8477290b152618ffa110bbeae340d50900 <d50b1fd066d66ceb548ba43e332cfe8a47e5e55a
Linux 89cebc8477290b152618ffa110bbeae340d50900 <cccbabeb9a18fcb978d76d6047f2b59214aa7749
Linux 89cebc8477290b152618ffa110bbeae340d50900 <d98f22d2e11e0a36493aeb25b2933571ee90d9a4
Linux patch: 6.12.96

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The XFS filesystem's journal recovery subsystem in the Linux kernel (fs/xfs/xfs_log_recover.c) is vulnerable. When xlog_recover_add_to_trans() processes a bare transaction header (len == sizeof(struct xfs_trans_header)) as the first operation in a transaction, it creates a log item (xlog_recover_item_t) with ri_cnt=0 and ri_buf=NULL. Because log headers can be split across op records, subsequent ops may still populate ri_buf legitimately. However, if the transaction commits with no region operations ever added, xlog_recover_reorder_trans() invokes ITEM_TYPE(), which dereferences *(unsigned short *)item->ri_buf[0].iov_base - a NULL pointer - producing a KASAN null-ptr-deref fault in the range [0x0000000000000000-0x0000000000000007]. The root cause class is CWE-476 (NULL Pointer Dereference). The normal runtime XFS commit path never emits such a zero-region committed transaction, so this defect is only reachable via a specially crafted on-disk log. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

AV:L required to mount filesystem; PR:L reflects user mount rights; A:H for kernel panic; C and I are N.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 11, 2026 - 20:07 NVD
5.5 (MEDIUM)
Patch available
Jul 20, 2026 - 18:18 EUVD
CVE Published
Jul 20, 2026 - 16:27 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 20, 2026 - 16:27 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

xfs: fail recovery on a committed log item with no regions

If the first op of a transaction is a bare transaction header (len sizeof(struct xfs_trans_header)), xlog_recover_add_to_trans() adds an item but no region, leaving it on r_itemq with ri_cnt 0 and ri_buf == NULL.

The header can be split across op records, so later ops may still add regions; the item is only invalid if the transaction commits with none. The runtime commit path never emits such a transaction, so this only happens on a crafted log. It came from an AI-assisted code audit of the recovery parser.

xlog_recover_reorder_trans() calls ITEM_TYPE() on the item, which reads *(unsigned short *)item->ri_buf[0].iov_base and faults on the NULL ri_buf. Reject it there, before the commit handlers that also read ri_buf[0].

KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:xlog_recover_reorder_trans (fs/xfs/xfs_log_recover.c:1836) xlog_recover_commit_trans (fs/xfs/xfs_log_recover.c:2043) xlog_recover_process_data (fs/xfs/xfs_log_recover.c:2501) xlog_do_recovery_pass (fs/xfs/xfs_log_recover.c:3244) xlog_recover (fs/xfs/xfs_log_recover.c:3493) xfs_log_mount (fs/xfs/xfs_log.c:618) xfs_mountfs (fs/xfs/xfs_mount.c:1034) xfs_fs_fill_super (fs/xfs/xfs_super.c:1938) vfs_get_tree (fs/super.c:1695) path_mount (fs/namespace.c:4161) __x64_sys_mount (fs/namespace.c:4367)

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
core OS kernel in most server, cloud, and embedded deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Micro 6.2 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy