{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-31590",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31590",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-24T14:42:17.629Z",
    "updatedAt": "2026-06-14T17:42:30.901Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION\n\nDrop the WARN in sev_pin_memory() on npages overflowing an int, as the\nWARN is comically trivially to trigger from userspace, e.g. by doing:\n\n  struct kvm_enc_region range = {\n          .addr = 0,\n          .size = -1ul,\n  };\n\n  __vm_ioctl(vm, KVM_MEMORY_ENCRYPT_REG_REGION, &range);\n\nNote, the checks in sev_mem_enc_register_region() that presumably exist to\nverify the incoming address+size are completely worthless, as both \"addr\"\nand \"size\" are u64s and SEV is 64-bit only, i.e. they _can't_ be greater\nthan ULONG_MAX.  That wart will be cleaned up in the near future.\n\n\tif (range->addr > ULONG_MAX || range->size > ULONG_MAX)\n\t\treturn -EINVAL;\n\nOpportunistically add a comment to explain why the code calculates the\nnumber of pages the \"hard\" way, e.g. instead of just shifting @ulen.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6a8e3c82122737529b25ef2a048fbcc569d8c055"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a703933bcfa5cc76ca10e2048464600e74136099"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "abcd43ff579abd0a654bb4636086e78819dd5f4c"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b670833749ffd8681361db2bb047c6f2e3075f3a"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ab423e5892826202a660b5ac85d1125b0e8301a5"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "28cc13ca20431b127d42d84ba10898d03e2c8267"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c29ff288a2d97a6f4640a498a367cf0eb91312eb"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1cba4dcd795daf6d257122779fb6a349edf03914"
            },
            {
              "version": "78824fabc72e5e37d51e6e567fde70a4fc41a6d7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8acffeef5ef720c35e513e322ab08e32683f32f2"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.9"
            },
            {
              "version": "5.10.258",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.209",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.136",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.83",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.24",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.14",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0.1",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.0.*"
            },
            {
              "version": "7.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}