A vulnerability in the Linux kernel's segment routing for IPv6 (seg6) affects the handling of transport headers for inner IPv4 packets with IP options. The transport header was incorrectly set at a fixed 20-byte offset, ignoring variable IPv4 header lengths due to options, causing checksum errors, incorrect packet filtering, and potential out-of-bounds memory writes. The issue is fixed by validating the IPv4 header length and adjusting the transport header accordingly.