Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3fd784f745dd1747863775a99ec749619ee6759c to < 0d8941b9b2d3e7b3481fdf43b1a6189d162175b7affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to < 25ac6ce65f1ab458982d15ec1caf441acd37106aaffected
  • 3fd784f745dd1747863775a99ec749619ee6759c to < ebe0f12cf4c044f812c6d17011531582f9ac8bb3affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to < d6e7fda496978f2763413b5523557b38dc2bf6c2affected
  • 3fd784f745dd1747863775a99ec749619ee6759c to < e29c84857e2d51aa017ce04284b962742fb97d9eaffected

Linux Linux

Default version status: affected

  • 4.20affected
  • 0 to < 4.20unaffected
  • 5.4.118 to ≤ 5.4.*unaffected
  • 5.10.36 to ≤ 5.10.*unaffected
  • 5.11.20 to ≤ 5.11.*unaffected
  • 5.12.3 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References