CVE-2026-98651

KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()

Published Oct 18, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()

Some callers pass NULL as oldkey. Calling page_cond_set_storage_key()
will cause that NULL pointer to get dereferenced.

Fix by checking for NULL and assigning the pointer to a dummy local
variable to avoid crashes.

Analysis

AI-generated

Technical impact

The vulnerability is a NULL pointer dereference in the KVM s390 implementation of the dat_cond_set_storage_key() routine. When callers pass a NULL value for the oldkey argument, the underlying page_cond_set_storage_key() function dereferences it, resulting in an immediate crash of the kernel. This causes a denial of service by bringing down the virtual machine or the host system that runs KVM on an s390 architecture. The weakness is code that fails to validate a pointer before use, which is typical of a segmentation fault caused by bad input.

Affected Systems

All Linux kernel builds that include the KVM s390 subsystem are affected until the patch that guards against NULL dereference is applied. The CVE does not list specific version numbers, so any kernel that has not updated to the fixed code is vulnerable. This includes both upstream Linux and vendor‑supplied distributions that ship the unpatched s390 KVM code.

Risk and Exploitability

The flaw does not provide a remote code execution or privilege escalation pathway; it only permits an attacker who can influence the arguments to the storage key routine to crash the kernel. The attack would likely require privileged access to the KVM hypervisor or a malicious guest that can trigger the condition. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, implying limited public exploitation data; the CVSS score is 6.5, indicating moderate severity. Nevertheless, because a kernel crash can take a system offline, administrators should treat this as a significant service disruption risk and upgrade promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the patch for the NULL pointer check in KVM s390
  • Restart the host or virtual machine to load the updated kernel and clear any corrupted state
  • If an immediate kernel update is not possible, monitor for any updates from the distribution vendor and plan to apply the fix in the next maintenance cycle

Generated by OpenCVE AI on October 22, 2026 at 21:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key() Some callers pass NULL as oldkey. Calling page_cond_set_storage_key() will cause that NULL pointer to get dereferenced. Fix by checking for NULL and assigning the pointer to a dummy local variable to avoid crashes.
Title KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:23 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM