Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-27039
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-27039 affects the Linux kernel's clock driver for the HiSilicon hi3559a SoC. The vulnerability was discovered and disclosed on May 1, 2024, and involves an erroneous devm_kfree() operation in the clock registration process (NVD).

Technical details

The vulnerability exists in the HiSilicon hi3559a clock driver where 'p_clk' is an array allocated before a for loop for clock registration. During loop iterations, p_clk is incremented, and if clk_register() fails, p_clk may point to an incorrect memory location that shouldn't be freed. This leads to an erroneous devm_kfree() operation (Kernel Commit).

Impact

The vulnerability could potentially lead to memory corruption due to incorrect memory deallocation when clock registration fails. This could affect systems using the HiSilicon hi3559a SoC's clock driver (NVD).

Exploitability

The vulnerability requires local access to a system running the affected Linux kernel version with the HiSilicon hi3559a clock driver. The issue is triggered during clock registration failure scenarios (NVD).

Mitigation and workarounds

The issue has been fixed by removing the erroneous devm_kfree() call in the clock driver. The fix has been incorporated into various Linux kernel versions and is available through distribution updates (Ubuntu Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.85-1

Fixed

bullseye

linux

Fixed

sid

linux: 6.7.12-1

Fixed

trixie

linux: 6.7.12-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.17
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management