CVE-2021-47171
net: usb: fix memory leak in smsc75xx_bind
Reported by linux · Published March 25, 2024
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.238-182.421.amzn2 |
| Linux | Linux | b95fb96e6339e34694dd578fb6bde3575b01af17, 9e6a3eccb28779710cbbafc4f4258d92509c6d07, 70c886ac93f87ae7214a0c69151a28a8075dd95b, 635ac38b36255d3cfb8312cf7c471334f4d537e0, 46a8b29c6306d8bbfd92b614ef65a47c900d8e70, 22c840596af0c09068b6cf948616e6496e59e07f |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d0cad871703b898a442e4049c532ec39168e5b57, d0cad871703b898a442e4049c532ec39168e5b57, d0cad871703b898a442e4049c532ec39168e5b57 |
| Linux | Linux | 2.6.34, 0, 4.4.271 |
| amazon:2 | kernel-tools | 0 |
| Linux | Linux | *, 4.9.271, 4.14.235 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | python-perf | 0 |
| linux | linux_kernel | 2.6.34, 2.6.34, 2.6.34 |
| amazon:2 | kernel-livepatch-4.14.238-182.421 | 0 |
| amazon:2 | kernel | 0 |
Timeline
- Mar 25, 2024 CVE Published
- Mar 26, 2024 EPSS Score (30 in total, the first dated here)
- May 11, 2026 CVE Updated
- Jun 2, 2026 Security Advisory (63 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47171
vulnetix vdb fixes CVE-2021-47171
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47171/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart