In the Linux kernel, the following vulnerability has been...
High severity
Unreviewed
Published
May 17, 2024
to the GitHub Advisory Database
•
Updated Dec 30, 2024
Description
Published by the National Vulnerability Database
May 17, 2024
Published to the GitHub Advisory Database
May 17, 2024
Last updated
Dec 30, 2024
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 ]
References