CVEvulnerability
CVE-2021-47373
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-193
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]
Affected configurations
• linux linux kernel (>= 4.14 < 4.14.249)
• linux linux kernel (>= 4.15 < 4.19.209)
• linux linux kernel (>= 4.20 < 5.4.150)
• linux linux kernel (>= 5.5 < 5.10.70)
• linux linux kernel (>= 5.11 < 5.14.9)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-193 Off-by-one Error weakness
References
- https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd Patch
- https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b Patch
- https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7 Patch
- https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0 Patch
- https://git.kernel.org/stable/c/7d39992d45acd6f2d6b2f62389c55b61fb3d486b Patch
- https://git.kernel.org/stable/c/e0c1c2e5da19685a20557a50f10c6aa4fa26aa84 Patch
- https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd Patch
- https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b Patch
- https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7 Patch
- https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0 Patch
- https://git.kernel.org/stable/c/7d39992d45acd6f2d6b2f62389c55b61fb3d486b Patch
- https://git.kernel.org/stable/c/e0c1c2e5da19685a20557a50f10c6aa4fa26aa84 Patch