Skip to content
Fencer Vulns
medium 5.5

CVE-2024-26752 json

l2tp: pass correct message length to ip6_append_data

published 2024-04-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-24014

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 16%
public exploits
0
none known

Summary

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.

Patch / fix

  • Linux Linux 4.15, 4.19.308, 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6, 6.6.19, 6.7.7, 6.8
  • linux Debian 12 6.1.82-1
  • linux Debian 14, Debian 13 6.7.7-1

debian advisories DEBIAN-CVE-2024-26752

  • linux Ubuntu 20.04 LTS 5.4.0-186.206
  • linux Ubuntu 22.04 LTS 5.15.0-112.122
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1126.136
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1063.69
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1130.139
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1062.70
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1060.66
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1073.78

ubuntu advisories UBUNTU-CVE-2024-26752

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.219.1
  • kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.219.1
  • kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.219.1
  • kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.219.1
  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.188.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.188.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.188.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.188.1

suse advisories SUSE-SU-2024:2184-1SUSE-SU-2024:1983-1SUSE-SU-2024:1979-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-26752 updated cvss 5.5

kernel: l2tp: pass correct message length to ip6_append_data

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-226-15 updated

Siemens SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
    not affected

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Weakness
  • CWE-131 Incorrect Calculation of Buffer Size
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.