# CVE-2021-46962: mmc: uniphier-sd: Fix a resource leak in the remove function

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-27T18:47:01.169Z
- Modified: 2026-06-17T04:16:00.063Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mmc: uniphier-sd: Fix a resource leak in the remove function

A 'tmio_mmc_host_free()' call is missing in the remove function, in order
to balance a 'tmio_mmc_host_alloc()' call in the probe.
This is done in the error handling path of the probe, but not in the remove
function.

Add the missing call.

(As written by CVE List.)

## Affected

- Linux Linux: from 3fd784f745dd1747863775a99ec749619ee6759c before 0d8941b9b2d3e7b3481fdf43b1a6189d162175b7; from 3fd784f745dd1747863775a99ec749619ee6759c before 25ac6ce65f1ab458982d15ec1caf441acd37106a; from 3fd784f745dd1747863775a99ec749619ee6759c before ebe0f12cf4c044f812c6d17011531582f9ac8bb3; from 3fd784f745dd1747863775a99ec749619ee6759c before d6e7fda496978f2763413b5523557b38dc2bf6c2; from 3fd784f745dd1747863775a99ec749619ee6759c before e29c84857e2d51aa017ce04284b962742fb97d9e; 4.20 (not affected: before 4.20; from 5.4.118 up to 5.4.*; from 5.10.36 up to 5.10.*; from 5.11.20 up to 5.11.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.20 before 5.4.118; from 5.5 before 5.10.36; from 5.11 before 5.11.20; from 5.12 before 5.12.3

## References

- <https://git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7> (patch)
- <https://git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a> (patch)
- <https://git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3> (patch)
- <https://git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2> (patch)
- <https://git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e> (patch)

## Sources

- CVE List: [CVE-2021-46962](https://www.cve.org/CVERecord?id=CVE-2021-46962), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46962](https://nvd.nist.gov/vuln/detail/CVE-2021-46962), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46962 · Whole record: https://cve.day/CVE-2021-46962.json · Rebuilt by cve.day 2026-11-25T22:58:08.589Z
