CVE-2021-47150

net: fec: fix the potential memory leak in fec_enet_init()

MEDIUM
5.5
CVSS Score
Published: March 25, 2024 at 09:07 AM 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: fec: fix the potential memory leak in fec_enet_init() If the memory allocated for cbd_base is failed, it should free the memory allocated for the queues, otherwise it causes memory leak. And if the memory allocated for the queues is failed, it can return error directly.

Affected

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

3.18 ≤ v < 4.19.1933.18 ≤ v < 5.10.423.18 ≤ v < 5.12.93.18 ≤ v < 5.133.18 ≤ v < 5.4.1244.20 ≤ v < 5.4.1245.11 ≤ v < 5.12.95.5 ≤ v < 5.10.425.13 rc15.13 rc25.13 rc359d0f746564495c7f54526674deabfcf101236a1
Vendor states this is fixed in 15102886bc8f5f29daaadf2d925591d564c17e9f (fixed)
Vendor states this is fixed in 20255d41ac560397b6a07d8d87dcc5e2efc7672a (fixed)
Vendor states this is fixed in 32a1777fd113335c3f70dc445dffee0ad1c6870f (fixed)
Vendor states this is fixed in 619fee9eb13b5d29e4267cb394645608088c28a8 (fixed)
Vendor states this is fixed in 8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd (fixed)
Vendor states this is fixed in 3.18 (unaffected)
Vendor states this is fixed in 4.19.193 (unaffected)
Vendor states this is fixed in 5.10.42 (unaffected)
Vendor states this is fixed in 5.12.9 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.124 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/15102886bc8f5f29daaadf2d925591d564c17e9f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/20255d41ac560397b6a07d8d87dcc5e2efc7672a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/32a1777fd113335c3f70dc445dffee0ad1c6870f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/619fee9eb13b5d29e4267cb394645608088c28a8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd

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