{"id":"CVE-2021-46962","state":"PUBLISHED","title":"mmc: uniphier-sd: Fix a resource leak in the remove function","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: uniphier-sd: Fix a resource leak in the remove function\n\nA 'tmio_mmc_host_free()' call is missing in the remove function, in order\nto balance a 'tmio_mmc_host_alloc()' call in the probe.\nThis is done in the error handling path of the probe, but not in the remove\nfunction.\n\nAdd the missing call.","publishedAt":"2024-02-27T18:47:01.169Z","updatedAt":"2026-05-11T13:45:17.857Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"0d8941b9b2d3e7b3481fdf43b1a6189d162175b7","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"25ac6ce65f1ab458982d15ec1caf441acd37106a","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"ebe0f12cf4c044f812c6d17011531582f9ac8bb3","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"d6e7fda496978f2763413b5523557b38dc2bf6c2","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"e29c84857e2d51aa017ce04284b962742fb97d9e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mmc/host/uniphier-sd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.118","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.36","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.20","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.3","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mmc/host/uniphier-sd.c"]}],"references":["https://git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7","https://git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a","https://git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3","https://git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2","https://git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:16.371Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/46xxx/CVE-2021-46962.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-46962","state":"PUBLISHED","datePublished":"2024-02-27T18:47:01.169Z","dateUpdated":"2026-05-11T13:45:17.857Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-27T18:42:55.942Z"},"containers":{"cna":{"title":"mmc: uniphier-sd: Fix a resource leak in the remove function","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: uniphier-sd: Fix a resource leak in the remove function\n\nA 'tmio_mmc_host_free()' call is missing in the remove function, in order\nto balance a 'tmio_mmc_host_alloc()' call in the probe.\nThis is done in the error handling path of the probe, but not in the remove\nfunction.\n\nAdd the missing call."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"0d8941b9b2d3e7b3481fdf43b1a6189d162175b7","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"25ac6ce65f1ab458982d15ec1caf441acd37106a","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"ebe0f12cf4c044f812c6d17011531582f9ac8bb3","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"d6e7fda496978f2763413b5523557b38dc2bf6c2","versionType":"git"},{"version":"3fd784f745dd1747863775a99ec749619ee6759c","status":"affected","lessThan":"e29c84857e2d51aa017ce04284b962742fb97d9e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mmc/host/uniphier-sd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.118","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.36","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.11.20","status":"unaffected","lessThanOrEqual":"5.11.*","versionType":"semver"},{"version":"5.12.3","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mmc/host/uniphier-sd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7"},{"url":"https://git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a"},{"url":"https://git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3"},{"url":"https://git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2"},{"url":"https://git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:45:17.857Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.10.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.11.20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.12.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-46962","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-05T20:16:05.784060Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:13:10.391Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:17:42.992Z"}}]}}}