{"id":"CVE-2026-89923","aliases":["CVE-2026-89923"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: s390: Free guest debug data on vcpu destroy","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Free guest debug data on vcpu destroy\n\nkvm_s390_clear_bp_data() is only called from\nkvm_arch_vcpu_ioctl_set_guest_debug(), i.e. when user space changes or\ndisables debugging. A vCPU that is destroyed while hardware breakpoints\nare still armed - the normal case when the VMM just exits or crashes -\nleaks hw_bp_info, hw_wp_info and all old_data buffers, since generic KVM\nfrees the vCPU right after kvm_arch_vcpu_destroy().\n\nThat is bounded by MAX_BP_COUNT entries, so roughly 8 KiB per vCPU, but\nit is unbounded over VM lifetimes. The allocations are\nGFP_KERNEL_ACCOUNT, so the charge also outlives the exiting process and\npins dying memcgs.\n\nFix by clearing the debug data on vCPU destruction. Calling it\nunconditionally is fine: struct kvm_vcpu is zero allocated, so for a vCPU\nthat never enabled debugging the counters are 0 and the pointers NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Free guest debug data on vcpu destroy\n\nkvm_s390_clear_bp_data() is only called from\nkvm_arch_vcpu_ioctl_set_guest_debug(), i.e. when user space changes or\ndisables debugging. A vCPU that is destroyed while hardware breakpoints\nare still armed - the normal case when the VMM just exits or crashes -\nleaks hw_bp_info, hw_wp_info and all old_data buffers, since generic KVM\nfrees the vCPU right after kvm_arch_vcpu_destroy().\n\nThat is bounded by MAX_BP_COUNT entries, so roughly 8 KiB per vCPU, but\nit is unbounded over VM lifetimes. The allocations are\nGFP_KERNEL_ACCOUNT, so the charge also outlives the exiting process and\npins dying memcgs.\n\nFix by clearing the debug data on vCPU destruction. Calling it\nunconditionally is fine: struct kvm_vcpu is zero allocated, so for a vCPU\nthat never enabled debugging the counters are 0 and the pointers NULL.","source":"cvelist"}],"published":"2026-09-16T10:32:16.765Z","modified":"2026-10-19T09:18:37.817Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"053f2068cf9b0654b651fed5ad7649d3deb982bf","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"6c996b12bbe4a6023076e8eee3cfaf2cc99db76c","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"d6280fc540d8f4653c9b54a78cb747e128070f5e","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"544a5a665019cef394ce8bda97fa7a2cab253781","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"b5acacfdb8966abff91836c1c5bd7da59d8a526e","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"e4d8b7f176b976474e0800ba71ee2dfa3ce263c9","status":"affected"},{"type":"git","introduced":"27291e2165b6de70c476b7b675308113edd69a60","fixed":"e7f698b09d4a7c36b299acf680fc50fe868e2bcd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/053f2068cf9b0654b651fed5ad7649d3deb982bf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c996b12bbe4a6023076e8eee3cfaf2cc99db76c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6280fc540d8f4653c9b54a78cb747e128070f5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/544a5a665019cef394ce8bda97fa7a2cab253781","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a32c4c6a6c23b7f5bf765eb5b83ba7f64a8ec63","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5acacfdb8966abff91836c1c5bd7da59d8a526e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4d8b7f176b976474e0800ba71ee2dfa3ce263c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7f698b09d4a7c36b299acf680fc50fe868e2bcd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89923","url":"https://www.cve.org/CVERecord?id=CVE-2026-89923","licence":"CVE Terms of Use","modified":"2026-10-19T08:54:58.219Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89923","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89923","licence":"Public domain","modified":"2026-10-19T09:18:37.817Z"}],"updatedAt":"2026-11-25T22:59:38.979Z","epss":{"score":0.00216,"percentile":0.12826,"date":"2026-12-02T12:00:21.000Z"}}