CWE
401
Advisory Published
Updated

CVE-2021-47171: net: usb: fix memory leak in smsc75xx_bind

First published: Mon Mar 25 2024(Updated: )

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

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
redhat/kernel<4.4.271
4.4.271
redhat/kernel<4.9.271
4.9.271
redhat/kernel<4.14.235
4.14.235
redhat/kernel<4.19.193
4.19.193
redhat/kernel<5.4.124
5.4.124
redhat/kernel<5.10.42
5.10.42
redhat/kernel<5.12.9
5.12.9
redhat/kernel<5.13
5.13
Linux Kernel>=2.6.34<4.4.271
Linux Kernel>=4.5<4.9.271
Linux Kernel>=4.10<4.14.235
Linux Kernel>=4.15<4.19.193
Linux Kernel>=4.20<5.4.124
Linux Kernel>=5.5<5.10.42
Linux Kernel>=5.11<5.12.9
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-47171?

    CVE-2021-47171 is classified as a medium severity vulnerability due to the risk of memory leak.

  • How do I fix CVE-2021-47171?

    To fix CVE-2021-47171, you should update to the patched kernel versions: 4.4.271, 4.9.271, 4.14.235, 4.19.193, 5.4.124, 5.10.42, 5.12.9, or 5.13.

  • What causes CVE-2021-47171?

    CVE-2021-47171 is caused by a memory leak in the smsc75xx_bind function due to non-freed memory during error conditions after allocation.

  • Which systems are affected by CVE-2021-47171?

    CVE-2021-47171 affects various versions of the Linux kernel ranging from 2.6.34 up to 5.13.

  • Is CVE-2021-47171 remotely exploitable?

    CVE-2021-47171 does not have direct indications of remote exploitation, but memory leaks can lead to degraded performance and stability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203