{"id":"CVE-2026-143077","state":"PUBLISHED","title":"LoongArch: KVM: Clear device pointer in irqchip destroy callbacks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Clear device pointer in irqchip destroy callbacks\n\nThe destroy callbacks of the four irqchip devices free the device\nstructure without clearing kvm->arch.{ipi,eiointc,pch_pic,dmsintc},\nleaving a dangling pointer. ops->destroy() is not only called at VM\nteardown but also when KVM_CREATE_DEVICE succeeds and the following\nanon_inode_getfd() fails (e.g. under RLIMIT_NOFILE); the VM stays\nalive, kvm_arch_irqchip_in_kernel() still reports true, and interrupt\ninjection dereferences the freed device.\n\nClear the pointer when destroying.","publishedAt":"2026-12-03T09:18:57.868Z","updatedAt":"2026-12-03T09:18:57.868Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c532de5a67a70f8533d495f8f2aaa9a0491c3ad0","status":"affected","lessThan":"31fd58c1a228369d78fdb0f69d667a67d5a73d67","versionType":"git"},{"version":"c532de5a67a70f8533d495f8f2aaa9a0491c3ad0","status":"affected","lessThan":"a9ce1a00afb0402668877d37c04ffd0e53d48832","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kvm/intc/dmsintc.c","arch/loongarch/kvm/intc/eiointc.c","arch/loongarch/kvm/intc/ipi.c","arch/loongarch/kvm/intc/pch_pic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kvm/intc/dmsintc.c","arch/loongarch/kvm/intc/eiointc.c","arch/loongarch/kvm/intc/ipi.c","arch/loongarch/kvm/intc/pch_pic.c"]}],"references":["https://git.kernel.org/stable/c/31fd58c1a228369d78fdb0f69d667a67d5a73d67","https://git.kernel.org/stable/c/a9ce1a00afb0402668877d37c04ffd0e53d48832"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143077.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143077","state":"PUBLISHED","datePublished":"2026-12-03T09:18:57.868Z","dateUpdated":"2026-12-03T09:18:57.868Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.347Z"},"containers":{"cna":{"title":"LoongArch: KVM: Clear device pointer in irqchip destroy callbacks","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Clear device pointer in irqchip destroy callbacks\n\nThe destroy callbacks of the four irqchip devices free the device\nstructure without clearing kvm->arch.{ipi,eiointc,pch_pic,dmsintc},\nleaving a dangling pointer. ops->destroy() is not only called at VM\nteardown but also when KVM_CREATE_DEVICE succeeds and the following\nanon_inode_getfd() fails (e.g. under RLIMIT_NOFILE); the VM stays\nalive, kvm_arch_irqchip_in_kernel() still reports true, and interrupt\ninjection dereferences the freed device.\n\nClear the pointer when destroying."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c532de5a67a70f8533d495f8f2aaa9a0491c3ad0","status":"affected","lessThan":"31fd58c1a228369d78fdb0f69d667a67d5a73d67","versionType":"git"},{"version":"c532de5a67a70f8533d495f8f2aaa9a0491c3ad0","status":"affected","lessThan":"a9ce1a00afb0402668877d37c04ffd0e53d48832","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kvm/intc/dmsintc.c","arch/loongarch/kvm/intc/eiointc.c","arch/loongarch/kvm/intc/ipi.c","arch/loongarch/kvm/intc/pch_pic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/kvm/intc/dmsintc.c","arch/loongarch/kvm/intc/eiointc.c","arch/loongarch/kvm/intc/ipi.c","arch/loongarch/kvm/intc/pch_pic.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/31fd58c1a228369d78fdb0f69d667a67d5a73d67"},{"url":"https://git.kernel.org/stable/c/a9ce1a00afb0402668877d37c04ffd0e53d48832"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:57.868Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}