# CVE-2024-35847: irqchip/gic-v3-its: Prevent double free on error

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-35847, DEBIAN-CVE-2024-35847
- Record: https://cvemate.com/vulnerability/CVE-2024-35847 · JSON: https://cvemate.com/vulnerability/CVE-2024-35847/json

## Description

```text
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 ]
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.247%, percentile 17.056%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 132)

- debian linux (Debian): \< 6.1.90-1 \| \< 6.8.9-1
- ubuntu linux (Ubuntu): \< 4.15.0-232.244 \| \< 5.4.0-189.209 \| \< 5.15.0-116.126 \| \< 6.8.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1176.189 \| \< 5.4.0-1128.138 \| \< 5.15.0-1065.71 \| \< 6.8.0-1013.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1128.138~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1013.14~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2114.120 \| All versions (No fix recorded) \| \< 5.4.0-1128.138+fips1 \| \< 5.15.0-1065.71+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1176.189~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1184.199~14.04.1 \| \< 4.15.0-1184.199~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1133.140 \| \< 5.15.0-1068.77 \| \< 6.8.0-1012.14
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1184.199
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 34)

- <https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae>
- <https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662>
- <https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52>
- <https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438>
- <https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9>
- <https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792>
- <https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137>
- <https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2024-35847>
- <https://www.cve.org/CVERecord?id=CVE-2024-35847>
- <https://git.kernel.org/linus/c26591afd33adce296c022e3480dea4282b7ef91>
- <https://ubuntu.com/security/notices/USN-6896-1>
- <https://ubuntu.com/security/notices/USN-6898-1>
- <https://ubuntu.com/security/notices/USN-6896-2>
- <https://ubuntu.com/security/notices/USN-6898-2>
- <https://ubuntu.com/security/notices/USN-6896-3>
- <https://ubuntu.com/security/notices/USN-6898-3>
- <https://ubuntu.com/security/notices/USN-6896-4>

---

Data as of 2026-12-05T04:02:46.632Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
