{"id":"CVE-2026-100015","summary":"l2tp: snapshot sequencing state when building transmit headers","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: snapshot sequencing state when building transmit headers\n\nUpdates to send_seq from netlink, PPP setsockopt and receive-side\nnegotiation race with packet transmission. The header length is updated\nseparately, while transmit reads both fields repeatedly without\nsynchronization.\n\nFor example, transmit can push a ten-byte L2TPv2 header, then a concurrent\nwriter clears send_seq before the header builder reads it. The builder\nwrites only six bytes, leaving four bytes of uninitialized skb headroom\nin the outgoing packet. The reverse mismatch overwrites the beginning of\nthe payload. A later hdr_len read can also make the UDP length disagree\nwith the skb length.\n\nKCSAN reported:\n\n  BUG: KCSAN: data-race in l2tp_session_set_header_len / l2tp_xmit_skb\n\n  write to 0xffff888100d0944a of 2 bytes by task 116 on cpu 1:\n   l2tp_session_set_header_len+0x81/0xc0\n   l2tp_nl_cmd_session_modify+0x122/0x2c0\n   genl_family_rcv_msg_doit+0x170/0x1d0\n\n  read to 0xffff888100d0944a of 2 bytes by task 115 on cpu 0:\n   l2tp_xmit_skb+0x9c/0xc80\n   pppol2tp_sendmsg+0x21c/0x2a0\n   __sys_sendto+0x28c/0x2a0\n\nThe bug can lead to leak kernel base address for KASLR bypass, the\ncorresponding reproducer can be provided per request.\n\nInitialize hdr_len to the maximum header size and leave it unchanged\nwhen sequencing is toggled. Snapshot send_seq once per packet and use\nthat snapshot for the actual header length and header construction,\nincluding the sequence flag. Use the same length for headroom, the header\npush and the UDP length. PPP callers can safely reserve the maximum size;\nL2TPv3 header sizes do not depend on sequencing.\n\nMake send_seq a separate bool so READ_ONCE() and WRITE_ONCE() can be used\nwithout sharing a bitfield storage unit with other configuration flags.\nPreserve the netlink attribute's existing low-bit truncation.","modified":"2026-11-30T15:00:20.693664956Z","published":"2026-11-30T13:23:05.799Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100015.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ed9402cb206eb5ed6e8529ab95352d8ee8b853b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56df5e2ffc79a24842c6ee2b690e9806f303e68d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/602b40d65db6c77e2dc095697087f0ad3ba440c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69effda293ebbffe2a19fef3b2b0ba12ac55694c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be698ca27c77f831b8ac59cfb55d290cb5907033"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d06ae66516e1aaf023808912af6292aef09d46c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9435103655e01a41d6398375d750af32c9dd46b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db15f8541e9d968a06d1d5e500ac501dea93781b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100015"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3557baabf28088f49bdf72a048fd33ab62e205b1"},{"fixed":"be698ca27c77f831b8ac59cfb55d290cb5907033"},{"fixed":"0ed9402cb206eb5ed6e8529ab95352d8ee8b853b"},{"fixed":"d9435103655e01a41d6398375d750af32c9dd46b"},{"fixed":"56df5e2ffc79a24842c6ee2b690e9806f303e68d"},{"fixed":"602b40d65db6c77e2dc095697087f0ad3ba440c1"},{"fixed":"db15f8541e9d968a06d1d5e500ac501dea93781b"},{"fixed":"69effda293ebbffe2a19fef3b2b0ba12ac55694c"},{"fixed":"d06ae66516e1aaf023808912af6292aef09d46c3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100015.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.23"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100015.json"}}],"schema_version":"1.9.2"}