{"id":"CVE-2021-47057","published":"2024-02-29T22:37:32Z","modified":"2026-05-11T13:47:14Z","title":"crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map","vendor":"Linux","product":"Linux","tier":"tail","description":{"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\")","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00222,"percentile":0.07556,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781","tags":[]},{"url":"https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410","tags":[]},{"url":"https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d","tags":[]},{"url":"https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.51},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ac2614d721dea2ff273af19c6c5d508d58a2bb3e, < 617ec35ed51f731a593ae7274228ef2cfc9cb781",">= ac2614d721dea2ff273af19c6c5d508d58a2bb3e, < e1f2d739849c3239df1ea3f97d40bade4b808410",">= ac2614d721dea2ff273af19c6c5d508d58a2bb3e, < 6516cb852d704ff8d615de1f93cd443a99736c3d",">= ac2614d721dea2ff273af19c6c5d508d58a2bb3e, < 98b5ef3e97b16eaeeedb936f8bda3594ff84a70e"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-05T20:56:30.683698Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33705","exploited":false,"provenance":"source"}}