A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45984

CVE-2026-45984: Linux Kernel Use-After-Free Vulnerability

CVE-2026-45984 is a use-after-free vulnerability in the Linux kernel's GFS2 filesystem iomap inline data write path that allows memory corruption. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-45984 Overview

CVE-2026-45984 is a use-after-free vulnerability in the Linux kernel's GFS2 (Global File System 2) module. The flaw resides in the gfs2_iomap_begin() function, which prematurely releases the inline data buffer head (dibh) via release_metapath() while iomap->inline_data still points to dibh->b_data. When iomap_write_end_inline() later attempts to write to the inline data area, it accesses freed memory. The defect was identified through a syzbot KASAN report and corrected by storing dibh in iomap->private and incrementing its refcount with get_bh().

Critical Impact

Local attackers with the ability to trigger inline data writes on GFS2 filesystems can cause kernel memory corruption, potentially leading to denial of service or privilege escalation on affected systems.

Affected Products

  • Linux kernel versions containing the GFS2 iomap inline data write path
  • Distributions shipping vulnerable kernels with GFS2 support enabled
  • Clustered storage environments using GFS2 as a shared filesystem

Discovery Timeline

  • 2026-05-27 - CVE-2026-45984 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-45984

Vulnerability Analysis

The vulnerability affects the GFS2 filesystem's inline data write path within the Linux kernel's iomap subsystem. GFS2 supports storing small file data inline within the inode block to avoid allocating a separate data block. The iomap framework coordinates the read-modify-write cycle for these inline operations.

In the vulnerable code path, gfs2_iomap_begin() reads inode metadata into a buffer head referenced by dibh, then assigns iomap->inline_data = dibh->b_data + sizeof(struct gfs2_dinode). The function subsequently calls release_metapath(), which invokes brelse(dibh) and drops the buffer head reference count to zero. The buffer head and its underlying page become eligible for reclamation.

When kswapd reclaims the page, the memory pointed to by iomap->inline_data is freed. Later, iomap_write_end_inline() performs a memcpy() into this dangling pointer, producing a use-after-free write that KASAN detects. The syzbot report observed the page being reclaimed approximately 39 milliseconds after release.

Root Cause

The root cause is a lifetime mismatch between the buffer head dibh and the iomap structure that depends on its data. The buffer head reference is dropped before the iomap operation completes, violating the invariant that the underlying memory must remain valid for the entire iomap transaction.

Attack Vector

Exploitation requires local access and the ability to perform write operations against a GFS2 filesystem. An attacker triggers inline data writes that drive the racy reclamation of the prematurely released buffer head. The condition is timing-sensitive; the original report relied on kswapd reclamation pressure to materialize the use-after-free. No public C reproducer accompanies the fix.

The vulnerability is described in prose because no verified exploit code is published. See the kernel commit faddeb8 for the corrected code path.

Detection Methods for CVE-2026-45984

Indicators of Compromise

  • KASAN reports referencing use-after-free in iomap_write_end_inline or gfs2_iomap_begin
  • Kernel oops or panic messages originating from the GFS2 module during file write operations
  • Unexpected filesystem corruption on GFS2 volumes following heavy small-file write activity

Detection Strategies

  • Enable KASAN on test kernels to surface use-after-free conditions in the iomap inline write path
  • Audit running kernel versions across clustered storage nodes to identify hosts running unpatched GFS2 code
  • Correlate dmesg output for GFS2-related crashes with workloads that produce small inline writes

Monitoring Recommendations

  • Monitor kernel logs (/var/log/kern.log, journalctl -k) for GFS2 and KASAN error signatures
  • Track kernel package versions across the fleet with configuration management tooling to flag drift from patched builds
  • Alert on unexpected node reboots or filesystem remounts in GFS2 cluster environments

How to Mitigate CVE-2026-45984

Immediate Actions Required

  • Apply the upstream kernel patches that take a buffer head reference in gfs2_iomap_begin() and release it in gfs2_iomap_end()
  • Update to a stable kernel build that incorporates the GFS2 iomap fix from your distribution vendor
  • Restrict local access to systems running GFS2 until patched kernels are deployed

Patch Information

The fix stores dibh in iomap->private and increments its refcount with get_bh() in gfs2_iomap_begin(). The buffer head is then released in gfs2_iomap_end() after the inline write completes. The patch is available across multiple stable branches via the following commits:

  • Kernel Git Commit 1403989
  • Kernel Git Commit 1cae1ba
  • Kernel Git Commit 6d76feb
  • Kernel Git Commit 764c3c8
  • Kernel Git Commit 815ddd2
  • Kernel Git Commit 87d4954
  • Kernel Git Commit d872683
  • Kernel Git Commit faddeb8

Workarounds

  • Unmount GFS2 filesystems on hosts that cannot be immediately patched and rely on alternative shared filesystems where feasible
  • Limit local user accounts and untrusted workloads on systems exposing writable GFS2 mounts
  • Reduce memory pressure on affected nodes to lower the probability of kswapd-driven reclamation triggering the race
bash
# Verify the running kernel version and GFS2 module status
uname -r
lsmod | grep gfs2

# Identify mounted GFS2 filesystems
mount -t gfs2

# After patching, reboot into the fixed kernel
sudo reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 1403989

  • Kernel Git Commit 1cae1ba

  • Kernel Git Commit 6d76feb

  • Kernel Git Commit 764c3c8

  • Kernel Git Commit 815ddd2

  • Kernel Git Commit 87d4954

  • Kernel Git Commit d872683

  • Kernel Git Commit faddeb8
  • Related CVEs
  • CVE-2026-46270: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46267: Linux Kernel NFC Use-After-Free Flaw

  • CVE-2026-46264: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46259: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English