diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-09-08 15:26:32 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-10-15 11:50:47 +0200 |
| commit | 0d604b1e4617d18dbb5573290ba447d7369251d1 (patch) | |
| tree | 3a650a16e2395d6426d6a7b2f766eba3750de12d /scripts/Makefile.thinlto | |
| parent | 5a9d62555e7164ec79a5fe70153d79cf1fdfd614 (diff) | |
| download | linux-0d604b1e4617d18dbb5573290ba447d7369251d1.tar.gz linux-0d604b1e4617d18dbb5573290ba447d7369251d1.zip | |
irqchip/gic-v3-its: Clear vpt_page after freeing the pending table
its_vpe_teardown() frees vpt_page without clearing it, so its
vpt_page == NULL guard only holds the first time it runs on a vPE.
struct its_vpe outlives a failed KVM_DEV_ARM_VGIC_CTRL_INIT, so a retry
that fails again frees the pending table and the vPE ID a second time.
Fixes: 325ff3e78c64c ("irqchip/gic-v3-its: Prevent leak in its_vpe_irq_domain_alloc()")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Reviewed-by: Radu Rendec <radu@rendec.net>
Link: https://patch.msgid.link/20260908142632.2795308-4-fuad.tabba@linux.dev
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
