Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
27291e2165b6de70c476b7b675308113edd69a60 to < 124c81ee610e1fbdd93d4399f88d9e28ba97a941affected27291e2165b6de70c476b7b675308113edd69a60 to < e5ae7816e5ad145618f7fd568a0e8a94dd9f81f4affected27291e2165b6de70c476b7b675308113edd69a60 to < c85d402553987777cc4742751437ea5dcbf98a7baffected27291e2165b6de70c476b7b675308113edd69a60 to < 5fbf319137735252eefa507193c9a619af5b7457affected27291e2165b6de70c476b7b675308113edd69a60 to < 4048d0a252163084794be3e37995b872c5178913affected27291e2165b6de70c476b7b675308113edd69a60 to < f55e4d415d95342d5753e528e05a1e8623992c3faffected27291e2165b6de70c476b7b675308113edd69a60 to < 46cb8a273e2f853f89a78b59dbdff8787b6e1c86affected27291e2165b6de70c476b7b675308113edd69a60 to < aa9c8e8baf1e765fa65b93212522c636f25d846faffected
Linux Linux
Default version status: affected
3.16affected0 to < 3.16unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/124c81ee610e1fbdd93d4399f88d9e28ba97a941 ↗
- https://git.kernel.org/stable/c/e5ae7816e5ad145618f7fd568a0e8a94dd9f81f4 ↗
- https://git.kernel.org/stable/c/c85d402553987777cc4742751437ea5dcbf98a7b ↗
- https://git.kernel.org/stable/c/5fbf319137735252eefa507193c9a619af5b7457 ↗
- https://git.kernel.org/stable/c/4048d0a252163084794be3e37995b872c5178913 ↗
- https://git.kernel.org/stable/c/f55e4d415d95342d5753e528e05a1e8623992c3f ↗
- https://git.kernel.org/stable/c/46cb8a273e2f853f89a78b59dbdff8787b6e1c86 ↗
- https://git.kernel.org/stable/c/aa9c8e8baf1e765fa65b93212522c636f25d846f ↗