irqchip/gic-v3-its: Fix potential VPE leak on error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7d75bbb4bc1ad90386776459d37e4ddfe605671e · < 280bef512933b2dda01d681d8cbe499b98fc5bdd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3-its: Fix potential VPE leak on error
In its_vpe_irq_domain_alloc, when its_vpe_init() returns an error, there is an off-by-one in the number of VPEs to be freed.
Fix it by simply passing the number of VPEs allocated, which is the index of the loop iterating over the VPEs.
[maz: fixed commit message]
From the CVE record · Linux
The Linux kernel’s irqchip/gic-v3-its code has an off-by-one error when freeing VPEs after its_vpe_init() fails, potentially leaking a VPE. The input does not describe an attacker-controlled trigger or specify network access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check their installations; affected versions are not specified.