Re: [PATCH] KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 4 Jan 2024 18:32:32 +0000, Oliver Upton wrote:
> There is a potential UAF scenario in the case of an LPI translation
> cache hit racing with an operation that invalidates the cache, such
> as a DISCARD ITS command. The root of the problem is that
> vgic_its_check_cache() does not elevate the refcount on the vgic_irq
> before dropping the lock that serializes refcount changes.
> 
> Have vgic_its_check_cache() raise the refcount on the returned vgic_irq
> and add the corresponding decrement after queueing the interrupt.

Applied to next, thanks!

[1/1] KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
      commit: ad362fe07fecf0aba839ff2cc59a3617bd42c33f

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux