Description
In the Linux kernel, the following vulnerability has been resolved:
l2tp: snapshot sequencing state when building transmit headers
Updates to send_seq from netlink, PPP setsockopt and receive-side
negotiation race with packet transmission. The header length is updated
separately, while transmit reads both fields repeatedly without
synchronization.
For example, transmit can push a ten-byte L2TPv2 header, then a concurrent
writer clears send_seq before the header builder reads it. The builder
writes only six bytes, leaving four bytes of uninitialized skb headroom
in the outgoing packet. The reverse mismatch overwrites the beginning of
the payload. A later hdr_len read can also make the UDP length disagree
with the skb length.
KCSAN reported:
BUG: KCSAN: data-race in l2tp_session_set_header_len / l2tp_xmit_skb
write to 0xffff888100d0944a of 2 bytes by task 116 on cpu 1:
l2tp_session_set_header_len+0x81/0xc0
l2tp_nl_cmd_session_modify+0x122/0x2c0
genl_family_rcv_msg_doit+0x170/0x1d0
read to 0xffff888100d0944a of 2 bytes by task 115 on cpu 0:
l2tp_xmit_skb+0x9c/0xc80
pppol2tp_sendmsg+0x21c/0x2a0
__sys_sendto+0x28c/0x2a0
The bug can lead to leak kernel base address for KASLR bypass, the
corresponding reproducer can be provided per request.
Initialize hdr_len to the maximum header size and leave it unchanged
when sequencing is toggled. Snapshot send_seq once per packet and use
that snapshot for the actual header length and header construction,
including the sequence flag. Use the same length for headroom, the header
push and the UDP length. PPP callers can safely reserve the maximum size;
L2TPv3 header sizes do not depend on sequencing.
Make send_seq a separate bool so READ_ONCE() and WRITE_ONCE() can be used
without sharing a bitfield storage unit with other configuration flags.
Preserve the netlink attribute's existing low-bit truncation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <d06ae66516e1aaf023808912af6292aef09d46c3 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <0ed9402cb206eb5ed6e8529ab95352d8ee8b853b | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 6.18.65 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <db15f8541e9d968a06d1d5e500ac501dea93781b | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <be698ca27c77f831b8ac59cfb55d290cb5907033 | — |
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <56df5e2ffc79a24842c6ee2b690e9806f303e68d | — |
| Linux | Linux | 2.6.23 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <69effda293ebbffe2a19fef3b2b0ba12ac55694c | — |
| Linux | Linux | patch: 6.12.119 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <602b40d65db6c77e2dc095697087f0ad3ba440c1 | — |
| Linux | Linux | 3557baabf28088f49bdf72a048fd33ab62e205b1 <d9435103655e01a41d6398375d750af32c9dd46b | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | patch: 5.10.275 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | No fix yet | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/be698ca27c77f831b8ac59cfb55d290cb5907033
- https://git.kernel.org/stable/c/0ed9402cb206eb5ed6e8529ab95352d8ee8b853b
- https://git.kernel.org/stable/c/d9435103655e01a41d6398375d750af32c9dd46b
- https://git.kernel.org/stable/c/56df5e2ffc79a24842c6ee2b690e9806f303e68d
- https://git.kernel.org/stable/c/602b40d65db6c77e2dc095697087f0ad3ba440c1
- https://git.kernel.org/stable/c/db15f8541e9d968a06d1d5e500ac501dea93781b
- https://git.kernel.org/stable/c/69effda293ebbffe2a19fef3b2b0ba12ac55694c
- https://git.kernel.org/stable/c/d06ae66516e1aaf023808912af6292aef09d46c3