CVE-2024-38603

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

published June 19, 2024

CVSS
—
EPSS
0%
Percentile
10.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00211 · 10.9th percentile
Published
2024-06-19T13:48Z
EPSS history
Timeline
  • 19 JUN 13:48Z
    drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
    cvelistv5