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 ]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7d75bbb4bc1ad90386776459d37e4ddfe605671e to < f5417ff561b8ac9a7e53c747b8627a7ab58378aeaffected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < b72d2b1448b682844f995e660b77f2a1fabc1662affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < aa44d21574751a7d6bca892eb8e0e9ac68372e52affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < 5dbdbe1133911ca7d8466bb86885adec32ad9438affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < dd681710ab77c8beafe2e263064cb1bd0e2d6ca9affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < 03170e657f62c26834172742492a8cb8077ef792affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < 5b012f77abde89bf0be8a0547636184fea618137affected7d75bbb4bc1ad90386776459d37e4ddfe605671e to < c26591afd33adce296c022e3480dea4282b7ef91affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected4.19.313 to ≤ 4.19.*unaffected5.4.275 to ≤ 5.4.*unaffected5.10.216 to ≤ 5.10.*unaffected5.15.158 to ≤ 5.15.*unaffected6.1.90 to ≤ 6.1.*unaffected6.6.30 to ≤ 6.6.*unaffected6.8.9 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae ↗
- https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 ↗
- https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 ↗
- https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 ↗
- https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 ↗
- https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 ↗
- https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 ↗
- https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 ↗
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html ↗
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html ↗