net: usb: fix memory leak in smsc75xx_bind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d0cad871703b898a442e4049c532ec39168e5b57 · < 635ac38b36255d3cfb8312cf7c471334f4d537e0| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel's smsc75xx_bind() function can leak memory if an error occurs after allocation during USB network device binding. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Operators running the Linux kernel should check their affected versions; no version range is provided.