# CVE-2026-23027: LoongArch: KVM: Fix kvm_device leak in kvm_pch_pic_destroy()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-01-31T11:42:06.183Z
- Modified: 2026-06-17T10:20:44.287Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: KVM: Fix kvm_device leak in kvm_pch_pic_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_pch_pic_destroy() is not currently doing this, that
would lead to a memory leak.

So, fix it.

(As written by CVE List.)

## Affected

- Linux Linux: from e785dfacf7e7fe94370fa0e8e3ff1bc8fe179831 before fc53a66227af08d868face4b33fa8b2e1ba187ed; from e785dfacf7e7fe94370fa0e8e3ff1bc8fe179831 before 1cf342a7c3adc5877837b53bbceb5cc9eff60bbf; 6.13 (not affected: before 6.13; from 6.18.7 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/fc53a66227af08d868face4b33fa8b2e1ba187ed>
- <https://git.kernel.org/stable/c/1cf342a7c3adc5877837b53bbceb5cc9eff60bbf>

## Sources

- CVE List: [CVE-2026-23027](https://www.cve.org/CVERecord?id=CVE-2026-23027), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23027](https://nvd.nist.gov/vuln/detail/CVE-2026-23027), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23027 · Whole record: https://cve.day/CVE-2026-23027.json · Rebuilt by cve.day 2026-11-25T22:59:13.336Z
