Name | CVE-2024-26752 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3840-1, DLA-3842-1, DSA-5681-1, ELA-1093-1, ELA-1116-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | vulnerable | |
stretch (lts), stretch | 4.9.320-3 | vulnerable | |
buster (security), buster, buster (lts) | 4.19.316-1 | fixed | |
bullseye | 5.10.223-1 | fixed | |
bullseye (security) | 5.10.226-1 | fixed | |
bookworm | 6.1.115-1 | fixed | |
bookworm (security) | 6.1.112-1 | fixed | |
trixie | 6.11.7-1 | fixed | |
sid | 6.11.9-1 | fixed | |
linux-4.19 (PTS) | jessie, jessie (lts) | 4.19.316-1~deb8u1 | fixed |
stretch (security) | 4.19.232-1~deb9u1 | vulnerable | |
stretch (lts), stretch | 4.19.316-1~deb9u1 | fixed | |
linux-5.10 (PTS) | jessie, jessie (lts) | 5.10.226-1~deb8u1 | fixed |
stretch (lts), stretch | 5.10.226-1~deb9u1 | fixed | |
buster, buster (lts) | 5.10.226-1~deb10u1 | fixed | |
buster (security) | 5.10.218-1~deb10u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | stretch | (unfixed) | end-of-life | ||
linux | source | buster | 4.19.316-1 | DLA-3840-1 | ||
linux | source | bullseye | 5.10.216-1 | DSA-5681-1 | ||
linux | source | bookworm | 6.1.82-1 | |||
linux | source | (unstable) | 6.7.7-1 | |||
linux-4.19 | source | jessie | 4.19.316-1~deb8u1 | ELA-1116-1 | ||
linux-4.19 | source | stretch | 4.19.316-1~deb9u1 | ELA-1116-1 | ||
linux-5.10 | source | jessie | 5.10.216-1~deb8u1 | ELA-1093-1 | ||
linux-5.10 | source | stretch | 5.10.216-1~deb9u1 | ELA-1093-1 | ||
linux-5.10 | source | buster | 5.10.216-1~deb10u1 | DLA-3842-1 |
https://git.kernel.org/linus/359e54a93ab43d32ee1bff3c2f9f10cb9f6b6e79 (6.8-rc6)