CVE-2024-35847

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

HIGH
7.8
CVSS Score
Published: May 17, 2024 at 02:47 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 4.19.3134.14 ≤ v < 5.10.2164.14 ≤ v < 5.15.1584.14 ≤ v < 5.4.2754.14 ≤ v < 6.1.904.14 ≤ v < 6.6.304.14 ≤ v < 6.8.94.14 ≤ v < 6.94.20 ≤ v < 5.4.2755.11 ≤ v < 5.15.1585.16 ≤ v < 6.1.905.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.306.7 ≤ v < 6.8.96.9 rc16.9 rc26.9 rc36.9 rc46.9 rc57d75bbb4bc1ad90386776459d37e4ddfe605671e
Vendor states this is fixed in 03170e657f62c26834172742492a8cb8077ef792 (fixed)
Vendor states this is fixed in 5b012f77abde89bf0be8a0547636184fea618137 (fixed)
Vendor states this is fixed in 5dbdbe1133911ca7d8466bb86885adec32ad9438 (fixed)
Vendor states this is fixed in aa44d21574751a7d6bca892eb8e0e9ac68372e52 (fixed)
Vendor states this is fixed in b72d2b1448b682844f995e660b77f2a1fabc1662 (fixed)
Vendor states this is fixed in c26591afd33adce296c022e3480dea4282b7ef91 (fixed)
Vendor states this is fixed in dd681710ab77c8beafe2e263064cb1bd0e2d6ca9 (fixed)
Vendor states this is fixed in f5417ff561b8ac9a7e53c747b8627a7ab58378ae (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.158 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.90 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card