llc: reserve device headroom for allocated frames
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bf9ae5386bca8836c16e69ab8fdbe46767d7452a · < e06f8b6e27cc616d3c587e9784c4a033eb310a16| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
llc: reserve device headroom for allocated frames
llc_alloc_frame() reserves link-layer headroom using the device type. This is insufficient for stacked Ethernet devices such as VLAN devices, where vlan_dev_hard_header() pushes a VLAN header before the lower device's Ethernet header. An LLC response on such a device can therefore underflow skb headroom in eth_header().
Use LL_RESERVED_SPACE() to account for the device's actual required headroom while preserving the existing LLC device-type check.
From the CVE record · Linux
The Linux kernel’s LLC frame allocation can reserve too little headroom on stacked Ethernet devices such as VLAN devices. When an LLC response is sent on such a device, adding the Ethernet header can underflow the packet buffer’s headroom. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels that send LLC responses through stacked Ethernet devices such as VLAN devices should check their systems; affected versions were not provided.