CVE-2026-89926

KVM: s390: Fix length check __import_wp_info()

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 30, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 36d62dfb3cac66e6a97fd850a592c2ed56e35ba5Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before aef540194effd768bed0bd2e6a74fe135a3d7c3aAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 71153d3262517e1c02c3a66aa5094f279b2d1454Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before fec89d327d9b2b669b5bbdac209386c6317c3722Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before b94ab9caa5d72c78226121cccff5e33f946da900Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before beb9c55af609c4c7308259d7191688c75a4e3d4aAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 3fe801db90bdeefb0bbdda42d832846b53f64f8aAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 4c07680a467e2f7697245bcd11691bffb2a6f0edAffected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.