Skip to main content

Linux Kernel XFS CVE-2026-31453

| EUVDEUVD-2026-24792 HIGH
NULL Pointer Dereference (CWE-476)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-h88h-485v-q9qv
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local shell access
  2. Delivery
    Generate XFS filesystem I/O load
  3. Exploit
    Trigger memory pressure for reclaim
  4. Install
    Win AIL push race condition
  5. C2
    Corrupt freed log item pointer
  6. Execute
    Redirect kernel execution
  7. Impact
    Execute arbitrary code as root

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

Requires local authenticated access to a Linux system (PR:L) running kernel versions 5.9 through unpatched 6.x/7.x with XFS filesystem actively mounted and in use. Exploitation depends on triggering concurrent XFS AIL push operations (via filesystem I/O activity) and background memory reclaim processes (via inode cache pressure or dquot shrinker activation). The attacker must have sufficient permissions to perform filesystem operations that populate the Active Item List, typically available to any user with write access to an XFS-formatted volume. The race condition requires no special kernel configuration-default XFS builds are vulnerable. Attack complexity is low (AC:L) from a prerequisites standpoint but winning the race condition consistently requires skill and may need multiple attempts. No user interaction required (UI:N). Limiting factors: attack surface restricted to systems specifically using XFS filesystem (not default on many distributions), requires existing local access (not remotely exploitable), and kernel memory protections like KASLR/SMEP increase exploitation difficulty beyond initial memory corruption. Systems without XFS support compiled in (CONFIG_XFS_FS=n) or without mounted XFS filesystems are not affected.

Impact

Real-world risk assessment reveals significant divergence between theoretical severity and practical exploitation likelihood. The CVSS 7.8 score reflects worst-case impact (local privilege escalation to kernel level with high confidentiality, integrity, and availability impact), but multiple factors substantially reduce actual risk. The EPSS score of 0.02% (7th percentile) indicates extremely low observed exploitation in production environments. Attack complexity is low (AC:L) but requires local authenticated access (AV:L/PR:L), limiting attack surface to users with existing system access. Exploitation requires precise race condition timing between AIL push operations and concurrent memory reclaim, making it non-trivial to weaponize reliably. No public proof-of-concept exists and CISA has not flagged this for active exploitation. The vulnerability is confined to XFS filesystem code paths, affecting only systems using XFS (common in enterprise Linux but not universal). Patches are available across all maintained kernel branches, and the fix is a straightforward code refactoring rather than complex mitigation, suggesting high vendor confidence in the solution. Priority should be MEDIUM for XFS-using systems with local users, LOW for systems without XFS or with restricted local access. The primary risk scenario is privilege escalation by malicious authenticated users or container escape in multi-tenant environments, not remote compromise.

Exploit ScenarioDerived

A malicious authenticated user with local shell access on an enterprise Linux server running XFS filesystems crafts a workload that performs sustained filesystem operations (such as creating and deleting files in a loop) to repeatedly trigger XFS AIL push operations. Simultaneously, the attacker triggers memory pressure to activate background inode reclaim. By precisely timing these operations, the attacker wins the race condition where a log item is freed by the reclaim thread while xfsaild_push_item() still holds a dangling pointer. When the tracepoint code dereferences this freed memory, the attacker controls the freed object's contents (via heap spraying techniques) to redirect kernel execution flow, achieving arbitrary code execution at kernel privilege level. This grants complete system compromise including access to other users' data, privilege escalation to root, and potential container escape in Kubernetes/Docker environments. Publicly available exploit code has not been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Use-after-free in Linux kernel's XFS filesystem allows local authenticated users to achieve arbitrary code execution, privilege escalation, or information disclosure. The vulnerability occurs in the XFS Active Item List (AIL) push mechanism where log items can be freed by background reclaim processes while still being dereferenced by tracepoints. Vendor patches are available for kernel versions 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, and 7.0. EPSS score of 0.02% (7th percentile) indicates very low observed exploitation probability in the wild, and no public exploit code or active exploitation (CISA KEV) has been identified at time of analysis.

RemediationAI

Apply vendor-released kernel updates to patched versions: upgrade to kernel 6.1.168 or later for 6.1.x series, 6.6.131+ for 6.6.x, 6.12.80+ for 6.12.x, 6.18.21+ for 6.18.x, 6.19.11+ for 6.19.x, or 7.0+ for mainline. Patches are available from kernel.org git stable tree at https://git.kernel.org/stable/ with specific commits listed in references. For systems unable to immediately patch, compensating controls include restricting local user access to trusted administrators only (reducing PR:L attack prerequisite), disabling XFS filesystem usage by migrating to ext4 or other filesystems (eliminates vulnerable code path entirely but requires significant effort and downtime), or implementing kernel live-patching solutions like KernelCare or kpatch for zero-downtime updates. Note that filesystem migration is operationally complex and may impact performance characteristics. SELinux or AppArmor mandatory access controls do not mitigate this kernel-level memory safety issue. Prioritize patching for multi-tenant systems, containerized environments, and systems with untrusted local users over single-user workstations.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 6.12.80
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <451c6329d9afa45862c36fe6677eb7750db60617
Linux 5.9
Linux patch: 6.1.168
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <79ef34ec0554ec04bdbafafbc9836423734e1bd6
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <7121b22b0bac89394cc4c6a54b5aebc15347bdf5
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <c8a2ab339b88d10fc34a3318c92f07d8a467019d
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <95fb5d643cc70959baa54cd17f52f80ffc3295e7
Linux patch: 6.6.131
Linux 90c60e16401248a4900f3f9387f563d0178dcf34 <c4d603e8e58a3bf35480135ccca2b4f7238abda5
Linux patch: 0
Linux patch: 6.19.11
Linux patch: 6.18.21

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 Active Item List (AIL) is a kernel data structure tracking log items requiring writeback to disk. The xfsaild_push_item() function processes these items by calling their iop_push() callbacks, but releases the AIL lock during processing to avoid lock contention. This creates a race condition where background kernel threads (inode reclaim or dquot shrinker) can free log items while the AIL lock is dropped. When xfsaild_push_item() subsequently accesses the log item pointer for tracepoint instrumentation in its switch statement, it dereferences freed memory. This is a classic use-after-free vulnerability (CWE-416 class) where the lifetime of a data structure is not properly synchronized with concurrent access. The fix preemptively captures log item metadata (type, flags, LSN) before the push callback and uses these cached values in a new trace event class, eliminating the post-callback pointer dereference entirely. This affects XFS-specific code paths and requires local access to trigger filesystem operations that exercise the AIL push mechanism.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch released
Apr 27, 2026 - 14:16 nvd
Patch available
Patch available
Apr 22, 2026 - 16:02 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

xfs: avoid dereferencing log items after push callbacks

After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns.

Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.

Executive ViewAI

Why It Matters

CVE-2026-31453 is a use-after-free vulnerability in the Linux kernel's XFS filesystem that enables local authenticated users to execute arbitrary code or escalate privileges. Organizations running affected kernel versions face risk of unauthorized system compromise through local attack vectors, requiring kernel updates across infrastructure to prevent potential data breach or system takeover.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patches are deployed: restrict local system access to trusted users only; disable XFS filesystem if possible and migrate to alternative filesystems; implement kernel address space layout randomization (ASLR) and stack canary protections; monitor system logs for suspicious local process activity and privilege escalation attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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