AZL-118238: CVE-2026-143164 affecting package kernel 6.6.161.1-1
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, macsechandleframe() 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 ETHHLEN. ethtypetrans() 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: macsecvalidateskb() accepts a shortlength of one, so a frame that passes the existing length check can still become a 13-byte Ethernet frame.
Require enough bytes for the MACsec overhead and a complete Ethernet header before decapsulating an unknown-SCI frame. Apply the same bound in macsecvalidateskb(), using the selected SecY's ICV length, to cover the no-SA, synchronous-decrypt and asynchronous-decrypt delivery paths. Leave other unknown-SCI handling unchanged.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel MACsec handling, require enough bytes for the MACsec overhead and a complete Ethernet header before decapsulating an unknown-SCI frame. Apply the same minimum-length bound in macsec_validate_skb(), using the selected SecY’s ICV length, for the no-SA, synchronous-decrypt, and asynchronous-decrypt delivery paths.
Event History
Frequently Asked Questions
Which systems are most exposed to the stale-data disclosure path?
Systems using stacked MACsec devices are the relevant exposure case. The described disclosure occurs when a malformed frame is ultimately delivered to a packet socket after a second stacked MACsec device copies stale skb headroom.
What does an attacker need to send to trigger the affected processing?
The attacker needs to provide a short MACsec frame that decapsulates to less than a complete Ethernet header. This can occur for an unknown SCI with the C bit clear, or through the matched-SCI path when a short_length of one is accepted.