CVE-2024-35847

published 17 May 2024 · updated 5 Aug 2026

irqchip/gic-v3-its: Prevent double free on error

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03170e657f62c26834172742492a8cb8077ef792, Kernel 5b012f77abde89bf0be8a0547636184fea618137, Kernel 5dbdbe1133911ca7d8466bb86885adec32ad9438 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.14, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <03170e657f62c26834172742492a8cb8077ef792, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <5b012f77abde89bf0be8a0547636184fea618137, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <5dbdbe1133911ca7d8466bb86885adec32ad9438, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <aa44d21574751a7d6bca892eb8e0e9ac68372e52, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <b72d2b1448b682844f995e660b77f2a1fabc1662, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <c26591afd33adce296c022e3480dea4282b7ef91, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <dd681710ab77c8beafe2e263064cb1bd0e2d6ca9, >=7d75bbb4bc1ad90386776459d37e4ddfe605671e <f5417ff561b8ac9a7e53c747b8627a7ab58378ae03170e657f62c26834172742492a8cb8077ef792, 5b012f77abde89bf0be8a0547636184fea618137, 5dbdbe1133911ca7d8466bb86885adec32ad9438, aa44d21574751a7d6bca892eb8e0e9ac68372e52, b72d2b1448b682844f995e660b77f2a1fabc1662, c26591afd33adce296c022e3480dea4282b7ef91, dd681710ab77c8beafe2e263064cb1bd0e2d6ca9, f5417ff561b8ac9a7e53c747b8627a7ab58378ae

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35847 severity on Zeptric[![CVE-2024-35847](https://zeptric.io/badge/cve/CVE-2024-35847.svg)](https://zeptric.io/cve/CVE-2024-35847)