CVE-2024-35847
irqchip/gic-v3-its: Prevent double free on error
Reported by linux · Published May 17, 2024
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 ]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.348-265.562.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.90-99.173.amzn2023 |
| perf | Amazon Linux | 4.14.348-265.562.amzn2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7d75bbb4bc1ad90386776459d37e4ddfe605671e, 7d75bbb4bc1ad90386776459d37e4ddfe605671e, 7d75bbb4bc1ad90386776459d37e4ddfe605671e |
| Linux | Linux | 4.14, 0, 4.19.313 |
| amazon:2 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2 | perf | 0 |
| Linux | Linux | 7d75bbb4bc1ad90386776459d37e4ddfe605671e, 6.9, 6.8.9 |
| amazon:2023 | perf | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel-livepatch-4.14.348-265.562 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.1.90-99.173 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
…and 6 more
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (18 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 10, 2026 Security Advisory (504 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (396 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35847
vulnetix vdb fixes CVE-2024-35847
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35847/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart