CVE-2024-26752
l2tp: pass correct message length to ip6_append_data
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 559d697c5d072593d22b3e0bd8b8081108aeaf59, < 4c3ce64bc9d36ca9164dd6c77ff144c121011aae; >= 1fc793d68d50dee4782ef2e808913d5dd880bcc6, < c1d3a84a67db910ce28a871273c992c3d7f9efb5; >= 96b2e1090397217839fcd6c9b6d8f5d439e705ed, < dcb4d14268595065c85dc5528056713928e17243; >= cd1189956393bf850b2e275e37411855d3bd86bb, < 0da15a70395182ee8cb75716baf00dddc0bea38d; >= f6a7182179c0ed788e3755ee2ed18c888ddcc33f, < 13cd1daeea848614e585b2c6ecc11ca9c8ab2500; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 804bd8650a3a2bf3432375f8c97d5049d845ce56; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 83340c66b498e49353530e41542500fc8a4782d6; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79; 7626b9fed53092aa2147978070e610ecb61af844; fe80658c08e3001c80c5533cd41abfbb0e0e28fd; …
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= 559d697c5d072593d22b3e0bd8b8081108aeaf59, < 4c3ce64bc9d36ca9164dd6c77ff144c121011aae; >= 1fc793d68d50dee4782ef2e808913d5dd880bcc6, < c1d3a84a67db910ce28a871273c992c3d7f9efb5; >= 96b2e1090397217839fcd6c9b6d8f5d439e705ed, < dcb4d14268595065c85dc5528056713928e17243; >= cd1189956393bf850b2e275e37411855d3bd86bb, < 0da15a70395182ee8cb75716baf00dddc0bea38d; >= f6a7182179c0ed788e3755ee2ed18c888ddcc33f, < 13cd1daeea848614e585b2c6ecc11ca9c8ab2500; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 804bd8650a3a2bf3432375f8c97d5049d845ce56; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 83340c66b498e49353530e41542500fc8a4782d6; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79; 7626b9fed53092aa2147978070e610ecb61af844; fe80658c08e3001c80c5533cd41abfbb0e0e28fd; …; Linux 6.6
- Fixed in
- Linux 4c3ce64bc9d36ca9164dd6c77ff144c121011aae, Linux 0da15a70395182ee8cb75716baf00dddc0bea38d, Linux 13cd1daeea848614e585b2c6ecc11ca9c8ab2500, Linux 804bd8650a3a2bf3432375f8c97d5049d845ce56, Linux 83340c66b498e49353530e41542500fc8a4782d6, Linux 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-131
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: l2tp: pass correct message length to ip6_append_data l2tp_ip6_sendmsg needs to avoid accounting for the transport header twice when splicing more data into an already partially-occupied skbuff. To manage this, we check whether the skbuff contains data using skb_queue_empty when deciding how much data to append using ip6_append_data. However, the code which performed the calculation was incorrect: ulen = len + skb_queue_empty(&sk->sk_write_queue) ? transhdrlen : 0; ...due to C operator precedence, this ends up setting ulen to transhdrlen for messages with a non-zero length, which results in corrupted packets on the wire. Add parentheses to correct the calculation in line with the original intent.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 559d697c5d072593d22b3e0bd8b8081108aeaf59, < 4c3ce64bc9d36ca9164dd6c77ff144c121011aae; >= 1fc793d68d50dee4782ef2e808913d5dd880bcc6, < c1d3a84a67db910ce28a871273c992c3d7f9efb5; >= 96b2e1090397217839fcd6c9b6d8f5d439e705ed, < dcb4d14268595065c85dc5528056713928e17243; >= cd1189956393bf850b2e275e37411855d3bd86bb, < 0da15a70395182ee8cb75716baf00dddc0bea38d; >= f6a7182179c0ed788e3755ee2ed18c888ddcc33f, < 13cd1daeea848614e585b2c6ecc11ca9c8ab2500; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 804bd8650a3a2bf3432375f8c97d5049d845ce56; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 83340c66b498e49353530e41542500fc8a4782d6; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79; 7626b9fed53092aa2147978070e610ecb61af844; fe80658c08e3001c80c5533cd41abfbb0e0e28fd; … | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26752. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26752.md Affected: Linux >= 559d697c5d072593d22b3e0bd8b8081108aeaf59, < 4c3ce64bc9d36ca9164dd6c77ff144c121011aae; >= 1fc793d68d50dee4782ef2e808913d5dd880bcc6, < c1d3a84a67db910ce28a871273c992c3d7f9efb5; >= 96b2e1090397217839fcd6c9b6d8f5d439e705ed, < dcb4d14268595065c85dc5528056713928e17243; >= cd1189956393bf850b2e275… Fixed in: Linux 4c3ce64bc9d36ca9164dd6c77ff144c121011aae, Linux 0da15a70395182ee8cb75716baf00dddc0bea38d, Linux 13cd1daeea848614e585b2c6ecc11ca9c8ab2500, Linux 804bd8650a3a2bf3432375f8c97d5049d845ce56, Linux 83340c66b498e49353530e41542500fc8a4782d6, Linux 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4c3ce64bc9d36ca9164dd6c77ff144c121011aae
- https://git.kernel.org/stable/c/c1d3a84a67db910ce28a871273c992c3d7f9efb5
- https://git.kernel.org/stable/c/dcb4d14268595065c85dc5528056713928e17243
- https://git.kernel.org/stable/c/0da15a70395182ee8cb75716baf00dddc0bea38d
- https://git.kernel.org/stable/c/13cd1daeea848614e585b2c6ecc11ca9c8ab2500
- https://git.kernel.org/stable/c/804bd8650a3a2bf3432375f8c97d5049d845ce56
- https://git.kernel.org/stable/c/83340c66b498e49353530e41542500fc8a4782d6
- https://git.kernel.org/stable/c/359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79
FAQ
Is CVE-2024-26752 being exploited?
There is no confirmed exploitation: CVE-2024-26752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26752?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26752?
Linux >= 559d697c5d072593d22b3e0bd8b8081108aeaf59, < 4c3ce64bc9d36ca9164dd6c77ff144c121011aae; >= 1fc793d68d50dee4782ef2e808913d5dd880bcc6, < c1d3a84a67db910ce28a871273c992c3d7f9efb5; >= 96b2e1090397217839fcd6c9b6d8f5d439e705ed, < dcb4d14268595065c85dc5528056713928e17243; >= cd1189956393bf850b2e275e37411855d3bd86bb, < 0da15a70395182ee8cb75716baf00dddc0bea38d; >= f6a7182179c0ed788e3755ee2ed18c888ddcc33f, < 13cd1daeea848614e585b2c6ecc11ca9c8ab2500; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 804bd8650a3a2bf3432375f8c97d5049d845ce56; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 83340c66b498e49353530e41542500fc8a4782d6; >= 9d4c75800f61e5d75c1659ba201b6c0c7ead3070, < 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79; 7626b9fed53092aa2147978070e610ecb61af844; fe80658c08e3001c80c5533cd41abfbb0e0e28fd; …; Linux 6.6.
Is there a fix for CVE-2024-26752?
Yes. Fixed in Linux 4c3ce64bc9d36ca9164dd6c77ff144c121011aae, Linux 0da15a70395182ee8cb75716baf00dddc0bea38d, Linux 13cd1daeea848614e585b2c6ecc11ca9c8ab2500, Linux 804bd8650a3a2bf3432375f8c97d5049d845ce56, Linux 83340c66b498e49353530e41542500fc8a4782d6, Linux 359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26752?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.