参考 スコア待ち
Linux kernel IPv4 forwarding and GRE IPv6 delivery flaws
A Linux router can be tricked by fake messages into cutting off devices behind it.
- 初確認
対処法
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.
すぐに更新できない場合:
設定ファイルにこの行を追加してください:
sysctl net.ipv4.route.min_pmtu=68
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
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.
該当する条件
- 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
製品別のインシデント: Linux kernel