CVE-2026-45950
crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | May 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
7467147ef9bf42d1ea5b3314c7a05cd542b3518e < 38d80307decc1132626a30e2a62af734630ecca5 7467147ef9bf42d1ea5b3314c7a05cd542b3518e < 4869d0e4e48a5301b267d359b2561c4080791a55 7467147ef9bf42d1ea5b3314c7a05cd542b3518e < 5f2c964a058581e1557c32d5de651c67a80438a7 7467147ef9bf42d1ea5b3314c7a05cd542b3518e < ccb679fdae2e62ed92fd9acb25ed809c0226fcc6
Linux / Linux
6.10
References
git.kernel.org: https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5 git.kernel.org: https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55 git.kernel.org: https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7 git.kernel.org: https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6