CVE-2024-39478
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2024-39478 affects the Linux kernel's crypto subsystem, specifically the StarFive RSA implementation. The vulnerability was discovered and disclosed on July 5, 2024, affecting Linux kernel versions from 6.9 up to (excluding) 6.9.5. The issue involves improper handling of RSA text data buffer in the StarFive crypto driver (Kernel Patch).

Technical details

The vulnerability stems from incorrect memory management in the StarFive RSA driver where a variable length buffer allocated on the software stack is incorrectly freed using kfree(). This causes undefined behavior in subsequent operations. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access requirements and potential high impact on availability (NVD).

Impact

The vulnerability can lead to undefined behavior in the system's cryptographic operations when using the StarFive RSA implementation. This could potentially result in system instability or crashes, primarily affecting the availability of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that removes the incorrect kfree() call. Users should update to patched versions of the kernel. Ubuntu has released fixes for various kernel versions including 6.8.0-44.44 for Ubuntu 24.04 LTS and corresponding versions for other supported releases (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40289N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40288N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40287N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40286N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025
CVE-2025-40285N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 06, 2025

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