{"id":"CVE-2024-27039","aliases":["CVE-2024-27039"],"related":[],"kind":"vulnerability","state":"published","title":"clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: clk: hisilicon: hi3559a: corrige un devm_kfree() erróneo 'p_clk' es una matriz asignada justo antes del bucle for para todos los clk que deben registrarse. Se incrementa en cada iteración del bucle. Si falla una llamada a clk_register(), 'p_clk' puede señalar algo diferente de lo que debería liberarse. Lo mejor que podemos hacer es evitar esta liberación incorrecta de memoria.","source":"nvd"}],"published":"2024-05-01T12:53:57.126Z","modified":"2026-06-17T07:19:01.570Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"3f8445f1c746fda180a7f75372ed06b24e9cefe2","status":"affected"},{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"e0b0d1c46a2ce1e46b79d004a7270fdef872e097","status":"affected"},{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"95d1f1228c1bb54803ae57525b76db60e99b37e4","status":"affected"},{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"2cc572e0085ebd4b662b74a0f43222bc00df9a00","status":"affected"},{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"d575765b1b62e8bdb00af11caa1aabeb01763d9f","status":"affected"},{"type":"git","introduced":"6c81966107dc0caa5d2ebedbcebb5f10d865064d","fixed":"64c6a38136b74a2f18c42199830975edd9fbc379","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.153","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.83","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14","fixed":"5.15.153"},{"status":"affected","introduced":"5.16","fixed":"6.1.83"},{"status":"affected","introduced":"6.2","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3f8445f1c746fda180a7f75372ed06b24e9cefe2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0b0d1c46a2ce1e46b79d004a7270fdef872e097","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95d1f1228c1bb54803ae57525b76db60e99b37e4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cc572e0085ebd4b662b74a0f43222bc00df9a00","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d575765b1b62e8bdb00af11caa1aabeb01763d9f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64c6a38136b74a2f18c42199830975edd9fbc379","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T16:17:48.442Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27039","url":"https://www.cve.org/CVERecord?id=CVE-2024-27039","licence":"CVE Terms of Use","modified":"2026-05-11T20:09:14.500Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27039","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27039","licence":"Public domain","modified":"2026-06-17T07:19:01.570Z"}],"updatedAt":"2026-11-25T22:58:39.792Z","epss":{"score":0.00265,"percentile":0.19721,"date":"2026-12-01T12:00:22.000Z"}}