CVE Catalog

CVE-2026-89926

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, KVM for s390 has a vulnerability due to an incorrect length check in __import_wp_info(). The len field in struct kvm_hw_breakpoint is user-controlled and can be larger than int, leading to memory allocation based on an unvalidated value, which can result in failed allocation and a WARN.

Risk Assessment

A user with privileges to configure guest debugging can cause excessive memory allocations, leading to system instability or resource exhaustion.

Recommendation

Apply a Linux kernel update containing the fix that uses the validated length value for allocation.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS