{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47057","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-29T22:33:44.294Z","datePublished":"2024-02-29T22:37:32.216Z","dateUpdated":"2026-05-11T13:47:14.944Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T13:47:14.944Z"},"descriptions":[{"lang":"en","value":"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\")"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c"],"versions":[{"version":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","lessThan":"617ec35ed51f731a593ae7274228ef2cfc9cb781","status":"affected","versionType":"git"},{"version":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","lessThan":"e1f2d739849c3239df1ea3f97d40bade4b808410","status":"affected","versionType":"git"},{"version":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","lessThan":"6516cb852d704ff8d615de1f93cd443a99736c3d","status":"affected","versionType":"git"},{"version":"ac2614d721dea2ff273af19c6c5d508d58a2bb3e","lessThan":"98b5ef3e97b16eaeeedb936f8bda3594ff84a70e","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c"],"versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.37","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11.21","lessThanOrEqual":"5.11.*","status":"unaffected","versionType":"semver"},{"version":"5.12.4","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.11.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.12.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.13"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781"},{"url":"https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410"},{"url":"https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d"},{"url":"https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e"}],"title":"crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-770","lang":"en","description":"CWE-770 Allocation of Resources Without Limits or Throttling"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-03-05T20:56:30.683698Z","id":"CVE-2021-47057","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-06T14:41:35.263Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T05:24:39.143Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e","tags":["x_transferred"]}]}]}}