What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.36, 5.11.20, 5.12.3, 5.4.118. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46962 or the next vulnerability affects your stack