# CVE-2026-98650: KVM: s390: Fix potential races in dat skey functions

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-18T15:20:22.173Z
- Modified: 2026-10-19T10:19:29.467Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: s390: Fix potential races in dat skey functions

When dat_cond_set_storage_key() finds a large page, it will
conditionally set the storage key in absolute memory using
large_crste_to_phys() to get the absolute address.

There is a race window between dat_entry_walk() and
large_crste_to_phys(): the large page could have been split
concurrently, and large_crste_to_phys() might be called with a crste
that does not designate a large page, leading to crashes.

Similar issues were also present in dat_set_storage_key().

dat_get_storage_key() and dat_reset_reference_bit() did instead check
for a potential concurrent splitting of the large page, but then
handled it incorrectly.

Fix by performing a READ_ONCE on the crste pointer, checking and using
the result, instead of dereferencing the pointer again. In case a race
is detacted, try dat_entry_walk() again.

(As written by CVE List.)

## Affected

- Linux Linux: from 8e03e8316eb242af307d1c789d09f1a1457cf9a3 before c958f0498891203fddf2764b28f8b102c6bfd719; from 8e03e8316eb242af307d1c789d09f1a1457cf9a3 before 27554b9505ddfc0aeab466aeb60929dfa17284c7; 7.0 (not affected: before 7.0; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c958f0498891203fddf2764b28f8b102c6bfd719>
- <https://git.kernel.org/stable/c/27554b9505ddfc0aeab466aeb60929dfa17284c7>

## Sources

- CVE List: [CVE-2026-98650](https://www.cve.org/CVERecord?id=CVE-2026-98650), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98650](https://nvd.nist.gov/vuln/detail/CVE-2026-98650), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98650 · Whole record: https://cve.day/CVE-2026-98650.json · Rebuilt by cve.day 2026-11-25T22:59:45.257Z
