VYPR
Unrated severityNVD Advisory· Published May 1, 2024· Updated May 4, 2025

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

CVE-2024-27039

Description

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.

Affected products

53

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.