CVE-2026-89926 (GCVE-0-2026-89926)
Vulnerability from cvelistv5
Published
2026-09-16 10:32
Modified
2026-10-19 08:55
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: Fix length check __import_wp_info() struct kvm_hw_breakpoint::len is a __u64 that is fully controlled by user space. This is then assigned to wp_info->len, which is an int. The bounds check is done on the truncated value while the allocation uses the untruncated one: wp_info->len = bp_data->len; [...] if (wp_info->len < 0 || wp_info->len > MAX_WP_SIZE) return -EINVAL; wp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT); Use the validated value for the allocation as intended. Without this fix userspace can trigger >4GB allocations which will fail and result in a WARN due to MAX_PAGE_ORDER.
Impacted products
Vendor Product Version
Linux Linux Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Version: 27291e2165b6de70c476b7b675308113edd69a60
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kvm/guestdbg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "aef540194effd768bed0bd2e6a74fe135a3d7c3a",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "71153d3262517e1c02c3a66aa5094f279b2d1454",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "fec89d327d9b2b669b5bbdac209386c6317c3722",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "b94ab9caa5d72c78226121cccff5e33f946da900",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "beb9c55af609c4c7308259d7191688c75a4e3d4a",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "3fe801db90bdeefb0bbdda42d832846b53f64f8a",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            },
            {
              "lessThan": "4c07680a467e2f7697245bcd11691bffb2a6f0ed",
              "status": "affected",
              "version": "27291e2165b6de70c476b7b675308113edd69a60",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kvm/guestdbg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Fix length check __import_wp_info()\n\nstruct kvm_hw_breakpoint::len is a __u64 that is fully controlled by user\nspace. This is then assigned to wp_info-\u003elen, which is an int. The bounds\ncheck is done on the truncated value while the allocation uses the\nuntruncated one:\n\n\twp_info-\u003elen = bp_data-\u003elen;\n\t[...]\n\tif (wp_info-\u003elen \u003c 0 || wp_info-\u003elen \u003e MAX_WP_SIZE)\n\t\treturn -EINVAL;\n\n\twp_info-\u003eold_data = kmalloc(bp_data-\u003elen, GFP_KERNEL_ACCOUNT);\n\nUse the validated value for the allocation as intended. Without this\nfix userspace can trigger \u003e4GB allocations which will fail and result\nin a WARN due to MAX_PAGE_ORDER."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:55:01.115Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/aef540194effd768bed0bd2e6a74fe135a3d7c3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/71153d3262517e1c02c3a66aa5094f279b2d1454"
        },
        {
          "url": "https://git.kernel.org/stable/c/fec89d327d9b2b669b5bbdac209386c6317c3722"
        },
        {
          "url": "https://git.kernel.org/stable/c/b94ab9caa5d72c78226121cccff5e33f946da900"
        },
        {
          "url": "https://git.kernel.org/stable/c/beb9c55af609c4c7308259d7191688c75a4e3d4a"
        },
        {
          "url": "https://git.kernel.org/stable/c/3fe801db90bdeefb0bbdda42d832846b53f64f8a"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c07680a467e2f7697245bcd11691bffb2a6f0ed"
        }
      ],
      "title": "KVM: s390: Fix length check __import_wp_info()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89926",
    "datePublished": "2026-09-16T10:32:18.785Z",
    "dateReserved": "2026-09-11T19:38:34.775Z",
    "dateUpdated": "2026-10-19T08:55:01.115Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…