CVE-2021-47373

irqchip/gic-v3-its: Fix potential VPE leak on error

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before 7d39992d45acd6f2d6b2f62389c55b61fb3d486bAffected
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before 5701e8bff314c155e7afdc467b1e0389d86853d0Affected
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before 42d3711c23781045e7a5cd28536c774b9a66d20bAffected
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before 568662e37f927e3dc3e475f3ff7cf4ab7719c5e7Affected
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before e0c1c2e5da19685a20557a50f10c6aa4fa26aa84Affected
  • 7d75bbb4bc1ad90386776459d37e4ddfe605671e to before 280bef512933b2dda01d681d8cbe499b98fc5bddAffected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 4.14.249 through 4.14.*Not affected
  • 4.19.209 through 4.19.*Not affected
  • 5.4.150 through 5.4.*Not affected
  • 5.10.70 through 5.10.*Not affected
  • 5.14.9 through 5.14.*Not affected
  • 5.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.