CVE-2024-35847

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35847
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35847.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35847
Downstream
Related
Published
2024-05-17T14:47:26.175Z
Modified
2025-11-28T02:34:41.007715Z
Summary
irqchip/gic-v3-its: Prevent double free on error
Details

In the Linux kernel, the following vulnerability has been resolved:

irqchip/gic-v3-its: Prevent double free on error

The error handling path in itsvpeirqdomainalloc() causes a double free when itsvpeinit() fails after successfully allocating at least one interrupt. This happens because itsvpeirqdomainfree() frees the interrupts along with the area bitmap and the vproppage and itsvpeirqdomainalloc() subsequently frees the area bitmap and the vproppage again.

Fix this by unconditionally invoking itsvpeirqdomainfree() which handles all cases correctly and by removing the bitmap/vproppage freeing from itsvpeirqdomain_alloc().

[ tglx: Massaged change log ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35847.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7d75bbb4bc1ad90386776459d37e4ddfe605671e
Fixed
f5417ff561b8ac9a7e53c747b8627a7ab58378ae
Fixed
b72d2b1448b682844f995e660b77f2a1fabc1662
Fixed
aa44d21574751a7d6bca892eb8e0e9ac68372e52
Fixed
5dbdbe1133911ca7d8466bb86885adec32ad9438
Fixed
dd681710ab77c8beafe2e263064cb1bd0e2d6ca9
Fixed
03170e657f62c26834172742492a8cb8077ef792
Fixed
5b012f77abde89bf0be8a0547636184fea618137
Fixed
c26591afd33adce296c022e3480dea4282b7ef91

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
4.19.313
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.275
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.216
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.158
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.90
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.30
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.9