CVE-2024-35847
HIGHLinux Kernel < 4.19.313 - Double Free
Title source: ruleDescription
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 ]
References (10)
Scores
CVSS v3
7.8
EPSS
0.0002
EPSS Percentile
5.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Classification
CWE
CWE-415
Status
published
Affected Products (14)
linux/linux_kernel
< 4.19.313
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
debian/debian_linux
linux/Kernel
< 4.19.313linux
linux/Kernel
< 5.4.275linux
linux/Kernel
< 5.10.216linux
linux/Kernel
< 5.15.158linux
linux/Kernel
< 6.1.90linux
linux/Kernel
< 6.6.30linux
linux/Kernel
< 6.8.9linux
Timeline
Published
May 17, 2024
Tracked Since
Feb 18, 2026