CVE-2024-35847
Linux Kernel GIC-V3-ITS Double Free 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 ]
INFO
Published Date :
May 17, 2024, 3:15 p.m.
Last Modified :
Dec. 30, 2024, 5:41 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35847
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35847
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35847
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-415 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14 up to (excluding) 4.19.313 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.275 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.216 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.158 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.90 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.30 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.9 *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 No Types Assigned https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 Patch Changed Reference Type https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 No Types Assigned https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 Patch Changed Reference Type https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 No Types Assigned https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 Patch Changed Reference Type https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 No Types Assigned https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 Patch Changed Reference Type https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 No Types Assigned https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 Patch Changed Reference Type https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 No Types Assigned https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 Patch Changed Reference Type https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 No Types Assigned https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 Patch Changed Reference Type https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 No Types Assigned https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 Patch Changed Reference Type https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 No Types Assigned https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 Patch Changed Reference Type https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 No Types Assigned https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 Patch Changed Reference Type https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 No Types Assigned https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 Patch Changed Reference Type https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 No Types Assigned https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 Patch Changed Reference Type https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 No Types Assigned https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 Patch Changed Reference Type https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 No Types Assigned https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 Patch Changed Reference Type https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae No Types Assigned https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae Patch Changed Reference Type https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae No Types Assigned https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 Added Reference https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 Added Reference https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 Added Reference https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 Added Reference https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 Added Reference https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 Added Reference https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 Added Reference https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2024
Action Type Old Value New Value Added 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 ] Added Reference kernel.org https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35847
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35847
weaknesses.