CVE-2026-80852

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> tls: device: fix out-of-bounds write in tls_append_frag()<br /> <br /> Found with syzkaller and a local syzbot instance running on top of a<br /> netdevsim TLS offload emulation; tls_device.c is otherwise only reachable<br /> on a machine with a NIC that implements the offload.<br /> <br /> tls_push_data() only checks whether the open record still has room for<br /> another frag at the bottom of its loop, and the MSG_MORE early break<br /> skips that check. The record survives to the next syscall with the frag<br /> count it already had, and tls_append_frag() does not check either, so<br /> with TLS_TX_ZEROCOPY_RO every splice(SPLICE_F_MORE) of a byte or two adds<br /> a non-coalescing pipe page and num_frags walks off the end of<br /> tls_record_info.frags[MAX_SKB_FRAGS]. Once the record is pushed,<br /> tls_push_record() runs the same index over sg_tx_data[MAX_SKB_FRAGS] and<br /> the sg_set_page() writes land on the destruct_work that follows it, which<br /> the workqueue then calls.<br /> <br /> The byte limit is fine because copy drops to 0 and the loop falls through<br /> to the same check; the frag count has no such feedback.<br /> <br /> Push the record rather than keep a full one open, which is what a plain<br /> TCP socket does - tcp_sendmsg_locked() uses tcp_mark_push() and<br /> new_segment in both the copy and the MSG_SPLICE_PAGES paths, and tls_sw<br /> already sets full_record when the sk_msg ring fills up, MSG_MORE or not.<br /> <br /> BUG: KASAN: slab-out-of-bounds in tls_append_frag ( net/tls/tls_device.c:269)<br /> Write of size 8 at addr ffff8881104d1530 by task tls_oob/450<br /> <br /> CPU: 2 UID: 0 PID: 450 Comm: tls_oob Not tainted 7.2.0-rc7+ #329 PREEMPT<br /> Call Trace:<br /> <br /> dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)<br /> print_report (mm/kasan/report.c:378 mm/kasan/report.c:482)<br /> kasan_report (mm/kasan/report.c:595)<br /> tls_append_frag (net/tls/tls_device.c:269)<br /> tls_push_data (net/tls/tls_device.c:518)<br /> tls_device_sendmsg (net/tls/tls_device.c:583)<br /> inet_sendmsg (net/ipv4/af_inet.c:865)<br /> sock_sendmsg (net/socket.c:775 net/socket.c:790 net/socket.c:813)<br /> splice_to_socket (fs/splice.c:884)<br /> do_splice (fs/splice.c:936 fs/splice.c:1349)<br /> __do_splice (fs/splice.c:1431)<br /> __x64_sys_splice (fs/splice.c:1634 fs/splice.c:1616)<br /> do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)<br /> entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)<br /> <br /> <br /> and, once the record is pushed:<br /> <br /> UBSAN: array-index-out-of-bounds in net/tls/tls_device.c:300:24<br /> index 18 is out of range for type &amp;#39;skb_frag_t [17]&amp;#39;<br /> UBSAN: array-index-out-of-bounds in net/tls/tls_device.c:301:41<br /> index 18 is out of range for type &amp;#39;scatterlist [17]&amp;#39;<br /> UBSAN: array-index-out-of-bounds in net/tls/tls_device.c:302:39<br /> index 18 is out of range for type &amp;#39;scatterlist [17]&amp;#39;<br /> UBSAN: array-index-out-of-bounds in net/tls/tls_device.c:307:38<br /> index 26 is out of range for type &amp;#39;scatterlist [17]&amp;#39;<br /> <br /> kernel tried to execute NX-protected page - exploit attempt? (uid: 0)<br /> BUG: unable to handle page fault for address: ffffea000411a680<br /> #PF: supervisor instruction fetch in kernel mode<br /> #PF: error_code(0x0011) - permissions violation<br /> Oops: Oops: 0011 [#1] SMP KASAN PTI<br /> Workqueue: ktls_device_destruct 0xffffea000411a680<br /> RIP: 0010:0xffffea000411a680<br /> Call Trace:<br /> <br /> worker_thread (kernel/workqueue.c:3405 kernel/workqueue.c:3486)<br /> kthread (kernel/kthread.c:436)<br /> ret_from_fork (arch/x86/kernel/process.c:158)<br /> ret_from_fork_asm (arch/x86/entry/entry_64.S:245)<br />

Impact