Skip to main content
Vulnerability Database/CVE-2026-97588

CVE-2026-97588: Linux Kernel Crypto DOS Vulnerability

CVE-2026-97588 is a denial of service vulnerability in the Linux kernel crypto subsystem causing indefinite blocking when hardware returns persistent EBUSY errors. This article covers technical details, impact analysis, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97588 Overview

CVE-2026-97588 is a Linux kernel vulnerability in the s390 architecture crypto subsystem. The flaw affects how the kernel handles persistent -EBUSY return codes from cryptographic hardware during key conversion operations. When the hardware repeatedly returns -EBUSY after retry exhaustion, the error propagates to crypto_finalize_*_request(). The crypto API completion wrapper treats -EBUSY as a queueing status and swallows it, preventing the completion callback from firing. Callers using crypto_wait_req() block indefinitely, producing a denial-of-service condition on affected IBM Z systems.

Critical Impact

Threads invoking kernel crypto operations on s390 hardware can hang indefinitely when the crypto device fails to recover, degrading availability of workloads that rely on hardware-accelerated key conversion.

Affected Products

  • Linux kernel on IBM Z (s390) architecture
  • Kernel builds enabling the s390/crypto subsystem
  • Workloads using hardware-accelerated key conversion via the kernel crypto API

Discovery Timeline

  • 2026-09-25 - CVE-2026-97588 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97588

Vulnerability Analysis

The vulnerability resides in the s390 crypto driver that manages key conversion requests sent to hardware cryptographic coprocessors. During normal operation, the driver retries requests that fail transiently with -EBUSY, which signals that the hardware queue is temporarily full. The retry loop eventually exhausts its attempts if the hardware continues to report busy status.

After retry exhaustion, the driver returns the raw -EBUSY status upward through crypto_finalize_*_request(). The generic crypto completion wrapper interprets -EBUSY as a transient queueing signal rather than a terminal error. The wrapper suppresses the status and skips invocation of the registered completion callback.

Callers synchronized on crypto_wait_req() wait for the callback to signal completion. Because no callback fires, these callers block indefinitely. Kernel threads in uninterruptible sleep accumulate, affecting any workload that depends on the stalled crypto operations.

Root Cause

The root cause is a semantic mismatch between the driver and the crypto API contract. The s390 driver treated -EBUSY as a valid terminal return code after retries, while the generic crypto layer reserved -EBUSY to signal that a request was queued and would complete asynchronously. The fix maps persistent -EBUSY to -EIO after retry exhaustion so the completion wrapper propagates the error and triggers the callback.

Attack Vector

Triggering the condition requires the s390 crypto hardware to persistently return -EBUSY. This can occur under hardware degradation, saturation, or configuration errors. There is no indication of a remote network attack path. The impact is availability loss on affected systems rather than code execution or data disclosure.

No verified public exploit code is available. For technical specifics, see the upstream commits: Kernel Commit Fix, Kernel Commit Update, and Kernel Commit Revision.

Detection Methods for CVE-2026-97588

Indicators of Compromise

  • Kernel threads stuck in uninterruptible sleep (state D) waiting on crypto API completion.
  • hung_task kernel warnings referencing crypto_wait_req or s390 crypto driver functions.
  • Rising counts of -EBUSY errors reported by the s390 AP (Adjunct Processor) bus and crypto queues.

Detection Strategies

  • Monitor dmesg and /var/log/messages for hung_task timeouts tied to crypto worker threads on s390 hosts.
  • Correlate stalled application threads with s390 AP queue error counters exposed under /sys/bus/ap/.
  • Alert on sustained kernel thread blockage exceeding the kernel.hung_task_timeout_secs threshold.

Monitoring Recommendations

  • Baseline normal s390 crypto queue depth and retry counts, then alert on sustained deviations.
  • Instrument critical workloads that call the kernel crypto API with timeouts and health checks.
  • Capture kernel stack traces from blocked tasks for triage and correlation with vendor advisories.

How to Mitigate CVE-2026-97588

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits.
  • Rebuild and redeploy custom kernel images used on IBM Z systems to include the fix.
  • Validate operation of hardware-accelerated crypto workloads after patching to confirm callbacks fire on error paths.

Patch Information

The fix translates persistent -EBUSY to -EIO after retry exhaustion in the s390/crypto driver, restoring proper error propagation and callback invocation. Review the Kernel Commit Fix, Kernel Commit Update, and Kernel Commit Revision to identify the stable branches that backport the change.

Workarounds

  • Reduce load on s390 crypto coprocessors to avoid sustained -EBUSY conditions until patched kernels are deployed.
  • Configure watchdogs on applications dependent on kernel crypto operations to recycle hung workers.
  • Where feasible, route key conversion operations to software fallbacks on hosts awaiting patching.
bash
# Configuration example: surface hung tasks sooner on affected s390 hosts
sysctl -w kernel.hung_task_timeout_secs=60
sysctl -w kernel.hung_task_warnings=10

# Verify crypto device status on IBM Z
ls /sys/bus/ap/devices/
cat /proc/driver/z90crypt

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.