net: bcmgenet: Add a check for oversized packets
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1c1008c793fa46703a2fee469f4235e1c7984333 · < 5f56767fb5f2df875b6553e08dbec6a45431c988| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: bcmgenet: Add a check for oversized packets
Occasionnaly we may get oversized packets from the hardware which exceed the nomimal 2KiB buffer size we allocate SKBs with. Add an early check which drops the packet to avoid invoking skb_over_panic() and move on to processing the next packet.
From the CVE record · Linux
The Linux kernel’s bcmgenet driver can receive packets from hardware that exceed its nominal 2 KiB buffer size. Processing one of these packets can invoke skb_over_panic(); the input does not establish whether an attacker can cause this or specify authentication or user-interaction requirements.
Engineers running Linux systems that use the bcmgenet driver should check their kernel versions; affected versions are not specified.