LiveActive security incident?Get immediate response
CVE Record

CVE-2024-39478: crypto: starfive - Do not free stack buffer

In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Do not free stack buffer RSA text data uses variable length buffer allocated in software stack. Calling kfree on it causes undefined behaviour in subsequent operations.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux StarFive crypto driver error tries to release memory stored on the software stack while handling variable-length RSA text. This can cause unpredictable kernel behavior, potentially including corruption or a crash. The supplied CVSS score is 7.8 (high), but the sources do not establish active exploitation or universal exposure across Linux systems.

Executive priority

Treat this as a high-priority, targeted kernel update rather than an internet-wide emergency. Quickly identify StarFive-based devices and locally accessible multi-user systems, then apply supported updates. Broader escalation should depend on confirmed driver use, vendor exposure guidance, or new evidence of exploitation.

Technical view

The StarFive crypto RSA path passes a stack-allocated, variable-length text buffer to kfree. Freeing non-heap memory is undefined behavior and may disrupt later kernel operations. The CVSS vector describes a local, low-complexity attack requiring low privileges, with potential high confidentiality, integrity, and availability impact. Trigger prerequisites are not documented in the bundle.

Likely exposure

Exposure is most plausible on systems running an affected kernel build where the StarFive crypto driver processes RSA operations. The bundle lists Linux 6.5, 6.9.5, and 6.10 as affected, alongside an ambiguous โ€œ0โ€ entry. Distribution backports may change exposure, so version numbers alone are insufficient.

Exploitation context

The supplied record is not in KEV and provides no evidence of active exploitation or a public proof of concept. CVSS characterizes exploitation as local and requiring low privileges, not remotely reachable over a network. Whether unprivileged users can reliably reach the vulnerable RSA path is not established by these sources.

Researcher notes

The root cause is an invalid free: variable-length RSA text is stack-allocated and then passed to kfree. The two referenced stable-tree commits document corrections, but the bundle provides no fixed-version mapping, reachable call-path analysis, crash evidence, or exploit confirmation. The duplicated commit identifier and ambiguous version entry reduce precision.

Mitigation direction

  • Consult the Linux distribution or device vendor for affected-build and fixed-package mapping.
  • Apply a vendor-supported kernel update containing the applicable stable correction.
  • Prioritize devices that use the StarFive crypto driver for RSA operations.
  • Follow vendor-approved temporary guidance if an immediate kernel update is unavailable.

Validation and detection

  • Inventory kernel builds on devices using StarFive hardware or crypto functionality.
  • Confirm whether the StarFive crypto driver is present, enabled, and processing RSA workloads.
  • Check package changelogs for either referenced stable correction or an acknowledged backport.
  • After updating, verify the running kernel matches the vendor-designated fixed package.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve ยท low confidence lookup

CVE-2024-39478 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-39478Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux445a4aaf5842073e4130b1d6dbe3785284d9615f, 445a4aaf5842073e4130b1d6dbe3785284d9615funaffected
LinuxLinux6.5, 0, 6.9.5, 6.10affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.