LoongArch: KVM: Clear device pointer in irqchip destroy callbacks
- CVE-2026-143077
- GHSA-ccx5-7v99-5wh6
- EUVD-2026-142694
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Clear device pointer in irqchip destroy callbacks The destroy callbacks of the four irqchip devices free the device structure without clearing kvm->arch.{ipi,eiointc,pch_pic,dmsintc}, leaving a dangling pointer. ops->destroy() is not only called at VM teardown but also when KVM_CREATE_DEVICE succeeds and the following anon_inode_getfd() fails (e.g. under RLIMIT_NOFILE); the VM stays alive, kvm_arch_irqchip_in_kernel() still reports true, and interrupt injection dereferences the freed device. Clear the pointer when destroying.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.13 none stated before 6.13: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated from 7.4-rc3 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.