CVE-2024-27039

published 1 May 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2cc572e0085ebd4b662b74a0f43222bc00df9a00, Kernel 3f8445f1c746fda180a7f75372ed06b24e9cefe2, Kernel 64c6a38136b74a2f18c42199830975edd9fbc379 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <2cc572e0085ebd4b662b74a0f43222bc00df9a00, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <3f8445f1c746fda180a7f75372ed06b24e9cefe2, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <64c6a38136b74a2f18c42199830975edd9fbc379, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <95d1f1228c1bb54803ae57525b76db60e99b37e4, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <d575765b1b62e8bdb00af11caa1aabeb01763d9f, >=6c81966107dc0caa5d2ebedbcebb5f10d865064d <e0b0d1c46a2ce1e46b79d004a7270fdef872e0972cc572e0085ebd4b662b74a0f43222bc00df9a00, 3f8445f1c746fda180a7f75372ed06b24e9cefe2, 64c6a38136b74a2f18c42199830975edd9fbc379, 95d1f1228c1bb54803ae57525b76db60e99b37e4, d575765b1b62e8bdb00af11caa1aabeb01763d9f, e0b0d1c46a2ce1e46b79d004a7270fdef872e097

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27039 severity on Zeptric[![CVE-2024-27039](https://zeptric.io/badge/cve/CVE-2024-27039.svg)](https://zeptric.io/cve/CVE-2024-27039)