CVE-2026-72289
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
KVM: arm64: vgic: Controleer of de interrupt nog steeds van ons is voordat u deze migreert
vgic_prune_ap_list() laat zowel ap_list_lock als irq_lock vallen tijdens het migreren
een onderbreking naar een andere vCPU. Na het opnieuw verkrijgen van de sloten controleert het alleen
dat de affiniteit onveranderd is (target_vcpu == vgic_target_oracle(irq))
voor het verplaatsen van de interrupt, die ervan uitgaat dat een interrupt waarvan de affiniteit
wordt bewaard, staat nog steeds in de wachtrij op de ap_list van deze vCPU. Die veronderstelling geldt niet langer als de interrupt van de ap_list wordt verwijderd
terwijl de sloten vallen. vgic_flush_pending_lpis() verwijdert de
onderbreek uit de lijst en zet irq->vcpu op NUL, maar laat
enabled/pending/target_vcpu onaangeroerd. Omdat de interrupt nog steeds is ingeschakeld
en in afwachting retourneert vgic_target_oracle() hetzelfde target_vcpu, zodat de
affiniteitscontrole slaagt en list_del() wordt een tweede keer uitgevoerd op een invoer die
is al verwijderd. Controleer ook of de interrupt nog steeds is toegewezen aan deze vCPU
(irq->vcpu == vcpu) alvorens het te verplaatsen.
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: vgic: Check the interrupt is still ours before migrating it
vgic_prune_ap_list() drops both ap_list_lock and irq_lock while migrating
an interrupt to another vCPU. After reacquiring the locks it only checks
that the affinity is unchanged (target_vcpu == vgic_target_oracle(irq))
before moving the interrupt, which assumes that an interrupt whose affinity
is preserved is still queued on this vCPU's ap_list.
That assumption no longer holds if the interrupt is taken off the ap_list
while the locks are dropped. vgic_flush_pending_lpis() removes the
interrupt from the list and sets irq->vcpu to NULL, but leaves
enabled/pending/target_vcpu untouched. As the interrupt is still enabled
and pending, vgic_target_oracle() returns the same target_vcpu, so the
affinity check passes and list_del() is run a second time on an entry that
has already been removed.
Also check that the interrupt is still assigned to this vCPU
(irq->vcpu == vcpu) before moving it.