# CVE-2026-89923: KVM: s390: Free guest debug data on vcpu destroy

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-09-16T10:32:16.765Z
- Modified: 2026-10-19T09:18:37.817Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 27291e2165b6de70c476b7b675308113edd69a60 before 053f2068cf9b0654b651fed5ad7649d3deb982bf; from 27291e2165b6de70c476b7b675308113edd69a60 before 6c996b12bbe4a6023076e8eee3cfaf2cc99db76c; from 27291e2165b6de70c476b7b675308113edd69a60 before d6280fc540d8f4653c9b54a78cb747e128070f5e; from 27291e2165b6de70c476b7b675308113edd69a60 before 544a5a665019cef394ce8bda97fa7a2cab253781; from 27291e2165b6de70c476b7b675308113edd69a60 before 9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63; from 27291e2165b6de70c476b7b675308113edd69a60 before b5acacfdb8966abff91836c1c5bd7da59d8a526e; from 27291e2165b6de70c476b7b675308113edd69a60 before e4d8b7f176b976474e0800ba71ee2dfa3ce263c9; from 27291e2165b6de70c476b7b675308113edd69a60 before e7f698b09d4a7c36b299acf680fc50fe868e2bcd; 3.16 (not affected: before 3.16; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-89923](https://www.cve.org/CVERecord?id=CVE-2026-89923), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89923](https://nvd.nist.gov/vuln/detail/CVE-2026-89923), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89923 · Whole record: https://cve.day/CVE-2026-89923.json · Rebuilt by cve.day 2026-11-25T22:59:38.979Z
