CVE-2021-46962

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

MEDIUM
5.5
CVSS Score
Published: February 27, 2024 at 06:47 PM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.10.364.20 ≤ v < 5.11.204.20 ≤ v < 5.12.34.20 ≤ v < 5.134.20 ≤ v < 5.4.1185.11 ≤ v < 5.11.205.12 ≤ v < 5.12.35.5 ≤ v < 5.10.363fd784f745dd1747863775a99ec749619ee6759c4.20
Vendor states this is fixed in 0d8941b9b2d3e7b3481fdf43b1a6189d162175b7 (fixed)
Vendor states this is fixed in 25ac6ce65f1ab458982d15ec1caf441acd37106a (fixed)
Vendor states this is fixed in d6e7fda496978f2763413b5523557b38dc2bf6c2 (fixed)
Vendor states this is fixed in e29c84857e2d51aa017ce04284b962742fb97d9e (fixed)
Vendor states this is fixed in ebe0f12cf4c044f812c6d17011531582f9ac8bb3 (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.36 (unaffected)
Vendor states this is fixed in 5.11.20 (unaffected)
Vendor states this is fixed in 5.12.3 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.118 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d8941b9b2d3e7b3481fdf43b1a6189d162175b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/25ac6ce65f1ab458982d15ec1caf441acd37106a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d6e7fda496978f2763413b5523557b38dc2bf6c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e29c84857e2d51aa017ce04284b962742fb97d9e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ebe0f12cf4c044f812c6d17011531582f9ac8bb3

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card