Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Fix kvm_device leak in kvm_ipi_destroy() In kvm_ioctl_create_device(), kvm_device has allocated memory, kvm_device->destroy() seems to be supposed to free its kvm_device struct, but kvm_ipi_destroy() is not currently doing this, that would lead to a memory leak. So, fix it.
Product status
c532de5a67a70f8533d495f8f2aaa9a0491c3ad0 (git) before 5defcc2f9c22e6e09b5be68234ad10f4ba0292b7
c532de5a67a70f8533d495f8f2aaa9a0491c3ad0 (git) before 0bf58cb7288a4d3de6d8ecbb3a65928a9362bf21
6.13
Any version before 6.13
6.18.7 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/5defcc2f9c22e6e09b5be68234ad10f4ba0292b7
git.kernel.org/...c/0bf58cb7288a4d3de6d8ecbb3a65928a9362bf21