{"id":"CVE-2026-89926","aliases":["CVE-2026-89926"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: s390: Fix length check __import_wp_info()","summary":"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->len, which is an int. The bounds\ncheck is done on the truncated value while the allocation uses the\nuntruncated one:\n\n\twp_info->len = bp_data->len;\n\t[...]\n\tif (wp_info->len < 0 || wp_info->len > MAX_WP_SIZE)\n\t\treturn -EINVAL;\n\n\twp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT);\n\nUse the validated value for the allocation as intended. Without this\nfix userspace can trigger >4GB allocations which will fail and result\nin a WARN due to MAX_PAGE_ORDER.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->len, which is an int. The bounds\ncheck is done on the truncated value while the allocation uses the\nuntruncated one:\n\n\twp_info->len = bp_data->len;\n\t[...]\n\tif (wp_info->len < 0 || wp_info->len > MAX_WP_SIZE)\n\t\treturn -EINVAL;\n\n\twp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT);\n\nUse the validated value for the allocation as intended. Without this\nfix userspace can trigger >4GB allocations which will fail and result\nin a WARN due to MAX_PAGE_ORDER.","source":"cvelist"}],"published":"2026-09-16T10:32:18.785Z","modified":"2026-10-30T13:20:35.973Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"36d62dfb3cac66e6a97fd850a592c2ed56e35ba5","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"aef540194effd768bed0bd2e6a74fe135a3d7c3a","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"71153d3262517e1c02c3a66aa5094f279b2d1454","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"fec89d327d9b2b669b5bbdac209386c6317c3722","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"b94ab9caa5d72c78226121cccff5e33f946da900","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"beb9c55af609c4c7308259d7191688c75a4e3d4a","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"3fe801db90bdeefb0bbdda42d832846b53f64f8a","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"4c07680a467e2f7697245bcd11691bffb2a6f0ed","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/36d62dfb3cac66e6a97fd850a592c2ed56e35ba5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aef540194effd768bed0bd2e6a74fe135a3d7c3a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71153d3262517e1c02c3a66aa5094f279b2d1454","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fec89d327d9b2b669b5bbdac209386c6317c3722","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b94ab9caa5d72c78226121cccff5e33f946da900","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/beb9c55af609c4c7308259d7191688c75a4e3d4a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fe801db90bdeefb0bbdda42d832846b53f64f8a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c07680a467e2f7697245bcd11691bffb2a6f0ed","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89926","url":"https://www.cve.org/CVERecord?id=CVE-2026-89926","licence":"CVE Terms of Use","modified":"2026-10-30T12:33:28.105Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89926","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89926","licence":"Public domain","modified":"2026-10-30T13:20:35.973Z"}],"updatedAt":"2026-11-25T22:59:38.980Z","epss":{"score":0.00217,"percentile":0.12936,"date":"2026-12-01T12:00:22.000Z"}}