{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45950","id":"CVE-2026-45950","title":"crypto: starfive - Fix memory leak in starfive_aes_aead_do_one_req()","description":"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\noperation","descriptionLong":"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.","published":"2026-05-27T12:18:06.482Z","updated":"2026-10-28T02:31:14.690671981Z","reserved":"2026-05-13T15:03:33.088Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7467147ef9bf42d1ea5b3314c7a05cd542b3518e","lessThan":"38d80307decc1132626a30e2a62af734630ecca5","status":"affected","versionType":"git"},{"version":"7467147ef9bf42d1ea5b3314c7a05cd542b3518e","lessThan":"4869d0e4e48a5301b267d359b2561c4080791a55","status":"affected","versionType":"git"},{"version":"7467147ef9bf42d1ea5b3314c7a05cd542b3518e","lessThan":"5f2c964a058581e1557c32d5de651c67a80438a7","status":"affected","versionType":"git"},{"version":"7467147ef9bf42d1ea5b3314c7a05cd542b3518e","lessThan":"ccb679fdae2e62ed92fd9acb25ed809c0226fcc6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.75","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.14","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.4","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/38d80307decc1132626a30e2a62af734630ecca5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4869d0e4e48a5301b267d359b2561c4080791a55","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5f2c964a058581e1557c32d5de651c67a80438a7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ccb679fdae2e62ed92fd9acb25ed809c0226fcc6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45950.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45950","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00122,"epssPercentile":0.02021,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45950","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45950","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45950","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45950","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}