In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg When len >= INT_MAX - transhdrlen, ulen = len + transhdrlen will be overflow. To fix, we can follow what udpv6 does and subtract the transhdrlen from the max.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2025022633-CVE-2022-49727-a010@gregkh/T