CVEvulnerability

CVE-2024-27039

5.5 MEDIUM Published 2024-05-01 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-01
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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 configurations

• linux linux kernel (>= 5.14 < 5.15.153) • linux linux kernel (>= 5.16 < 6.1.83) • linux linux kernel (>= 6.2 < 6.6.23) • linux linux kernel (>= 6.7 < 6.7.11) • linux linux kernel (>= 6.8 < 6.8.2)

References