Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Prevent double free on error The error handling path in its_vpe_irq_domain_alloc() causes a double free when its_vpe_init() fails after successfully allocating at least one interrupt. This happens because its_vpe_irq_domain_free() frees the interrupts along with the area bitmap and the vprop_page and its_vpe_irq_domain_alloc() subsequently frees the area bitmap and the vprop_page again. Fix this by unconditionally invoking its_vpe_irq_domain_free() which handles all cases correctly and by removing the bitmap/vprop_page freeing from its_vpe_irq_domain_alloc(). [ tglx: Massaged change log ]
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.14, < 4.19.313 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792Patch
- https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137Patch
- https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438Patch
- https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52Patch
- https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662Patch
- https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91Patch
- https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9Patch
- https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378aePatch
- https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792Patch
- https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137Patch
- https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438Patch
- https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52Patch
- https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662Patch
- https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91Patch
- https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9Patch
FAQ
What is CVE-2024-35847?
CVE-2024-35847 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Prevent double free on error The error handling path in its_vpe_irq_domain_alloc() causes a double free when i...
How severe is CVE-2024-35847?
CVE-2024-35847 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35847?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux.