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.
References
Configurations
Configuration 1 (hide)
|
History
16 Jun 2026, 02:34
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5 - Patch | |
| References | () https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55 - Patch | |
| References | () https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7 - Patch | |
| References | () https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6 - Patch | |
| First Time |
Linux linux Kernel
Linux |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CWE | CWE-401 | |
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
27 May 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-27 14:17
Updated : 2026-06-16 02:34
NVD link : CVE-2026-45950
Mitre link : CVE-2026-45950
CVE.ORG link : CVE-2026-45950
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
