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
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
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

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.

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