{"id":"CVE-2026-45950","published":"2026-05-27T12:18:06Z","modified":"2026-05-27T12:18:06Z","title":"crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()\n\nThe starfive_aes_aead_do_one_req() function allocates rctx->adata with\nkzalloc() but fails to free it if sg_copy_to_buffer() or\nstarfive_aes_hw_init() fails, which lead to memory leaks.\n\nSince rctx->adata is unconditionally freed after the write_adata\noperations, ensure consistent cleanup by freeing the allocation in these\nearlier error paths as well.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00122,"percentile":0.01963,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5","tags":[]},{"url":"https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55","tags":[]},{"url":"https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7","tags":[]},{"url":"https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.39}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 38d80307decc1132626a30e2a62af734630ecca5",">= 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 4869d0e4e48a5301b267d359b2561c4080791a55",">= 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < 5f2c964a058581e1557c32d5de651c67a80438a7",">= 7467147ef9bf42d1ea5b3314c7a05cd542b3518e, < ccb679fdae2e62ed92fd9acb25ed809c0226fcc6"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2026-32234","exploited":false,"provenance":"source"}}