Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Fix kvm_device leak in kvm_eiointc_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_eiointc_destroy() is not currently doing this, that would lead to a memory leak. So, fix it.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2e8b9df82631e714cc2b7bf302772c8259673180 before e94ec9661c5820d157d2cc4b6cf4a6ab656a7b4d; affected 2e8b9df82631e714cc2b7bf302772c8259673180 before 7d8553fc75aefa7ec936af0cf8443ff90b51732e |
| Linux / Linux | affected 6.13; unaffected 0 before 6.13; unaffected 6.18.7 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.