Skip to main content

Linux Kernel CVE-2026-45950

| EUVDEUVD-2026-32234 MEDIUM
Memory Leak (CWE-401)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-j7ww-q9c4-9hxg
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local user access on StarFive JH7110 system
  2. Delivery
    Open AF_ALG AEAD crypto socket
  3. Exploit
    Submit crafted AEAD requests to trigger sg_copy_to_buffer or hw_init failure
  4. Execution
    Each failure leaks kzalloc'd rctx->adata buffer
  5. Persist
    Repeat to exhaust kernel heap
  6. Impact
    Trigger OOM and system denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires: (1) a system physically or virtually running StarFive JH7110 RISC-V SoC hardware with the starfive-aes kernel module loaded; (2) a local user account with at least low privilege (PR:L per CVSS) and access to the kernel crypto API - typically available to unprivileged users via AF_ALG sockets on standard Linux distributions; (3) the ability to trigger error conditions in sg_copy_to_buffer() (e.g., by supplying malformed scatter-gather data) or cause starfive_aes_hw_init() to return failure. What limits exploitation: the hardware specificity to StarFive JH7110 RISC-V SoCs dramatically narrows the affected population; the vulnerability cannot be triggered remotely (AV:L); and causing meaningful DoS requires repeated sustained calls. There is no exploit for confidentiality or integrity - impact is exclusively availability through memory exhaustion.

Impact

Real-world risk is low despite the CVSS A:H rating. The CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H is technically accurate but must be contextualized: the attack surface is strictly bounded to physical or virtual machines running StarFive JH7110 RISC-V SoC hardware, an uncommon deployment outside of specific embedded platforms. EPSS at 0.02% (5th percentile) corroborates negligible real-world exploitation interest. The vulnerability is not listed in CISA KEV, no public exploit or POC is known, and discovery was through static analysis rather than observed abuse. The 'Information Disclosure' tag in the source data conflicts with the CVSS C:N metric - no confidentiality impact is substantiated; this tag appears to be a mis-classification and should not be relied upon. The practical impact is limited to repeated triggered failures in AEAD crypto operations depleting kernel heap memory until system instability or OOM occurs, a scenario requiring sustained local access and deliberate error-triggering.

Exploit ScenarioDerived

A local user on a StarFive JH7110-based Linux system (e.g., a shared embedded platform or development board) repeatedly invokes AEAD encryption operations through the kernel crypto API using the AF_ALG socket interface, deliberately crafting scatter-gather buffers or inducing hardware initialization failures to trigger the error paths in starfive_aes_aead_do_one_req(). Each failed operation leaks the kzalloc'd rctx->adata allocation without freeing it, and after sufficient iterations the kernel heap is exhausted, triggering OOM conditions or system instability. No public exploit code is known; this scenario is theoretical and based on static code analysis findings.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Memory leak in the Linux kernel's StarFive AES crypto driver allows a local low-privileged user on affected StarFive JH7110 RISC-V hardware to exhaust kernel memory and cause a denial of service. The flaw resides in starfive_aes_aead_do_one_req(), where kzalloc()-allocated memory for rctx->adata is not freed on two distinct error paths - failures in sg_copy_to_buffer() or starfive_aes_hw_init() - resulting in unreleased heap memory each time an AEAD operation fails. No public exploit exists and EPSS is extremely low at 0.02%, consistent with a hardware-specific, analysis-discovered defect rather than an actively targeted weakness.

RemediationAI

The primary fix is to update the Linux kernel to a patched stable release. Vendor-released patches are available across multiple stable branches: Linux 6.12.75 (commit ccb679fdae2e62ed92fd9acb25ed809c0226fcc6), Linux 6.18.14 (commit 4869d0e4e48a5301b267d359b2561c4080791a55, https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55), Linux 6.19.4 (commit 38d80307decc1132626a30e2a62af734630ecca5, https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5), and Linux 7.0 (commit 5f2c964a058581e1557c32d5de651c67a80438a7, https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7). As a compensating control where patching is not immediately feasible, administrators can blacklist or unload the starfive-aes kernel module (modprobe -r starfive-aes; echo 'blacklist starfive-aes' >> /etc/modprobe.d/starfive.conf), which prevents the vulnerable code path from executing entirely; the trade-off is loss of hardware-accelerated AES on the StarFive platform, falling back to software crypto. Restricting unprivileged access to the kernel crypto API via kernel hardening (e.g., setting /proc/sys/kernel/unprivileged_bpf_disabled and reviewing CAP_NET_ADMIN policy) reduces exposure surface but does not eliminate it, as the AF_ALG socket interface for crypto is accessible to unprivileged users by default on many distributions.

Affected VersionsENISA

Linux 6.10
Linux 7467147ef9bf42d1ea5b3314c7a05cd542b3518e <4869d0e4e48a5301b267d359b2561c4080791a55
Linux patch: 6.18.14
Linux 7467147ef9bf42d1ea5b3314c7a05cd542b3518e <38d80307decc1132626a30e2a62af734630ecca5
Linux patch: 6.19.4
Linux 7467147ef9bf42d1ea5b3314c7a05cd542b3518e <ccb679fdae2e62ed92fd9acb25ed809c0226fcc6
Linux patch: 0
Linux 7467147ef9bf42d1ea5b3314c7a05cd542b3518e <5f2c964a058581e1557c32d5de651c67a80438a7
Linux patch: 7.0
Linux patch: 6.12.75

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is classified as CWE-401 (Missing Release of Memory after Effective Lifetime) and resides in drivers/crypto/starfive/ within the Linux kernel. The StarFive crypto driver accelerates AES AEAD (Authenticated Encryption with Associated Data) operations on StarFive JH7110 SoC hardware, a RISC-V-based system-on-chip used in embedded and single-board computer platforms. The function starfive_aes_aead_do_one_req() allocates a buffer via kzalloc() for rctx->adata to hold associated data, but two early exit points - one when sg_copy_to_buffer() returns an error copying scatter-gather list data, and one when starfive_aes_hw_init() fails to initialize the hardware engine - return without calling kfree() on the allocation. A corresponding free exists only on the successful write_adata path, leaving the error paths without cleanup. The CPE confirms affected scope as cpe:2.3:o:linux:linux_kernel with a version range anchored to the introducing commit 7467147ef9bf42d1ea5b3314c7a05cd542b3518e. The bug was discovered via static analysis tooling and code review, not through exploitation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local access and low privilege required to invoke crypto API; hardware-specific driver with no scope change; impact is memory exhaustion only, no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 16, 2026 - 02:37 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()

The starfive_aes_aead_do_one_req() function allocates rctx->adata with kzalloc() but fails to free it if sg_copy_to_buffer() or starfive_aes_hw_init() fails, which lead to memory leaks.

Since rctx->adata is unconditionally freed after the write_adata operations, ensure consistent cleanup by freeing the allocation in these earlier error paths as well.

Compile tested only. Issue found using a prototype static analysis tool and code review.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy