# CVE-2026-89926: KVM: s390: Fix length check __import_wp_info()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:32:18.785Z
- Modified: 2026-10-30T13:20:35.973Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 27291e2165b6de70c476b7b675308113edd69a60 before 36d62dfb3cac66e6a97fd850a592c2ed56e35ba5; from 27291e2165b6de70c476b7b675308113edd69a60 before aef540194effd768bed0bd2e6a74fe135a3d7c3a; from 27291e2165b6de70c476b7b675308113edd69a60 before 71153d3262517e1c02c3a66aa5094f279b2d1454; from 27291e2165b6de70c476b7b675308113edd69a60 before fec89d327d9b2b669b5bbdac209386c6317c3722; from 27291e2165b6de70c476b7b675308113edd69a60 before b94ab9caa5d72c78226121cccff5e33f946da900; from 27291e2165b6de70c476b7b675308113edd69a60 before beb9c55af609c4c7308259d7191688c75a4e3d4a; from 27291e2165b6de70c476b7b675308113edd69a60 before 3fe801db90bdeefb0bbdda42d832846b53f64f8a; from 27291e2165b6de70c476b7b675308113edd69a60 before 4c07680a467e2f7697245bcd11691bffb2a6f0ed; 3.16 (not affected: before 3.16; from 5.10.273 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/36d62dfb3cac66e6a97fd850a592c2ed56e35ba5>
- <https://git.kernel.org/stable/c/aef540194effd768bed0bd2e6a74fe135a3d7c3a>
- <https://git.kernel.org/stable/c/71153d3262517e1c02c3a66aa5094f279b2d1454>
- <https://git.kernel.org/stable/c/fec89d327d9b2b669b5bbdac209386c6317c3722>
- <https://git.kernel.org/stable/c/b94ab9caa5d72c78226121cccff5e33f946da900>
- <https://git.kernel.org/stable/c/beb9c55af609c4c7308259d7191688c75a4e3d4a>
- <https://git.kernel.org/stable/c/3fe801db90bdeefb0bbdda42d832846b53f64f8a>
- <https://git.kernel.org/stable/c/4c07680a467e2f7697245bcd11691bffb2a6f0ed>

## Sources

- CVE List: [CVE-2026-89926](https://www.cve.org/CVERecord?id=CVE-2026-89926), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89926](https://nvd.nist.gov/vuln/detail/CVE-2026-89926), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89926 · Whole record: https://cve.day/CVE-2026-89926.json · Rebuilt by cve.day 2026-11-25T22:59:38.980Z
