CVE-2024-27039

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27039
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27039.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27039
Downstream
Related
Published
2024-05-01T13:15:49Z
Modified
2025-09-18T15:48:40Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 clkregister() call fails, 'pclk' may point to something different from what should be freed.

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

References

Affected packages