Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.10, < 6.12.75 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5Patch
- https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55Patch
- https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7Patch
- https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6Patch
FAQ
What is CVE-2026-45950?
CVE-2026-45950 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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->a...
How severe is CVE-2026-45950?
CVE-2026-45950 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45950?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.