The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2023-0458

CVE-2023-0458: Linux Kernel Information Disclosure Flaw

CVE-2023-0458 is an information disclosure vulnerability in the Linux Kernel's do_prlimit() function caused by speculative pointer dereference. This article covers technical details, affected versions, and patches.

Published: February 4, 2026

CVE-2023-0458 Overview

A speculative pointer dereference vulnerability exists in the Linux Kernel's do_prlimit() function. The resource argument value is controlled by the attacker and used in pointer arithmetic for the rlim variable, which can be exploited to leak kernel memory contents through speculative execution side-channels. This vulnerability is classified as an information disclosure issue that could allow local attackers with low privileges to extract sensitive data from kernel memory.

Critical Impact

Local attackers can potentially leak sensitive kernel memory contents by exploiting speculative execution in the do_prlimit() function, bypassing traditional memory isolation protections.

Affected Products

  • Linux Kernel versions prior to 6.1.8
  • Linux Kernel 6.2 RC1 through RC4
  • Debian Linux 10.0

Discovery Timeline

  • 2023-04-26 - CVE-2023-0458 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-0458

Vulnerability Analysis

This vulnerability stems from a speculative pointer dereference in the Linux Kernel's resource limit handling code. The do_prlimit() function in kernel/sys.c processes resource limit requests without adequate speculation barriers. When an attacker controls the resource parameter, they can manipulate pointer arithmetic operations to access out-of-bounds memory locations during speculative execution, potentially leaking sensitive kernel data through cache timing side-channels similar to Spectre-class vulnerabilities.

The vulnerability requires local access to the system and the attacker must have low-level privileges to invoke the affected system call. The complexity of exploitation is high as it requires precise timing and understanding of speculative execution behavior.

Root Cause

The root cause is the absence of speculation barriers in the do_prlimit() function when processing user-controlled resource values. The function performs bounds checking (if (resource >= RLIM_NLIMITS) return -EINVAL;) but does not prevent speculative execution from proceeding with out-of-bounds values before the check completes. This allows the CPU to speculatively access memory using attacker-controlled indices, leaving observable traces in the cache that can be measured to infer memory contents.

Attack Vector

The attack vector is local, requiring the attacker to have code execution on the target system. The attacker invokes the prlimit() or prlimit64() system call with a carefully crafted resource value. While the kernel will ultimately reject invalid resource values, speculative execution may temporarily access memory at attacker-controlled offsets. By measuring cache timing differences, the attacker can infer the contents of kernel memory that was speculatively accessed.

The following patch was applied to address the vulnerability:

c
 
 	if (resource >= RLIM_NLIMITS)
 		return -EINVAL;
+	resource = array_index_nospec(resource, RLIM_NLIMITS);
+
 	if (new_rlim) {
 		if (new_rlim->rlim_cur > new_rlim->rlim_max)
 			return -EINVAL;

Source: GitHub Linux Commit

The fix adds array_index_nospec() which sanitizes the resource index to prevent speculative out-of-bounds access, ensuring the bounds check is enforced before any memory access occurs.

Detection Methods for CVE-2023-0458

Indicators of Compromise

  • Unusual patterns of prlimit() or prlimit64() system calls with invalid or boundary-value resource parameters
  • Processes performing high-frequency calls to resource limit functions combined with precision timing measurements
  • Suspicious processes accessing /proc filesystem entries related to resource limits in abnormal patterns

Detection Strategies

  • Monitor for anomalous system call patterns using audit frameworks like auditd to track prlimit64 syscalls with unusual arguments
  • Deploy kernel-level monitoring to detect processes attempting to probe cache timing differences
  • Utilize SentinelOne's behavioral AI to identify exploitation patterns characteristic of Spectre-class attacks

Monitoring Recommendations

  • Enable kernel auditing for resource limit system calls with filters for edge-case resource values
  • Implement host-based intrusion detection rules to flag processes exhibiting cache timing attack behaviors
  • Review system logs for repeated failed prlimit calls that may indicate exploitation attempts

How to Mitigate CVE-2023-0458

Immediate Actions Required

  • Upgrade the Linux Kernel to version 6.1.8 or later which contains the security fix
  • Apply commit 739790605705ddcf18f21782b9c99ad7d53a8c11 if using a custom kernel build
  • For Debian Linux 10.0 users, apply the latest security updates as per the Debian LTS advisories

Patch Information

The vulnerability has been addressed in Linux Kernel version 6.1.8 and subsequent releases. The fix introduces the array_index_nospec() macro call to prevent speculative execution from using attacker-controlled index values. Vendor advisories and patches are available:

  • Linux Kernel Diff Changes - Official kernel patch diff
  • GitHub Linux Commit - Security commit details
  • Debian LTS Advisory - Debian security announcement

Workarounds

  • Restrict local access to trusted users only, as the vulnerability requires local code execution
  • Implement strict process isolation using containers or VMs to limit the impact of potential information leakage
  • Consider enabling additional Spectre mitigations in kernel boot parameters if immediate patching is not possible
bash
# Check current kernel version
uname -r

# Update kernel on Debian-based systems
sudo apt update && sudo apt upgrade linux-image-$(uname -r)

# Verify the patch is applied by checking kernel version is >= 6.1.8

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-476
  • Technical References
  • Debian LTS Advisory May 2023

  • Debian LTS Advisory May 2023
  • Vendor Resources
  • Linux Kernel Diff Changes

  • GitHub Linux Commit
  • Related CVEs
  • CVE-2026-31708: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43088: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43085: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43089: Linux Kernel Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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