Vulnerability record
macsec: reject frames that decapsulate into runt Ethernet frames
In the Linux kernel, the following vulnerability has been resolved:
macsec: reject frames that decapsulate into runt Ethernet frames
When an SCI is unknown and the C bit is clear, macsec_handle_frame() removes the SecTAG and the default ICV without checking how much of the frame remains. A short frame can therefore become an skb shorter than ETH_HLEN. eth_type_trans() cannot pull its Ethernet header, and a second stacked MACsec device can copy stale skb headroom into a packet delivered to a packet socket.
The matched-SCI path has a related hole: macsec_validate_skb() accepts a short_length…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources