# CVE-2021-47373: irqchip/gic-v3-its: Fix potential VPE leak on error

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-21T15:03:37.789Z
- Modified: 2026-06-17T04:17:19.323Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before 7d39992d45acd6f2d6b2f62389c55b61fb3d486b; from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before 5701e8bff314c155e7afdc467b1e0389d86853d0; from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before 42d3711c23781045e7a5cd28536c774b9a66d20b; from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before 568662e37f927e3dc3e475f3ff7cf4ab7719c5e7; from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before e0c1c2e5da19685a20557a50f10c6aa4fa26aa84; from 7d75bbb4bc1ad90386776459d37e4ddfe605671e before 280bef512933b2dda01d681d8cbe499b98fc5bdd; 4.14 (not affected: before 4.14; from 4.14.249 up to 4.14.*; from 4.19.209 up to 4.19.*; from 5.4.150 up to 5.4.*; from 5.10.70 up to 5.10.*; from 5.14.9 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 4.14 before 4.14.249; from 4.15 before 4.19.209; from 4.20 before 5.4.150; from 5.5 before 5.10.70; from 5.11 before 5.14.9; 5.15

## References

- <https://git.kernel.org/stable/c/7d39992d45acd6f2d6b2f62389c55b61fb3d486b> (patch)
- <https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0> (patch)
- <https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b> (patch)
- <https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7> (patch)
- <https://git.kernel.org/stable/c/e0c1c2e5da19685a20557a50f10c6aa4fa26aa84> (patch)
- <https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd> (patch)

## Sources

- CVE List: [CVE-2021-47373](https://www.cve.org/CVERecord?id=CVE-2021-47373), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47373](https://nvd.nist.gov/vuln/detail/CVE-2021-47373), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47373 · Whole record: https://cve.day/CVE-2021-47373.json · Rebuilt by cve.day 2026-11-25T22:58:08.822Z
