net: usb: smsc95xx: Limit packet length to skb->len
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2f7ca802bdae2ca41022618391c70c2876d92190 · < e041bef1adee02999cf24f9a2e15ed452bc363fe| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: usb: smsc95xx: Limit packet length to skb->len
Packet length retrieved from descriptor may be larger than the actual socket buffer length. In such case the cloned skb passed up the network stack will leak kernel memory contents.
From the CVE record · Linux
The Linux kernel’s smsc95xx USB networking code may trust a packet length from a descriptor that exceeds the actual socket buffer length. This can expose kernel memory through a cloned packet passed up the network stack; the input does not specify attacker access or interaction requirements.
Engineers running Linux kernels with the smsc95xx USB networking driver should check their versions; affected versions are not specified.