CVE-2024-27039

clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()

published May 1, 2024

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

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

clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()

'p_clk' is an array allocated just before the for loop for all clk that

need to be registered.

It is incremented at each loop iteration.

If a clk_register() call fails, 'p_clk' may point to something different

from what should be freed.

The best we can do, is to avoid this wrong release of memory.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00265 · 17.5th percentile
Published
2024-05-01T12:53Z
EPSS history
Timeline
  • 01 MAY 12:53Z
    clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()
    cvelistv5