# CVE-2023-52639: KVM: s390: vsie: fix race during shadow creation

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-04-03T14:54:47.009Z
- Modified: 2026-06-17T06:43:13.977Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

KVM: s390: vsie: fix race during shadow creation

Right now it is possible to see gmap->private being zero in
kvm_s390_vsie_gmap_notifier resulting in a crash.  This is due to the
fact that we add gmap->private == kvm after creation:

static int acquire_gmap_shadow(struct kvm_vcpu *vcpu,
                               struct vsie_page *vsie_page)
{
[...]
        gmap = gmap_shadow(vcpu->arch.gmap, asce, edat);
        if (IS_ERR(gmap))
                return PTR_ERR(gmap);
        gmap->private = vcpu->kvm;

Let children inherit the private field of the parent.

(As written by CVE List.)

## Affected

- Linux Linux: from a3508fbe9dc6dd3bece0c7bf889cc085a011738c before 5df3b81a567eb565029563f26f374ae3803a1dfc; from a3508fbe9dc6dd3bece0c7bf889cc085a011738c before f5572c0323cf8b4f1f0618178648a25b8fb8a380; from a3508fbe9dc6dd3bece0c7bf889cc085a011738c before 28bb27824f25f36e5f80229a358d66ee09244082; from a3508fbe9dc6dd3bece0c7bf889cc085a011738c before fe752331d4b361d43cfd0b89534b4b2176057c32; 4.8 (not affected: before 4.8; from 6.1.82 up to 6.1.*; from 6.6.22 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 4.8 before 6.1.82; from 6.2 before 6.6.22; from 6.7 before 6.7.6; 6.8

## References

- <https://git.kernel.org/stable/c/5df3b81a567eb565029563f26f374ae3803a1dfc> (patch)
- <https://git.kernel.org/stable/c/f5572c0323cf8b4f1f0618178648a25b8fb8a380> (patch)
- <https://git.kernel.org/stable/c/28bb27824f25f36e5f80229a358d66ee09244082> (patch)
- <https://git.kernel.org/stable/c/fe752331d4b361d43cfd0b89534b4b2176057c32> (patch)

## Sources

- CVE List: [CVE-2023-52639](https://www.cve.org/CVERecord?id=CVE-2023-52639), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52639](https://nvd.nist.gov/vuln/detail/CVE-2023-52639), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52639 · Whole record: https://cve.day/CVE-2023-52639.json · Rebuilt by cve.day 2026-11-25T22:58:33.479Z
