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.
History

Thu, 18 Sep 2025 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T12:53:57.126Z

Updated: 2025-05-04T09:02:52.505Z

Reserved: 2024-02-19T14:20:24.212Z

Link: CVE-2024-27039

cve-icon Vulnrichment

Updated: 2024-08-02T00:21:05.865Z

cve-icon NVD

Status : Analyzed

Published: 2024-05-01T13:15:49.557

Modified: 2025-09-18T15:48:40.777

Link: CVE-2024-27039

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-27039 - Bugzilla