{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: vsie: fix race during shadow creation\n\nRight now it is possible to see gmap->private being zero in\nkvm_s390_vsie_gmap_notifier resulting in a crash.  This is due to the\nfact that we add gmap->private == kvm after creation:\n\nstatic int acquire_gmap_shadow(struct kvm_vcpu *vcpu,\n                               struct vsie_page *vsie_page)\n{\n[...]\n        gmap = gmap_shadow(vcpu->arch.gmap, asce, edat);\n        if (IS_ERR(gmap))\n                return PTR_ERR(gmap);\n        gmap->private = vcpu->kvm;\n\nLet children inherit the private field of the parent."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "arch/s390/kvm/vsie.c",
                  "arch/s390/mm/gmap.c"
               ],
               "versions": [
                  {
                     "version": "a3508fbe9dc6",
                     "lessThan": "5df3b81a567e",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a3508fbe9dc6",
                     "lessThan": "f5572c0323cf",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a3508fbe9dc6",
                     "lessThan": "28bb27824f25",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a3508fbe9dc6",
                     "lessThan": "fe752331d4b3",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "arch/s390/kvm/vsie.c",
                  "arch/s390/mm/gmap.c"
               ],
               "versions": [
                  {
                     "version": "4.8",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.8",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.82",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.22",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.6",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/5df3b81a567eb565029563f26f374ae3803a1dfc"
            },
            {
               "url": "https://git.kernel.org/stable/c/f5572c0323cf8b4f1f0618178648a25b8fb8a380"
            },
            {
               "url": "https://git.kernel.org/stable/c/28bb27824f25f36e5f80229a358d66ee09244082"
            },
            {
               "url": "https://git.kernel.org/stable/c/fe752331d4b361d43cfd0b89534b4b2176057c32"
            }
         ],
         "title": "KVM: s390: vsie: fix race during shadow creation",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52639",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
