CVE-2026-143077: LoongArch: KVM: Clear device pointer in irqchip destroy callbacks

Published Dec 3, 2026
·
Updated

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,pchpic,dmsintc}, leaving a dangling pointer. ops->destroy() is not only called at VM teardown but also when KVMCREATEDEVICE succeeds and the following anoninodegetfd() fails (e.g. under RLIMITNOFILE); the VM stays alive, kvmarchirqchipinkernel() still reports true, and interrupt injection dereferences the freed device.

Clear the pointer when destroying.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the four LoongArch KVM irqchip device destroy callbacks, clear the corresponding kvm->arch pointer (ipi, eiointc, pch_pic, or dmsintc) when destroying the device.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

Under what conditions can this issue be triggered?

It can occur when creation of one of the LoongArch KVM irqchip devices succeeds but the subsequent anon_inode_getfd() call fails. The description gives exhaustion of the process file-descriptor limit (RLIMIT_NOFILE) as an example.

2

What systems or workloads are exposed?

Exposure is limited to Linux kernel KVM use on LoongArch involving the affected in-kernel irqchip devices: ipi, eiointc, pch_pic, or dmsintc. A VM can remain running after the failed device-creation path, with KVM still treating an irqchip as present.

3

What happens after the failed device creation?

The device structure is freed, but its corresponding kvm->arch device pointer remains dangling. Later interrupt injection can dereference that freed device.

4

How can administrators reduce risk before applying a fix?

Avoid conditions that cause anon_inode_getfd() to fail during KVM device creation, including file-descriptor exhaustion under RLIMIT_NOFILE. Monitor and maintain sufficient file-descriptor headroom for processes creating KVM devices.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203