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

CVE-2026-98652: Linux Kernel KVM Privilege Escalation

CVE-2026-98652 is a privilege escalation vulnerability in the Linux kernel KVM subsystem affecting s390 architecture. The flaw involves missing synchronization in interrupt state handling. This article covers technical details, affected versions, security impact, 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-98652 Overview

CVE-2026-98652 is a Linux kernel vulnerability in the s390 KVM (Kernel-based Virtual Machine) subsystem. The flaw resides in kvm_s390_set_irq_state(), which performs a Store status operation without holding the required kvm->srcu read-side lock or the slots lock. The missing synchronization mirrors the pattern previously corrected in kvm_s390_inject_vcpu(). Linux kernel maintainers resolved the issue by acquiring kvm->srcu inside kvm_s390_set_irq_state().

Critical Impact

Missing SRCU protection during a Store status operation on IBM Z (s390) KVM hosts can trigger lockdep warnings and risk inconsistent memory slot access during interrupt state updates.

Affected Products

  • Linux kernel on s390/s390x architecture (IBM Z)
  • KVM hypervisor component (arch/s390/kvm)
  • Distributions shipping kernels prior to the backported fixes in commits 7a33007b95c8 and f3a557067d57

Discovery Timeline

  • 2026-10-18 - CVE-2026-98652 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98652

Vulnerability Analysis

The issue lives in the s390 KVM interrupt handling path. The function kvm_s390_set_irq_state() performs a Store status operation that accesses guest memory slots. Memory slot access in KVM must be protected by the Sleepable Read-Copy-Update (SRCU) read lock kvm->srcu or the slots lock to safely traverse the RCU-protected memory slot list.

Before the fix, kvm_s390_set_irq_state() executed the Store status without acquiring either lock. A sibling path, kvm_s390_inject_vcpu(), follows the same Store status pattern and already takes kvm->srcu correctly. The missing lock in kvm_s390_set_irq_state() created an inconsistent synchronization contract between the two call sites.

Root Cause

The root cause is a locking omission in the s390 KVM interrupt subsystem. Store status requires stable access to KVM memory slots, which are updated under RCU semantics. Reading these structures without kvm->srcu can race with slot updates and produce undefined behavior on IBM Z hosts running virtualized guests.

Attack Vector

The NVD record does not assign a CVSS vector or attack vector classification. The code path is reachable only from host-side KVM ioctl handlers used to set vCPU interrupt state, limiting exposure to actors with privileges on the hypervisor host that manages s390 guests. See the upstream fixes in kernel commit 7a33007b95c8 and kernel commit f3a557067d57 for the technical change.

Detection Methods for CVE-2026-98652

Indicators of Compromise

  • No public indicators of compromise are associated with this vulnerability.
  • No exploit code or proof-of-concept has been published in the NVD record.

Detection Strategies

  • Inventory running kernel versions on s390/s390x hosts and compare against the fixed commits 7a33007b95c8 and f3a557067d57.
  • Enable kernel lockdep (CONFIG_PROVE_RCU) in test environments to surface SRCU violations in KVM paths.
  • Review dmesg for RCU or lockdep warnings referencing kvm_s390_set_irq_state or Store status operations.

Monitoring Recommendations

  • Monitor hypervisor host logs for kernel oops, soft lockups, or RCU stall messages originating in the KVM subsystem.
  • Track distribution security advisories for s390 kernel package updates that reference this CVE.
  • Audit which host accounts and tooling can invoke KVM ioctls on IBM Z systems.

How to Mitigate CVE-2026-98652

Immediate Actions Required

  • Apply the upstream kernel patches that add kvm->srcu acquisition inside kvm_s390_set_irq_state().
  • Rebuild and redeploy custom s390 kernels using the fix commits referenced in the kernel git tree.
  • Restrict access to the hypervisor host to administrators who require KVM management privileges.

Patch Information

The fix adds kvm->srcu locking around the Store status operation in kvm_s390_set_irq_state(). Reference the stable tree commits 7a33007b95c8 and f3a557067d57. Apply vendor-shipped kernel updates once distributions backport these commits.

Workarounds

  • No functional workaround exists outside of patching, since the issue is in kernel locking semantics.
  • Limit untrusted administrative access to s390 KVM hosts until patched kernels are deployed.
  • Avoid custom tooling that repeatedly invokes vCPU interrupt state ioctls on unpatched hosts.
bash
# Verify running kernel on an s390x hypervisor host
uname -r -m

# Check installed kernel package for backported fixes (example: RPM-based distros)
rpm -q --changelog kernel | grep -i -E 'CVE-2026-98652|kvm_s390_set_irq_state'

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.