mmc: uniphier-sd: Fix a resource leak in the remove function
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s uniphier-sd driver fails to free an MMC host when the device is removed, causing a resource leak. The input does not describe an attacker action or specify network or local access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the uniphier-sd driver should check their versions; affected versions are not specified.