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

CVE-2026-6386: Kernel Privilege Escalation Vulnerability

CVE-2026-6386 is a privilege escalation flaw in the kernel affecting page table handling with 1GB largepage mappings. Unprivileged users can exploit this to gain unauthorized memory access and escalate privileges.

Published: April 23, 2026

CVE-2026-6386 Overview

A memory corruption vulnerability exists in the FreeBSD kernel's handling of protection keys for userspace (PKU) on AMD64 systems. The pmap_pkru_update_range() subroutine, responsible for applying protection keys to address ranges by updating page table entries, fails to properly account for 1GB largepage mappings created using the shm_create_largepage(3) interface. Specifically, the function always treats a page directory page entry as pointing to another page table page, regardless of whether it represents a largepage mapping.

This improper handling allows an unprivileged local user to cause pmap_pkru_update_range() to misinterpret userspace memory as a page table page, potentially leading to unauthorized memory overwrites and information disclosure.

Critical Impact

Unprivileged local attackers can exploit this kernel vulnerability to access memory regions beyond their normal privileges, potentially exposing sensitive system information.

Affected Products

  • FreeBSD AMD64 systems with PKU (Protection Keys for Userspace) support
  • Systems utilizing shm_create_largepage(3) with 1GB page mappings

Discovery Timeline

  • 2026-04-22 - CVE CVE-2026-6386 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-6386

Vulnerability Analysis

This vulnerability stems from a fundamental mishandling of page table entry types within the FreeBSD kernel's memory management subsystem. The affected code path resides in pmap_pkru_update_range(), which is invoked when applying Intel Memory Protection Keys (PKU) to virtual address ranges.

The FreeBSD kernel supports multiple page sizes on AMD64 architecture, including standard 4KB pages, 2MB large pages, and 1GB superpages. When processing page directory entries, the vulnerable function assumes all entries point to subordinate page table pages rather than considering that entries may directly map large physical memory regions.

When a 1GB superpage created via shm_create_largepage(3) is encountered, the function incorrectly dereferences the page directory entry as if it were a pointer to another page table structure. This causes the kernel to interpret arbitrary userspace-controlled memory as page table metadata, enabling memory corruption beyond the process's normal access boundaries.

The vulnerability is classified under CWE-269 (Improper Privilege Management), as it allows unprivileged users to manipulate kernel memory management structures.

Root Cause

The root cause is the absence of proper page size detection logic within pmap_pkru_update_range(). The function fails to check the PS (Page Size) bit in page directory entries, which indicates whether the entry maps a large page directly or points to another level of page tables. This oversight causes the kernel to unconditionally traverse what it assumes to be page table hierarchies, even when those entries represent direct 1GB physical mappings.

Attack Vector

The attack requires local access to the target system. An attacker can exploit this vulnerability by:

  1. Creating a 1GB largepage mapping using shm_create_largepage(3)
  2. Triggering a protection key update operation on an address range that encompasses the largepage
  3. Causing the kernel to misinterpret userspace memory contents as page table entries
  4. Leveraging the resulting memory corruption to read or modify memory outside their process boundaries

The vulnerability requires the attacker to craft specific memory layouts that will be interpreted as page table structures by the confused kernel code. While exploitation complexity exists, the attack does not require any special privileges beyond basic user access.

Detection Methods for CVE-2026-6386

Indicators of Compromise

  • Unexpected kernel panics or crashes related to page table management or memory faults
  • Unusual usage patterns of shm_create_largepage(3) system calls by non-privileged processes
  • Memory access violations or corruption in kernel space logged in system messages

Detection Strategies

  • Monitor for processes creating large shared memory segments with 1GB page mappings using system call auditing
  • Implement kernel integrity monitoring to detect unauthorized modifications to page table structures
  • Deploy host-based intrusion detection systems (HIDS) capable of detecting anomalous memory operations

Monitoring Recommendations

  • Enable FreeBSD audit logging for shm_create_largepage() system calls
  • Monitor dmesg and kernel logs for page fault errors or pmap-related warnings
  • Review system processes for unusual shared memory segment creation patterns

How to Mitigate CVE-2026-6386

Immediate Actions Required

  • Apply the latest FreeBSD security patches addressing this vulnerability
  • Review and limit access to systems where untrusted users have local shell access
  • Consider disabling 1GB superpage support temporarily if patching is not immediately possible

Patch Information

FreeBSD has released a security advisory addressing this vulnerability. System administrators should apply the patches referenced in FreeBSD Security Advisory SA-26:11.

The patch corrects the page size detection logic in pmap_pkru_update_range() to properly identify and handle 1GB largepage mappings, preventing the kernel from misinterpreting page directory entries as pointers to page table pages.

Workarounds

  • Restrict local user access to systems where this vulnerability poses a significant risk
  • Disable PKU functionality at the kernel level if not required for operations (reduces attack surface but impacts security features)
  • Limit the use of shm_create_largepage(3) to trusted applications only through mandatory access controls
bash
# Check current FreeBSD version and patch level
freebsd-version -kru

# Update FreeBSD system with latest security patches
freebsd-update fetch
freebsd-update install

# Verify patch application
freebsd-version -k

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechN/A

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-269
  • Technical References
  • FreeBSD Security Advisory
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: 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