The kernel is responsible for decoding the IPv6 header and optional extension headers for traffic destined to the routing engine. An error in the kernel’s parsing of these headers may result in a kernel crash, causing a system reboot. Please see PR/32427 for more details.
Software changes made for another problem report, PR/30790, implemented stricter sanity checking on IPv6 headers before they are parsed. This change in PR/30790 also prevents the type of kernel crash described in PR/32427.
Customers using IPv6 are encouraged to upgrade to a JUNOS software release built after January 6, 2003 (JUNOS 5.5R3 or later, or JUNOS 5.6R2 or later) For customers who are unable to upgrade their JUNOS software, a temporary workaround is to filter IPv6 packets that have an extension header or have a header with a next-header value of 0x29. The following filter blocks packets with these headers.
filter ipv6_hostprotect { term discard_0x29_and_ext_headers { from { next-header [ ah esp dstopts fragment hop-by-hop routing 0x29 ]; } then { count discard_0x29_and_ext_headers; discard; } } term <...> { ... } }