Notice Score pending
Linux kernel IPv4 forwarding and GRE IPv6 delivery flaws
A Linux router can be tricked by fake messages into cutting off devices behind it.
- First seen
—
Products
Mitigation
No source names a fixed version yet. Patches have been posted to the netdev mailing list. On routers, add an nft rule dropping frag-needed ICMP with MTU below 552 on input, or set net.ipv4.route.min_pmtu=68.
Can't update yet?
Add this line to the config file:
sysctl net.ipv4.route.min_pmtu=68
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
A forged ICMP path MTU signal can make a Linux router drop large DF packets forwarded to hosts behind it. IPv6 packets sent over a GRE tunnel with an MTU below 1280 are silently dropped.
Affected when
- Linux kernel 4.16 or later, with IPv4 forwarding on the device
- Router input path accepts unsolicited destination-unreachable ICMP from outside
- IPv6 carried over a GRE tunnel with tunnel MTU below 1280
Incidents by product: Linux kernel