CVE-2021-47171

net: usb: fix memory leak in smsc75xx_bind

MEDIUM
5.5
CVSS Score
Published: March 25, 2024 at 09:16 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: usb: fix memory leak in smsc75xx_bind Syzbot reported memory leak in smsc75xx_bind(). The problem was is non-freed memory in case of errors after memory allocation. backtrace: [<ffffffff84245b62>] kmalloc include/linux/slab.h:556 [inline] [<ffffffff84245b62>] kzalloc include/linux/slab.h:686 [inline] [<ffffffff84245b62>] smsc75xx_bind+0x7a/0x334 drivers/net/usb/smsc75xx.c:1460 [<ffffffff82b5b2e6>] usbnet_probe+0x3b6/0xc30 drivers/net/usb/usbnet.c:1728

Affected

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

2.6.34 ≤ v < 4.14.2352.6.34 ≤ v < 4.19.1932.6.34 ≤ v < 4.4.2712.6.34 ≤ v < 4.9.2712.6.34 ≤ v < 5.10.422.6.34 ≤ v < 5.12.92.6.34 ≤ v < 5.132.6.34 ≤ v < 5.4.1244.10 ≤ v < 4.14.2354.15 ≤ v < 4.19.1934.20 ≤ v < 5.4.1244.5 ≤ v < 4.9.2715.11 ≤ v < 5.12.95.5 ≤ v < 5.10.422.6.34d0cad871703b898a442e4049c532ec39168e5b57
Vendor states this is fixed in 200dbfcad8011e50c3cec269ed7b980836eeb1fa (fixed)
Vendor states this is fixed in 22c840596af0c09068b6cf948616e6496e59e07f (fixed)
Vendor states this is fixed in 46a8b29c6306d8bbfd92b614ef65a47c900d8e70 (fixed)
Vendor states this is fixed in 635ac38b36255d3cfb8312cf7c471334f4d537e0 (fixed)
Vendor states this is fixed in 70c886ac93f87ae7214a0c69151a28a8075dd95b (fixed)
Vendor states this is fixed in 9e6a3eccb28779710cbbafc4f4258d92509c6d07 (fixed)
Vendor states this is fixed in 9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc (fixed)
Vendor states this is fixed in b95fb96e6339e34694dd578fb6bde3575b01af17 (fixed)
Vendor states this is fixed in 2.6.34 (unaffected)
Vendor states this is fixed in 4.14.235 (unaffected)
Vendor states this is fixed in 4.19.193 (unaffected)
Vendor states this is fixed in 4.4.271 (unaffected)
Vendor states this is fixed in 4.9.271 (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 (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/200dbfcad8011e50c3cec269ed7b980836eeb1fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22c840596af0c09068b6cf948616e6496e59e07f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46a8b29c6306d8bbfd92b614ef65a47c900d8e70
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/635ac38b36255d3cfb8312cf7c471334f4d537e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/70c886ac93f87ae7214a0c69151a28a8075dd95b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e6a3eccb28779710cbbafc4f4258d92509c6d07
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b95fb96e6339e34694dd578fb6bde3575b01af17

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

StatusMODIFIED
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