KVM: s390: Fix length check __import_wp_info() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
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
European references
- ENISA EUVD · EUVD-2026-80526
- GCVE · GCVE-0-2026-89926
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 27291e2165b6de70c476b7b675308113edd69a60 < 36d62dfb3cac66e6a97fd850a592c2ed56e35ba5 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < aef540194effd768bed0bd2e6a74fe135a3d7c3a ; affected 27291e2165b6de70c476b7b675308113edd69a60 < 71153d3262517e1c02c3a66aa5094f279b2d1454 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < fec89d327d9b2b669b5bbdac209386c6317c3722 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < b94ab9caa5d72c78226121cccff5e33f946da900 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < beb9c55af609c4c7308259d7191688c75a4e3d4a |
| Linux · Linux | affected 3.16 ; unaffected 0 < 3.16 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |