---
id: CVE-2026-98651
title: 'KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()'
summary: |-
  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 pointe…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 8e03e8316eb242af307d1c789d09f1a1457cf9a3 <
    75867536746ab2d034488a6a93ee6cde83553342
  - >-
    Linux >= 8e03e8316eb242af307d1c789d09f1a1457cf9a3 <
    88e22ffd1e46b95e40a6afabe486deb1d31a3ae1
  - Linux 7.0
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:20:22.978Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98651'
references:
  - url: 'https://git.kernel.org/stable/c/75867536746ab2d034488a6a93ee6cde83553342'
  - url: 'https://git.kernel.org/stable/c/88e22ffd1e46b95e40a6afabe486deb1d31a3ae1'
tags:
  - cve.org
ingestedAt: '2026-10-18T15:45:12.227Z'
---

## Overview

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.

## Affected

- `Linux >= 8e03e8316eb242af307d1c789d09f1a1457cf9a3 < 75867536746ab2d034488a6a93ee6cde83553342`
- `Linux >= 8e03e8316eb242af307d1c789d09f1a1457cf9a3 < 88e22ffd1e46b95e40a6afabe486deb1d31a3ae1`
- `Linux 7.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
