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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-25T09:16:22.993Z
- Modified: 2026-06-17T04:16:49.533Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d0cad871703b898a442e4049c532ec39168e5b57 before 200dbfcad8011e50c3cec269ed7b980836eeb1fa; from d0cad871703b898a442e4049c532ec39168e5b57 before 22c840596af0c09068b6cf948616e6496e59e07f; from d0cad871703b898a442e4049c532ec39168e5b57 before 9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc; from d0cad871703b898a442e4049c532ec39168e5b57 before 9e6a3eccb28779710cbbafc4f4258d92509c6d07; from d0cad871703b898a442e4049c532ec39168e5b57 before b95fb96e6339e34694dd578fb6bde3575b01af17; from d0cad871703b898a442e4049c532ec39168e5b57 before 635ac38b36255d3cfb8312cf7c471334f4d537e0; from d0cad871703b898a442e4049c532ec39168e5b57 before 70c886ac93f87ae7214a0c69151a28a8075dd95b; from d0cad871703b898a442e4049c532ec39168e5b57 before 46a8b29c6306d8bbfd92b614ef65a47c900d8e70; 2.6.34 (not affected: before 2.6.34; from 4.4.271 up to 4.4.*; from 4.9.271 up to 4.9.*; from 4.14.235 up to 4.14.*; from 4.19.193 up to 4.19.*; from 5.4.124 up to 5.4.*; from 5.10.42 up to 5.10.*; from 5.12.9 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 2.6.34 before 4.4.271; from 4.5 before 4.9.271; from 4.10 before 4.14.235; from 4.15 before 4.19.193; from 4.20 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9

## References

- <https://git.kernel.org/stable/c/200dbfcad8011e50c3cec269ed7b980836eeb1fa> (patch)
- <https://git.kernel.org/stable/c/22c840596af0c09068b6cf948616e6496e59e07f> (patch)
- <https://git.kernel.org/stable/c/9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc> (patch)
- <https://git.kernel.org/stable/c/9e6a3eccb28779710cbbafc4f4258d92509c6d07> (patch)
- <https://git.kernel.org/stable/c/b95fb96e6339e34694dd578fb6bde3575b01af17> (patch)
- <https://git.kernel.org/stable/c/635ac38b36255d3cfb8312cf7c471334f4d537e0> (patch)
- <https://git.kernel.org/stable/c/70c886ac93f87ae7214a0c69151a28a8075dd95b> (patch)
- <https://git.kernel.org/stable/c/46a8b29c6306d8bbfd92b614ef65a47c900d8e70> (patch)

## Sources

- CVE List: [CVE-2021-47171](https://www.cve.org/CVERecord?id=CVE-2021-47171), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47171](https://nvd.nist.gov/vuln/detail/CVE-2021-47171), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47171 · Whole record: https://cve.day/CVE-2021-47171.json · Rebuilt by cve.day 2026-11-25T22:58:08.698Z
