VDB

CVE-2024-35847

CVE-2024-35847 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel-toolsAmazon Linux4.14.348-265.562.amzn2
kernel-tools-develAmazon Linux6.1.90-99.173.amzn2023
perfAmazon Linux4.14.348-265.562.amzn2

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux7d75bbb4bc1ad90386776459d37e4ddfe605671e, 7d75bbb4bc1ad90386776459d37e4ddfe605671e, 7d75bbb4bc1ad90386776459d37e4ddfe605671e
LinuxLinux4.14, 0, 4.19.313
amazon:2kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2perf0
LinuxLinux7d75bbb4bc1ad90386776459d37e4ddfe605671e, 6.9, 6.8.9
amazon:2023perf0
amazon:2kernel-devel0
amazon:2kernel-livepatch-4.14.348-265.5620
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel0
amazon:2python-perf0
amazon:2023bpftool0
amazon:2kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.1.90-99.1730
amazon:2023kernel-libbpf-devel0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›