2084AI Security Observatory

CVE

CVE-2024-35847

CVE-2024-35847HIGH 7.8EPSS 16%

CNA 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 versions

All Linux kernel vulnerabilities →

  • 6.9-rc5This version only
  • 6.9-rc4This version only
  • 6.9-rc3This version only
  • 6.9-rc2This version only
  • 6.9-rc1This version only
  • ≥ 6.7, < 6.8.9Fixed in 6.8.9
  • ≥ 6.2, < 6.6.30Fixed in 6.6.30
  • ≥ 5.16, < 6.1.90Fixed in 6.1.90
  • ≥ 5.11, < 5.15.158Fixed in 5.15.158
  • ≥ 5.5, < 5.10.216Fixed in 5.10.216
  • ≥ 4.20, < 5.4.275Fixed in 5.4.275
  • ≥ 4.14, < 4.19.313Fixed in 4.19.313

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.