KVM: s390: Free guest debug data on vcpu destroy (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: Free guest debug data on vcpu destroy kvm_s390_clear_bp_data() is only called from kvm_arch_vcpu_ioctl_set_guest_debug(), i.e. when user space changes or disables debugging. A vCPU that is destroyed while hardware breakpoints are still armed - the normal case when the VMM just exits or crashes - leaks hw_bp_info, hw_wp_info and all old_data buffers, since generic KVM frees the vCPU right after kvm_arch_vcpu_destroy(). That is bounded by MAX_BP_COUNT entries, so roughly 8 KiB per vCPU, but it is unbounded over VM lifetimes. The allocations are GFP_KERNEL_ACCOUNT, so the charge also outlives the exiting process and pins dying memcgs. Fix by clearing the debug data on vCPU destruction. Calling it unconditionally is fine: struct kvm_vcpu is zero allocated, so for a vCPU that never enabled debugging the counters are 0 and the pointers NULL.
Références
- https://git.kernel.org/stable/c/053f2068cf9b0654b651fed5ad7649d3deb982bf
- https://git.kernel.org/stable/c/6c996b12bbe4a6023076e8eee3cfaf2cc99db76c
- https://git.kernel.org/stable/c/d6280fc540d8f4653c9b54a78cb747e128070f5e
- https://git.kernel.org/stable/c/544a5a665019cef394ce8bda97fa7a2cab253781
- https://git.kernel.org/stable/c/9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63
- https://git.kernel.org/stable/c/b5acacfdb8966abff91836c1c5bd7da59d8a526e
- https://git.kernel.org/stable/c/e4d8b7f176b976474e0800ba71ee2dfa3ce263c9
- https://git.kernel.org/stable/c/e7f698b09d4a7c36b299acf680fc50fe868e2bcd
Références européennes
- ENISA EUVD · EUVD-2026-80523
- GCVE · GCVE-0-2026-89923
Avis du CERT-FR
- 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
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 27291e2165b6de70c476b7b675308113edd69a60 < 053f2068cf9b0654b651fed5ad7649d3deb982bf ; affected 27291e2165b6de70c476b7b675308113edd69a60 < 6c996b12bbe4a6023076e8eee3cfaf2cc99db76c ; affected 27291e2165b6de70c476b7b675308113edd69a60 < d6280fc540d8f4653c9b54a78cb747e128070f5e ; affected 27291e2165b6de70c476b7b675308113edd69a60 < 544a5a665019cef394ce8bda97fa7a2cab253781 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < 9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63 ; affected 27291e2165b6de70c476b7b675308113edd69a60 < b5acacfdb8966abff91836c1c5bd7da59d8a526e |
| Linux · Linux | affected 3.16 ; unaffected 0 < 3.16 ; unaffected 5.10.270 ≤ 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 |