Loading
KVM: arm64: vgic-its: use vgic_get_irq_kref() before vgic_put_irq()
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9F8AD -------------------------------- Commit 1a8251a1 ("KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache") fixes the UAF problem of the general path, but does not fix the UAF problem of multiple LPI translation caches. Fix UAF issue with vgic_get_irq_kref() in multiple LPI translation cache path before vgic_put_irq(). Fixes: 1a8251a1 ("KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache") Suggested-by:Jia Qingtong <jiaqingtong@huawei.com> Signed-off-by:
ZhangPeng <zhangpeng362@huawei.com>