CVE-2021-46962

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

State
Published
Severity
Not scored
Published
Feb 27, 2024
Updated
May 11, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3fd784f745dd1747863775a99ec749619ee6759c to before 0d8941b9b2d3e7b3481fdf43b1a6189d162175b7Affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to before 25ac6ce65f1ab458982d15ec1caf441acd37106aAffected
  • 3fd784f745dd1747863775a99ec749619ee6759c to before ebe0f12cf4c044f812c6d17011531582f9ac8bb3Affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to before d6e7fda496978f2763413b5523557b38dc2bf6c2Affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to before e29c84857e2d51aa017ce04284b962742fb97d9eAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 5.4.118 through 5.4.*Not affected
  • 5.10.36 through 5.10.*Not affected
  • 5.11.20 through 5.11.*Not affected
  • 5.12.3 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.