CVE-2022-49727Published Feb 26, 2025 · Feb 26Updated Oct 28
ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a32e0eec7042b21ccb52896cf715e3e2641fed93 · < 27a37755ceb401111ded76810359d3adc4b268a1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's l2tp_ip6_sendmsg has a signed integer overflow when the message length is at least INT_MAX minus the transport header length. The input does not specify the resulting attacker impact, access requirements, or whether user interaction is needed.
Engineers running Linux kernels should check whether their kernel includes the fix; affected versions are not specified.