CVE-2024-38603

Source
https://cve.org/CVERecord?id=CVE-2024-38603
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38603.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38603
Downstream
Related
Published
2024-06-19T13:48:14.426Z
Modified
2026-03-23T05:13:03.851851Z
Summary
drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
Details

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

drivers/perf: hisi: hns3: Actually use devmaddactionorreset()

pciallocirqvectors() allocates an irq vector. When devmadd_action() fails, the irq vector is not freed, which leads to a memory leak.

Replace the devmaddaction with devmaddactionorreset to ensure the irq vector can be destroyed when it fails.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38603.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
66637ab137b44914356a9dc7a9b3f8ebcf0b0695
Fixed
1491a01ef5a98149048b12e208f6ed8e86ad10b9
Fixed
a7678a16c25b6ece1667ac681e3e783ff3de7a6f
Fixed
2fcffaaf529d5fe3fdc6c0ee65a6f266b74de782
Fixed
b1e86f1ef8fa796f8935be392457639f3a907d91
Fixed
582c1aeee0a9e73010cf1c4cef338709860deeb0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38603.json"