CVE-2021-46962: mmc: uniphier-sd: Fix a resource leak in the remove function
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.
Security readout for executives and security teams
Plain-English summary
CVE-2021-46962 is a Linux kernel resource leak in the UniPhier SD/MMC driver. The public record says the driver allocates host resources during probe but failed to free them during removal. The business risk appears limited unless affected kernels run this driver on relevant systems.
Executive priority
Treat this as routine kernel hygiene unless affected embedded platforms use this driver. It should be remediated through normal kernel update cycles, with higher attention only for products relying on UniPhier SD/MMC hardware.
Technical view
The Linux kernel uniphier-sd MMC driver missed a tmio_mmc_host_free() call in its remove function, leaving tmio_mmc_host_alloc() from probe unbalanced. Kernel stable commits add the missing cleanup. The CVE record provides no CVSS, CWE, or detailed impact statement.
Likely exposure
Most exposure is likely in Linux systems that include and use the UniPhier SD/MMC driver, especially embedded or platform-specific deployments. Generic Linux servers are less likely exposed unless this driver is present. Confirm kernel branch, vendor backport status, and driver usage.
Exploitation context
The provided sources do not report active exploitation, and KEV is false. The described condition is a cleanup-path resource leak during driver removal, not a remotely reachable flaw in the public evidence. Practical impact is unclear from the source bundle.
Researcher notes
Evidence is narrow: a missing free in the remove path and stable commits adding it. The source bundle does not establish privilege requirements, attack complexity, confidentiality impact, or exploitability. Validation should focus on driver presence and patch provenance.
Mitigation direction
Apply a vendor kernel update containing the referenced stable fix.
Confirm the fix is backported for affected kernel branches in use.
Prioritize systems using UniPhier SD/MMC hardware or images.
If no vendor patch is available, track Linux stable guidance.
Validation and detection
Inventory affected Linux kernel versions and vendor build identifiers.
Check whether the uniphier-sd driver is built, packaged, or loaded.
Verify kernel changelogs include the referenced cleanup fix.
Regression test driver removal on representative hardware where applicable.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-46962 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.