CVE-2021-47373·Kernel vulnerability
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]
- Severity
- medium
- Software
- Kernel
- Fixed in
- 5.14.9
- Published
- 2024-05-21
Affected versions
From: 5.11
Until: 5.14.9
Fixed in: 5.14.9
How to fix this CVE
Update your Linux kernel to version 5.14.9 or later to resolve a resource management flaw in the GIC-v3 interrupt controller subsystem. This vulnerability can cause a virtual processor element (VPE) to leak during error handling in the interrupt domain allocation routine, potentially leading to denial of service. Apply the patch immediately if your system is running kernel versions 5.11 through 5.14.8.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your currently installed kernel version. If it is between 5.11 and 5.14.8, your system is vulnerable.
- Verify the interrupt controller module is loaded by running 'lsmod | grep gic' to confirm the gic_v3_its driver is in use on your ARM64 system.
- Check kernel logs for error messages containing 'its_vpe_irq_domain_alloc' or memory allocation failures by running 'dmesg | grep -i its'.
- After updating, reboot the system and run 'uname -r' again to confirm the kernel version is 5.14.9 or newer.
FAQ
What is CVE-2021-47373?
This vulnerability is an off-by-one error in the Linux kernel's GIC-v3 interrupt chip driver that causes virtual processor elements (VPEs) to leak during error handling in the interrupt request domain allocation function, potentially exhausting system resources.
Is CVE-2021-47373 being actively exploited?
No, this CVE is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it remains a valid denial-of-service vector on affected ARM64 systems.
What versions of Kernel are affected by CVE-2021-47373?
Linux kernel versions 5.11 through 5.14.8 are affected. Version 5.14.9 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47373?
Run 'uname -r' and compare your kernel version. If it reports a version between 5.11 and 5.14.8, your system is vulnerable. This primarily affects ARM64-based systems using GIC-v3 interrupt controllers.
Does Defensia detect CVE-2021-47373?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47373 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd
- https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b
- https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7
- https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0
- https://git.kernel.org/stable/c/7d39992d45acd6f2d6b2f62389c55b61fb3d486b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47373. Free for 1 server.
Get started free