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-2026-31746

CVE-2026-31746: Linux Kernel Memory Leak Vulnerability

CVE-2026-31746 is a memory leak vulnerability in Linux Kernel's s390/zcrypt component affecting CCA cards used as accelerators. This post covers the technical details, affected versions, and available mitigations.

Published: May 7, 2026

CVE-2026-31746 Overview

CVE-2026-31746 is a memory leak vulnerability in the Linux kernel's s390/zcrypt driver. The flaw affects IBM Z mainframe systems using Common Cryptographic Architecture (CCA) cards as accelerators for clear key RSA requests. Both Modular Exponentiation (ME) and Chinese Remainder Theorem (CRT) code paths fail to free an earlier AP message allocation after a rework introduced ap_init_apmsg(). Each affected RSA request leaks kernel memory, eventually exhausting available resources and causing denial of service. The vulnerability is tracked under CWE-401: Missing Release of Memory after Effective Lifetime.

Critical Impact

A local authenticated user issuing repeated clear key RSA operations through the zcrypt interface can exhaust kernel memory and degrade system availability on s390/IBM Z hosts.

Affected Products

  • Linux kernel 7.0-rc1 through 7.0-rc6
  • Linux kernel stable branches with the s390/zcrypt ap_init_apmsg() rework
  • IBM Z (s390) systems using CCA cryptographic cards in accelerator mode

Discovery Timeline

  • 2026-05-01 - CVE-2026-31746 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-31746

Vulnerability Analysis

The s390/zcrypt subsystem provides userspace access to IBM Z hardware cryptographic adapters through the AP (Adjunct Processor) bus. When a CCA card is configured as an accelerator, it handles clear key RSA computations submitted via ioctl calls on /dev/z90crypt. Each request requires an AP message buffer to carry the request payload to the adapter.

A prior refactor centralized AP message buffer allocation into ap_init_apmsg(). However, the ME and CRT request handlers retained their original allocation calls in addition to the new initialization path. The result is two allocations per request, with only the second buffer tracked and released. The first buffer is orphaned on every call.

Repeated RSA operations from a low-privilege local user steadily consume kernel slab memory. Sustained workloads on systems exposing zcrypt to multiple tenants reach memory pressure thresholds, triggering OOM conditions and impacting workloads sharing the host.

Root Cause

The root cause is duplicate buffer allocation in the RSA ME and CRT submission paths within drivers/s390/crypto/zcrypt_*. The legacy allocation was not removed when ap_init_apmsg() became the canonical initializer, leaving an unreferenced allocation that is never passed to the corresponding free routine.

Attack Vector

Exploitation requires local access with permission to open the zcrypt device. An attacker submits a high volume of clear key RSA ME or CRT requests through the standard zcrypt ioctl interface. Each request leaks one AP message buffer in kernel space, with no userspace indicator of the leak. The vulnerability does not yield code execution or data disclosure but degrades availability.

No public proof-of-concept is available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2026-31746

Indicators of Compromise

  • Steady, unexplained growth in kernel slab allocations on s390/IBM Z hosts running CCA accelerator workloads
  • Out-of-memory kills affecting unrelated workloads on systems with active zcrypt usage
  • High call rates to zcrypt RSA ioctl operations from a single non-root user or process

Detection Strategies

  • Monitor /proc/slabinfo for unbounded growth in AP message buffer slabs over time
  • Audit zcrypt device access using Linux Audit subsystem rules on /dev/z90crypt to track per-user request volume
  • Correlate kernel memory pressure events with workloads issuing clear key RSA ME or CRT operations

Monitoring Recommendations

  • Baseline normal MemAvailable and slab consumption on s390 hosts and alert on sustained downward trends
  • Track kernel version and patch level across the IBM Z fleet to confirm fixed builds are deployed
  • Forward kernel OOM and slab statistics to a centralized SIEM for trend analysis across the cluster

How to Mitigate CVE-2026-31746

Immediate Actions Required

  • Inventory all s390/IBM Z systems running affected Linux kernel versions and identify those using CCA cards in accelerator mode
  • Apply the upstream stable kernel patches that remove the duplicate AP message allocation in the ME and CRT paths
  • Restrict access to /dev/z90crypt to trusted service accounts only, removing unnecessary group membership

Patch Information

The fix is available in the upstream Linux stable tree. Refer to the following commits for the corrected allocation logic: Kernel Git Commit 586222c, Kernel Git Commit ace37bf, and Kernel Git Commit c8d46f. Distribution maintainers backport these commits into their supported stable kernels.

Workarounds

  • Reconfigure CCA cards out of accelerator mode where clear key RSA performance is not required
  • Apply Linux control groups (cgroups) memory limits to processes accessing zcrypt to contain leak impact
  • Schedule periodic reboots of affected hosts until patched kernels are deployed in production
bash
# Restrict zcrypt device access to a dedicated group
chgrp zcrypt-users /dev/z90crypt
chmod 0660 /dev/z90crypt

# Verify running kernel version against fixed releases
uname -r

# Monitor AP message slab allocation growth
watch -n 60 'grep -E "ap_msg|zcrypt" /proc/slabinfo'

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-401
  • Vendor Resources
  • Kernel Git Commit 586222c

  • Kernel Git Commit ace37bf

  • Kernel Git Commit c8d46f
  • Related CVEs
  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability

  • CVE-2026-31752: Linux Kernel ND Option Vulnerability

  • CVE-2026-31738: Linux Kernel VXLAN Option Validation Flaw

  • CVE-2026-31737: Linux Kernel Memory Leak Vulnerability
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