CVE-2021-47071

uio_hv_generic: Fix a memory leak in error handling paths

MEDIUM
5.5
CVSS Score
Published: March 1, 2024 at 09:15 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: uio_hv_generic: Fix a memory leak in error handling paths If 'vmbus_establish_gpadl()' fails, the (recv|send)_gpadl will not be updated and 'hv_uio_cleanup()' in the error handling path will not be able to free the corresponding buffer. In such a case, we need to free the buffer explicitly.

Affected

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

4.20 ≤ v < 5.10.404.20 ≤ v < 5.12.74.20 ≤ v < 5.134.20 ≤ v < 5.4.1225.11 ≤ v < 5.12.75.5 ≤ v < 5.10.405.13 rc15.13 rc2cdfa835c6e5e87d145f9f632b58843de97509f2b
Vendor states this is fixed in 3ee098f96b8b6c1a98f7f97915f8873164e6af9d (fixed)
Vendor states this is fixed in 53486c467e356e06aa37047c984fccd64d78c827 (fixed)
Vendor states this is fixed in cdd91637d4ef33e2be19a8e16e72e7d00c996d76 (fixed)
Vendor states this is fixed in d84b5e912212b05f6b5bde9f682046accfbe0354 (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.40 (unaffected)
Vendor states this is fixed in 5.12.7 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.122 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ee098f96b8b6c1a98f7f97915f8873164e6af9d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/53486c467e356e06aa37047c984fccd64d78c827
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdd91637d4ef33e2be19a8e16e72e7d00c996d76
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d84b5e912212b05f6b5bde9f682046accfbe0354

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
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

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