{"id":"CVE-2024-35847","summary":"irqchip/gic-v3-its: Prevent double free on error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/gic-v3-its: Prevent double free on error\n\nThe error handling path in its_vpe_irq_domain_alloc() causes a double free\nwhen its_vpe_init() fails after successfully allocating at least one\ninterrupt. This happens because its_vpe_irq_domain_free() frees the\ninterrupts along with the area bitmap and the vprop_page and\nits_vpe_irq_domain_alloc() subsequently frees the area bitmap and the\nvprop_page again.\n\nFix this by unconditionally invoking its_vpe_irq_domain_free() which\nhandles all cases correctly and by removing the bitmap/vprop_page freeing\nfrom its_vpe_irq_domain_alloc().\n\n[ tglx: Massaged change log ]","modified":"2026-04-02T11:51:19.047Z","published":"2024-05-17T14:47:26.175Z","related":["MGASA-2024-0263","MGASA-2024-0266","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:0236-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35847.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35847.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35847"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7d75bbb4bc1ad90386776459d37e4ddfe605671e"},{"fixed":"f5417ff561b8ac9a7e53c747b8627a7ab58378ae"},{"fixed":"b72d2b1448b682844f995e660b77f2a1fabc1662"},{"fixed":"aa44d21574751a7d6bca892eb8e0e9ac68372e52"},{"fixed":"5dbdbe1133911ca7d8466bb86885adec32ad9438"},{"fixed":"dd681710ab77c8beafe2e263064cb1bd0e2d6ca9"},{"fixed":"03170e657f62c26834172742492a8cb8077ef792"},{"fixed":"5b012f77abde89bf0be8a0547636184fea618137"},{"fixed":"c26591afd33adce296c022e3480dea4282b7ef91"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35847.json"}}],"schema_version":"1.7.5"}