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.
Affected versions
Linux kernel versions
4.19.296,
5.4.258,
5.10.198,
5.15.135,
6.1.57,
4.14.327,
6.5.7,
6.6
and later are affected. Fixed in
4.19.308,
5.4.270,
5.10.211,
5.15.150,
6.1.80,
6.6.19,
6.7.7,
6.8
and their respective stable series.
References
10 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
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 . It affects Linux kernel versions from 4.19.296 onward and has been patched in 4.19.308, 5.4.270, 5.10.211 and others. 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?
Yes. CVE-2024-26752 has been patched. Fixed versions include 4.19.308, 5.4.270, 5.10.211 and others. If you are running Linux kernel 4.19.296 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
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.