CVE-2024-26752
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-131CVE-2024-26752 is classified as CWE-131
See CWE-131 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2024-26752 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List
-
Mailing List
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0da15a70395182ee8cb75716baf00dddc0bea38d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/13cd1daeea848614e585b2c6ecc11ca9c8ab2500
-
PatchKernel patch commithttps://git.kernel.org/stable/c/359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79
Frequently asked questions
-
What is CVE-2024-26752?
CVE-2024-26752 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2024-26752 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-26752?
CVE-2024-26752 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-26752?
No patch is currently available for CVE-2024-26752. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-26752 actively exploited?
No — CVE-2024-26752 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.