{"id":"CVE-2021-47057","aliases":["CVE-2021-47057"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map\n\nIn the case where the dma_iv mapping fails, the return error path leaks\nthe memory allocated to object d.  Fix this by adding a new error return\nlabel and jumping to this to ensure d is free'd before the return.\n\nAddresses-Coverity: (\"Resource leak\")","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map\n\nIn the case where the dma_iv mapping fails, the return error path leaks\nthe memory allocated to object d.  Fix this by adding a new error return\nlabel and jumping to this to ensure d is free'd before the return.\n\nAddresses-Coverity: (\"Resource leak\")","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: crypto: sun8i-ss: corrige la pérdida de memoria del objeto d cuando dma_iv no se puede asignar. En el caso de que falle la asignación de dma_iv, la ruta de error de retorno pierde la memoria asignada al objeto d. Solucione este problema agregando una nueva etiqueta de devolución de error y saltando a ella para asegurarse de que d esté libre antes de la devolución. Direcciones-Cobertura: (\"Fuga de recursos\")","source":"nvd"}],"published":"2024-02-29T22:37:32.216Z","modified":"2026-06-17T04:16:20.223Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"git","introduced":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","fixed":"617ec35ed51f731a593ae7274228ef2cfc9cb781","status":"affected"},{"type":"git","introduced":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","fixed":"e1f2d739849c3239df1ea3f97d40bade4b808410","status":"affected"},{"type":"git","introduced":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","fixed":"6516cb852d704ff8d615de1f93cd443a99736c3d","status":"affected"},{"type":"git","introduced":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","fixed":"98b5ef3e97b16eaeeedb936f8bda3594ff84a70e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.37","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.21","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.4","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.37"},{"status":"affected","introduced":"5.11","fixed":"5.11.21"},{"status":"affected","introduced":"5.12","fixed":"5.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-05T20:56:30.683Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47057","url":"https://www.cve.org/CVERecord?id=CVE-2021-47057","licence":"CVE Terms of Use","modified":"2026-05-11T13:47:14.944Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47057","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47057","licence":"Public domain","modified":"2026-06-17T04:16:20.223Z"}],"updatedAt":"2026-11-25T22:58:08.639Z","epss":{"score":0.00222,"percentile":0.13648,"date":"2026-12-01T12:00:22.000Z"}}