{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35847","id":"CVE-2024-35847","title":"irqchip/gic-v3-its: Prevent double free on error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/gic-v3-its: Prevent double free on error\n\nThe error handling path in its_vpe_irq_domain_alloc() causes a double free\nwhen its_vpe_init() fails after successfully allocating at least one\ninterrupt. This happens because its_vpe_irq_domain_free() frees the\ninterrupts along with the area bitmap and the vprop_page and\nits_vpe_","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/gic-v3-its: Prevent double free on error\n\nThe error handling path in its_vpe_irq_domain_alloc() causes a double free\nwhen its_vpe_init() fails after successfully allocating at least one\ninterrupt. This happens because its_vpe_irq_domain_free() frees the\ninterrupts along with the area bitmap and the vprop_page and\nits_vpe_irq_domain_alloc() subsequently frees the area bitmap and the\nvprop_page again.\n\nFix this by unconditionally invoking its_vpe_irq_domain_free() which\nhandles all cases correctly and by removing the bitmap/vprop_page freeing\nfrom its_vpe_irq_domain_alloc().\n\n[ tglx: Massaged change log ]","published":"2024-05-17T14:47:26.175Z","updated":"2026-10-29T11:12:08.139970832Z","reserved":"2024-05-17T13:50:33.105Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"f5417ff561b8ac9a7e53c747b8627a7ab58378ae","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"b72d2b1448b682844f995e660b77f2a1fabc1662","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"aa44d21574751a7d6bca892eb8e0e9ac68372e52","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"5dbdbe1133911ca7d8466bb86885adec32ad9438","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"dd681710ab77c8beafe2e263064cb1bd0e2d6ca9","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"03170e657f62c26834172742492a8cb8077ef792","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"5b012f77abde89bf0be8a0547636184fea618137","status":"affected","versionType":"git"},{"version":"7d75bbb4bc1ad90386776459d37e4ddfe605671e","lessThan":"c26591afd33adce296c022e3480dea4282b7ef91","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"4.19.313","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.275","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.216","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.158","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.90","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.30","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.9","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35847.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35847","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00247,"epssPercentile":0.1618,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35847","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35847","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35847","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35847","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}