CVE-2021-47122

net: caif: fix memory leak in caif_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 caif_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 rc47c18d2205ea76eef9674e59e1ecae4f332a53e9e
Vendor states this is fixed in 3be863c11cab725add9fef4237ed4e232c3fc3bb (fixed)
Vendor states this is fixed in 4bca2034b41c15b62d47a19158bb76235fd4455d (fixed)
Vendor states this is fixed in 6a0e317f61094d377335547e015dd2ff12caf893 (fixed)
Vendor states this is fixed in 9348c1f10932f13b299cbc8b1bd5f780751fae49 (fixed)
Vendor states this is fixed in af2806345a37313f01b1c9f15e046745b8ee2daa (fixed)
Vendor states this is fixed in b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8 (fixed)
Vendor states this is fixed in b53558a950a89824938e9811eddfc8efcd94e1bb (fixed)
Vendor states this is fixed in f52f4fd67264c70cd0b4ba326962ebe12d9cba94 (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/3be863c11cab725add9fef4237ed4e232c3fc3bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4bca2034b41c15b62d47a19158bb76235fd4455d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a0e317f61094d377335547e015dd2ff12caf893
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9348c1f10932f13b299cbc8b1bd5f780751fae49
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/af2806345a37313f01b1c9f15e046745b8ee2daa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b53558a950a89824938e9811eddfc8efcd94e1bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f52f4fd67264c70cd0b4ba326962ebe12d9cba94

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