CVE-2021-47121

net: caif: fix memory leak in cfusbl_device_notify

MEDIUM
5.5
CVSS Score
Published: March 15, 2024 at 08:14 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: net: caif: fix memory leak in cfusbl_device_notify In case of caif_enroll_dev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error.

Affected

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

3.3 ≤ v < 4.14.2363.3 ≤ v < 4.19.1943.3 ≤ v < 4.4.2723.3 ≤ v < 4.9.2723.3 ≤ v < 5.10.433.3 ≤ v < 5.12.103.3 ≤ v < 5.133.3 ≤ v < 5.4.1254.10 ≤ v < 4.14.2364.15 ≤ v < 4.19.1944.20 ≤ v < 5.4.1254.5 ≤ v < 4.9.2725.11 ≤ v < 5.12.105.5 ≤ v < 5.10.435.13 rc15.13 rc25.13 rc35.13 rc47ad65bf68d705b445ef10b77ab50dab22be185ee
Vendor states this is fixed in 46403c1f80b0d3f937ff9c4f5edc63bb64bc5051 (fixed)
Vendor states this is fixed in 4d94f530cd24c85aede6e72b8923f371b45d6886 (fixed)
Vendor states this is fixed in 7f5d86669fa4d485523ddb1d212e0a2d90bd62bb (fixed)
Vendor states this is fixed in 81afc61cb6e2b553f2c5f992fa79e0ae73857141 (fixed)
Vendor states this is fixed in 9ea0ab48e755d8f29fe89eb235fb86176fdb597f (fixed)
Vendor states this is fixed in cc302e30a504e6b60a9ac8df7988646f46cd0294 (fixed)
Vendor states this is fixed in dde8686985ec24d6b00487080a906609bd613ea1 (fixed)
Vendor states this is fixed in e8b37f5009ea7095529790f022859711e6939c76 (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.236 (unaffected)
Vendor states this is fixed in 4.19.194 (unaffected)
Vendor states this is fixed in 4.4.272 (unaffected)
Vendor states this is fixed in 4.9.272 (unaffected)
Vendor states this is fixed in 5.10.43 (unaffected)
Vendor states this is fixed in 5.12.10 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.125 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46403c1f80b0d3f937ff9c4f5edc63bb64bc5051
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4d94f530cd24c85aede6e72b8923f371b45d6886
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7f5d86669fa4d485523ddb1d212e0a2d90bd62bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81afc61cb6e2b553f2c5f992fa79e0ae73857141
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9ea0ab48e755d8f29fe89eb235fb86176fdb597f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cc302e30a504e6b60a9ac8df7988646f46cd0294
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dde8686985ec24d6b00487080a906609bd613ea1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e8b37f5009ea7095529790f022859711e6939c76

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