CVE-2026-89923

KVM: s390: Free guest debug data on vcpu destroy

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

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 053f2068cf9b0654b651fed5ad7649d3deb982bfAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 6c996b12bbe4a6023076e8eee3cfaf2cc99db76cAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before d6280fc540d8f4653c9b54a78cb747e128070f5eAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 544a5a665019cef394ce8bda97fa7a2cab253781Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before 9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before b5acacfdb8966abff91836c1c5bd7da59d8a526eAffected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before e4d8b7f176b976474e0800ba71ee2dfa3ce263c9Affected
  • 27291e2165b6de70c476b7b675308113edd69a60 to before e7f698b09d4a7c36b299acf680fc50fe868e2bcdAffected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 5.10.270 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.