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-46312

CVE-2026-46312: Linux Kernel Privilege Escalation Flaw

CVE-2026-46312 is a privilege escalation vulnerability in the Linux kernel videobuf2 media subsystem that affects VMA flag handling. This article covers technical details, affected versions, impact, and mitigation.

Published: June 11, 2026

CVE-2026-46312 Overview

CVE-2026-46312 is a Linux kernel vulnerability in the videobuf2 media subsystem. The vb2_dma_sg_mmap() function fails to set the VM_DONTEXPAND and VM_DONTDUMP VMA flags, while the parallel vb2_dma_contig implementation correctly sets them. This inconsistency triggers a WARN_ON(!(vma->vm_flags & VM_DONTEXPAND)) assertion inside drm_gem_mmap_obj() when userspace performs mmap() on an imported dma-buf backed by vb2_dma_sg_memops. The condition was reproduced using the out-of-tree Apple ISP camera capture driver with gst-launch-1.0 v4l2src ! gtk4paintablesink on Apple Silicon hardware running kernel 6.17.6.

Critical Impact

Local users invoking mmap() on dma-buf objects exported from drivers using vb2_dma_sg_memops can trigger kernel warnings and tainted-kernel states, which disrupts memory accounting expectations in the DRM and media subsystems.

Affected Products

  • Linux kernel media subsystem (drivers/media/common/videobuf2/videobuf2-dma-sg.c)
  • Drivers that import dma-buf objects through vb2_dma_sg_memops, including the out-of-tree Apple ISP camera capture driver
  • DRM GEM consumers performing mmap() on imported videobuf2_dma_sg buffers

Discovery Timeline

  • 2026-06-08 - CVE-2026-46312 published to NVD
  • 2026-06-08 - Last updated in NVD database

Technical Details for CVE-2026-46312

Vulnerability Analysis

The defect resides in the videobuf2 (vb2) memory operations layer, specifically the scatter-gather DMA backend (vb2_dma_sg). When a buffer allocated by this backend is exported as a dma-buf and then imported by a DRM driver, the importer eventually invokes drm_gem_mmap_obj() during userspace mmap(). That function enforces an invariant: the VMA must carry the VM_DONTEXPAND flag, asserted via WARN_ON(!(vma->vm_flags & VM_DONTEXPAND)).

The peer backend vb2_dma_contig sets both VM_DONTEXPAND and VM_DONTDUMP on the VMA inside its mmap handler. The vb2_dma_sg_mmap handler historically omitted these flags. When the GStreamer pipeline v4l2src ! gtk4paintablesink runs on a system where the V4L2 source uses vb2_dma_sg and the sink imports the dma-buf into DRM, the missing flag causes the warning at drivers/gpu/drm/drm_gem.c:1144, tainting the kernel with the W flag.

Root Cause

The root cause is an inconsistency in VMA flag handling between vb2_dma_contig_mmap and vb2_dma_sg_mmap. The scatter-gather variant did not propagate VM_DONTEXPAND and VM_DONTDUMP onto the user mapping, breaking the contract that DRM GEM and other dma-buf consumers expect. The fix aligns both backends so that mappings backed by vb2_dma_sg carry the same VMA semantics as the contiguous backend.

Attack Vector

Exploitation requires local access and the ability to open a V4L2 capture device whose driver uses vb2_dma_sg_memops, then mmap the resulting buffer through a dma-buf importer such as a DRM driver. The observable effect is a kernel WARN_ON and a tainted kernel; no memory corruption primitive is described in the upstream report. The condition is reachable from any unprivileged process with access to the affected /dev/video* and DRM device nodes.

The vulnerability manifests in the vb2_dma_sg_mmap path. See the upstream commits in the Linux Kernel Commit b4cf916 and Linux Kernel Commit 7254b31 for the exact patch hunks.

Detection Methods for CVE-2026-46312

Indicators of Compromise

  • Kernel ring buffer entries containing WARNING: CPU: ... at drivers/gpu/drm/drm_gem.c referencing drm_gem_mmap_obj+0x1f8/0x210.
  • Kernel taint flag W appearing after userspace media pipelines such as gst-launch-1.0 v4l2src ! gtk4paintablesink execute.
  • Stack traces showing drm_gem_mmap invoked through __mmap_region from a process that has opened a videobuf2_dma_sg-backed V4L2 device.

Detection Strategies

  • Audit dmesg and persistent kernel logs (/var/log/kern.log, journalctl -k) for the drm_gem_mmap_obj warning signature.
  • Inventory loaded modules for videobuf2_dma_sg alongside out-of-tree drivers such as apple_isp to identify hosts running affected combinations.
  • Compare running kernel versions against the fix commits listed in the upstream stable tree references.

Monitoring Recommendations

  • Forward kernel logs into a centralized log platform and alert on WARN_ON events originating from drm_gem.c or videobuf2.
  • Track kernel taint state by reading /proc/sys/kernel/tainted across the fleet and alerting on transitions to non-zero values.
  • Monitor for repeated process crashes or aborts in media applications using V4L2 capture devices.

How to Mitigate CVE-2026-46312

Immediate Actions Required

  • Update Linux kernels to a stable release containing the vb2_dma_sg_mmap VMA flag fix.
  • Restrict access to /dev/video* and DRM render nodes to trusted users and groups using udev rules and filesystem permissions.
  • Unload or avoid out-of-tree drivers, such as the Apple ISP capture driver, that exercise the affected vb2_dma_sg_memops import path until patched.

Patch Information

The upstream fix sets VM_DONTEXPAND and VM_DONTDUMP inside vb2_dma_sg_mmap, matching the behavior of vb2_dma_contig. The fix is distributed across the following stable-tree commits: Linux Kernel Commit 1a13602, Linux Kernel Commit 21fade5, Linux Kernel Commit 7254b31, Linux Kernel Commit b4cf916, and Linux Kernel Commit feb1752. Apply the patched kernel from your distribution vendor as soon as it is available.

Workarounds

  • Avoid pipelines that import vb2_dma_sg buffers into DRM consumers, for example by routing capture through user-space copy rather than zero-copy dma-buf import.
  • Disable or blacklist V4L2 drivers that rely on vb2_dma_sg_memops on systems where they are non-essential.
  • Limit local user access to media and DRM device nodes to reduce the surface for triggering the kernel warning.

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit 1a13602

  • Linux Kernel Commit 21fade5

  • Linux Kernel Commit 7254b31

  • Linux Kernel Commit b4cf916

  • Linux Kernel Commit feb1752
  • Related CVEs
  • CVE-2026-52906: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-46328: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-46325: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-46318: Linux Kernel Privilege Escalation Flaw
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