{"id":"CVE-2024-27039","published":"2024-05-01T12:53:57Z","modified":"2026-05-11T20:09:14Z","title":"clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: hisilicon: hi3559a: Fix an erroneous devm_kfree()\n\n'p_clk' is an array allocated just before the for loop for all clk that\nneed to be registered.\nIt is incremented at each loop iteration.\n\nIf a clk_register() call fails, 'p_clk' may point to something different\nfrom what should be freed.\n\nThe best we can do, is to avoid this wrong release of memory.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00265,"percentile":0.18823,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3f8445f1c746fda180a7f75372ed06b24e9cefe2","tags":[]},{"url":"https://git.kernel.org/stable/c/e0b0d1c46a2ce1e46b79d004a7270fdef872e097","tags":[]},{"url":"https://git.kernel.org/stable/c/95d1f1228c1bb54803ae57525b76db60e99b37e4","tags":[]},{"url":"https://git.kernel.org/stable/c/2cc572e0085ebd4b662b74a0f43222bc00df9a00","tags":[]},{"url":"https://git.kernel.org/stable/c/d575765b1b62e8bdb00af11caa1aabeb01763d9f","tags":[]},{"url":"https://git.kernel.org/stable/c/64c6a38136b74a2f18c42199830975edd9fbc379","tags":[]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":3.76}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < 3f8445f1c746fda180a7f75372ed06b24e9cefe2",">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < e0b0d1c46a2ce1e46b79d004a7270fdef872e097",">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < 95d1f1228c1bb54803ae57525b76db60e99b37e4",">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < 2cc572e0085ebd4b662b74a0f43222bc00df9a00",">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < d575765b1b62e8bdb00af11caa1aabeb01763d9f",">= 6c81966107dc0caa5d2ebedbcebb5f10d865064d, < 64c6a38136b74a2f18c42199830975edd9fbc379"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T16:17:48.442556Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24301","exploited":false,"provenance":"source"}}