Skip to content
Heist/ feed
Back to feed
UnratedFix available

KVM: s390: Fix length check __import_wp_info()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-89926
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:49 UTC · Revision 1

Source evidence

KVM: s390: Fix length check __import_wp_info()

core-osv · Original source

Published 16 Sept 2026, 10:32 UTC

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.

osv:CVE-2026-89926

Kernel

Fixed versions: 5.10.273, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "5099d50c8423e509486cc3c321958e71c1d22c80979b64e85f92c02a9b5dc13f",
  "url": "https://osv.dev/vulnerability/CVE-2026-89926",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "KVM: s390: Fix length check __import_wp_info()",
    "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.",
    "evidence": "osv:CVE-2026-89926",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89926",
      "aliases": [
        "CVE-2026-89926"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "27291e2165b6de70c476b7b675308113edd69a60"
                },
                {
                  "fixed": "36d62dfb3cac66e6a97fd850a592c2ed56e35ba5"
                },
                {
                  "fixed": "aef540194effd768bed0bd2e6a74fe135a3d7c3a"
                },
                {
                  "fixed": "71153d3262517e1c02c3a66aa5094f279b2d1454"
                },
                {
                  "fixed": "fec89d327d9b2b669b5bbdac209386c6317c3722"
                },
                {
                  "fixed": "b94ab9caa5d72c78226121cccff5e33f946da900"
                },
                {
                  "fixed": "beb9c55af609c4c7308259d7191688c75a4e3d4a"
                },
                {
                  "fixed": "3fe801db90bdeefb0bbdda42d832846b53f64f8a"
                },
                {
                  "fixed": "4c07680a467e2f7697245bcd11691bffb2a6f0ed"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89926.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.16.0"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89926.json"
          }
        }
      ],
      "modified": "2026-11-01T02:31:01.702673469Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/36d62dfb3cac66e6a97fd850a592c2ed56e35ba5",
        "https://git.kernel.org/stable/c/3fe801db90bdeefb0bbdda42d832846b53f64f8a",
        "https://git.kernel.org/stable/c/4c07680a467e2f7697245bcd11691bffb2a6f0ed",
        "https://git.kernel.org/stable/c/71153d3262517e1c02c3a66aa5094f279b2d1454",
        "https://git.kernel.org/stable/c/aef540194effd768bed0bd2e6a74fe135a3d7c3a",
        "https://git.kernel.org/stable/c/b94ab9caa5d72c78226121cccff5e33f946da900",
        "https://git.kernel.org/stable/c/beb9c55af609c4c7308259d7191688c75a4e3d4a",
        "https://git.kernel.org/stable/c/fec89d327d9b2b669b5bbdac209386c6317c3722",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89926.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89926",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89926.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89926",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504915,
  "published_at": "2026-09-16T10:32:18.785+00:00"
}