CVE-2024-39478

Kernel memory corruption via invalid stack-buffer free

Published Jul 5, 2024 · Updated Sep 2, 2026

Improper memory deallocation in Linux 6.5 through 6.9.4 allows local users to corrupt kernel memory through StarFive JH7110 RSA operations. The starfive_rsa_enc_core function passes its variable-length rsa_data stack buffer to kfree after processing attacker-controlled RSA text. Any unprivileged local user on an affected JH7110 system can invoke KEYCTL_PKEY operations, enabling kernel disclosure, arbitrary writes, privilege escalation, or a kernel panic.

CVSS severity7.8
High
EPSS probability0.22%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Improper memory deallocation in Linux 6.5 through 6.9.4 allows local users to corrupt kernel memory through StarFive JH7110 RSA operations. The starfive_rsa_enc_core function passes its variable-length rsa_data stack buffer to kfree after processing attacker-controlled RSA text. Any unprivileged local user on an affected JH7110 system can invoke KEYCTL_PKEY operations, enabling kernel disclosure, arbitrary writes, privilege escalation, or a kernel panic.

The record

CVE
CVE-2024-39478
Published
Jul 5, 2024
Updated
Sep 2, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 5, 2024CVE publishedPublication date reported by the CVE source.
  2. Sep 2, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=445a4aaf5842073e4130b1d6dbe3785284d9615f <5944de192663f272033501dcd322b008fca72006
  2. Affected versionversion=445a4aaf5842073e4130b1d6dbe3785284d9615f <bfd861dadd3a45de257b3d328bf49b64a6f9c5f1
  3. Affected versionversion=445a4aaf5842073e4130b1d6dbe3785284d9615f <d7f01649f4eaf1878472d3d3f480ae1e50d98f6c
  4. Affected versionversion=6.5

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=445a4aaf5842073e4130b1d6dbe3785284d9615f <5944de192663f272033501dcd322b008fca72006; version=445a4aaf5842073e4130b1d6dbe3785284d9615f <bfd861dadd3a45de257b3d328bf49b64a6f9c5f1; version=445a4aaf5842073e4130b1d6dbe3785284d9615f <d7f01649f4eaf1878472d3d3f480ae1e50d98f6c; version=6.5

Published CVSS scores

7.8LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo