In the Linux kernel, the following vulnerability has been resolved:
crypto: starfive - Fix memory leak in starfiveaesaeaddoone_req()
The starfiveaesaeaddoonereq() function allocates rctx->adata with kzalloc() but fails to free it if sgcopytobuffer() or starfiveaeshw_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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45950.json",
"cna_assigner": "Linux"
}