CVE-2021-47171

net: usb: fix memory leak in smsc75xx_bind

No CVSS score yet EPSS 0.24%

Published 25 Mar 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47171

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47171 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 200dbfcad8011e50c3cec269ed7b980836eeb1fa
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 22c840596af0c09068b6cf948616e6496e59e07f
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 9e6a3eccb28779710cbbafc4f4258d92509c6d07
affected from d0cad871703b898a442e4049c532ec39168e5b57, before b95fb96e6339e34694dd578fb6bde3575b01af17
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 635ac38b36255d3cfb8312cf7c471334f4d537e0
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 70c886ac93f87ae7214a0c69151a28a8075dd95b
affected from d0cad871703b898a442e4049c532ec39168e5b57, before 46a8b29c6306d8bbfd92b614ef65a47c900d8e70
Other versions: unaffected
Linux
affected 2.6.34
unaffected before 2.6.34
unaffected from 4.4.271 up to and including 4.4.*
unaffected from 4.9.271 up to and including 4.9.*
unaffected from 4.14.235 up to and including 4.14.*
unaffected from 4.19.193 up to and including 4.19.*
unaffected from 5.4.124 up to and including 5.4.*
unaffected from 5.10.42 up to and including 5.10.*
unaffected from 5.12.9 up to and including 5.12.*
unaffected 5.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47171 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47171

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47171
trivy image --scanners vuln IMAGE | grep CVE-2021-47171

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47171 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.