Skip to main content
Network Thinking Solutions Logo

CVE-2026-45950

Linux kernel: crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()

All CVEs
CVE-2026-45950Published 5/27/2026

Linux kernel: crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
5/27/2026
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.10, < 6.12.75

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.14

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.4

Verify advisory

Source
Linux
Linux
≥ 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 38d80307decc1132626a30e2a62af734630ecca5

Verify advisory

Source
Linux
Linux
≥ 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 4869d0e4e48a5301b267d359b2561c4080791a55

Verify advisory

Source
Linux
Linux
≥ 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 5f2c964a058581e1557c32d5de651c67a80438a7

Verify advisory

Source
Linux
Linux
≥ 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < ccb679fdae2e62ed92fd9acb25ed809c0226fcc6

Verify advisory

Source
Linux
Linux
6.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.