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

Published Mar 25, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: usb: fix memory leak in smsc75xxbind

Syzbot reported memory leak in smsc75xxbind(). 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>] smsc75xxbind+0x7a/0x334 drivers/net/usb/smsc75xx.c:1460 [<ffffffff82b5b2e6>] usbnetprobe+0x3b6/0xc30 drivers/net/usb/usbnet.c:1728

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net: usb: fix memory leak in smsc75xxbind

The Linux kernel CVE team has assigned CVE-2021-47171 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024032536-CVE-2021-47171-f223@gregkh/T

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a memory leak in smsc75xxbind. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

19 affected componentsFixes available
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 Linux kernel>=2.6.34<4.4.271
Linux Linux kernel>=4.5<4.9.271
Linux Linux kernel>=4.10<4.14.235
Linux Linux kernel>=4.15<4.19.193
Linux Linux kernel>=4.20<5.4.124
Linux Linux kernel>=5.5<5.10.42
Linux Linux kernel>=5.11<5.12.9
IBM Security Verify Governance<=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

Event History

Mar 25, 2024
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
Description
Data Sourced
via Red Hat·05:38 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203