KVM: s390: Fix old_data leak in guest debug error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f55e4d415d95342d5753e528e05a1e8623992c3f, Kernel 124c81ee610e1fbdd93d4399f88d9e28ba97a941, Kernel 4048d0a252163084794be3e37995b872c5178913 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: Fix old_data leak in guest debug error path __import_wp_info() allocates a per-watchpoint old_data buffer to back up the original guest memory contents. If a later watchpoint of the same KVM_SET_GUEST_DEBUG request fails to import, kvm_s390_import_bp_data() jumps to the error label, which frees the wp_info array but not the old_data buffers of the entries that were imported successfully. Up to MAX_BP_COUNT - 1 buffers of up to MAX_WP_SIZE bytes are leaked per failed request, and the request can be repeated. Create error handling for cleaning up all created old_data memory areas.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=27291e2165b6de70c476b7b675308113edd69a60 <f55e4d415d95342d5753e528e05a1e8623992c3f, >=27291e2165b6de70c476b7b675308113edd69a60 <124c81ee610e1fbdd93d4399f88d9e28ba97a941, >=27291e2165b6de70c476b7b675308113edd69a60 <4048d0a252163084794be3e37995b872c5178913, >=27291e2165b6de70c476b7b675308113edd69a60 <46cb8a273e2f853f89a78b59dbdff8787b6e1c86, >=27291e2165b6de70c476b7b675308113edd69a60 <5fbf319137735252eefa507193c9a619af5b7457, >=27291e2165b6de70c476b7b675308113edd69a60 <aa9c8e8baf1e765fa65b93212522c636f25d846f, >=27291e2165b6de70c476b7b675308113edd69a60 <c85d402553987777cc4742751437ea5dcbf98a7b, >=27291e2165b6de70c476b7b675308113edd69a60 <e5ae7816e5ad145618f7fd568a0e8a94dd9f81f4, =3.16 | f55e4d415d95342d5753e528e05a1e8623992c3f, 124c81ee610e1fbdd93d4399f88d9e28ba97a941, 4048d0a252163084794be3e37995b872c5178913, 46cb8a273e2f853f89a78b59dbdff8787b6e1c86, 5fbf319137735252eefa507193c9a619af5b7457, aa9c8e8baf1e765fa65b93212522c636f25d846f, c85d402553987777cc4742751437ea5dcbf98a7b, e5ae7816e5ad145618f7fd568a0e8a94dd9f81f4 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.16.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket