VYPR
Medium severity5.5NVD Advisory· Published Jun 19, 2024· Updated Jun 17, 2026

CVE-2024-38603

CVE-2024-38603

Description

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

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

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

Replace the devm_add_action with devm_add_action_or_reset to ensure the irq vector can be destroyed when it fails.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

98

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.