syzbot


WARNING in tls_strp_msg_load

Status: fixed on 2025/06/10 16:19
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+b4cd76826045a1eb93c1@syzkaller.appspotmail.com
Fix commit: 5071a1e606b3 net: tls: explicitly disallow disconnect
First crash: 371d, last: 357d
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision Error
5bfbdb42-84bd-463c-921e-36e1df6bc643 patching 💥 WARNING in tls_strp_msg_load 2026/01/27 17:16 2026/01/27 17:16 2026/01/27 17:24 da890efba9d15e3c574115a52395cfc49efc6088 reproducer did not crash
99f25799-f089-4155-a941-17a18821b8e2 patching 💥 WARNING in tls_strp_msg_load 2026/01/27 17:05 2026/01/27 17:05 2026/01/27 17:05 713ecf465174e78b04fda76792222f611e1acbc0 make failed: failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "128" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/build/7fa266cbe46b3d1b45de2d51929c9b96f7afa9c3" "-s" "bzImage" "compile_commands.json"]: exit status 2 *** *** The source tree is not clean, please run 'make ARCH=x86_64 mrproper' *** in /usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/5452af61ab2e1f5601403fe379188fc9d8a831af *** make[3]: *** [/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/5452af61ab2e1f5601403fe379188fc9d8a831af/Makefile:685: outputmakefile] Error 1 /usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/5452af61ab2e1f5601403fe379188fc9d8a831af/Makefile:839: include/config/auto.conf.cmd: No such file or directory make[2]: *** [/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/5452af61ab2e1f5601403fe379188fc9d8a831af/Makefile:862: include/config/auto.conf] Error 2 make[1]: *** [/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/src/5452af61ab2e1f5601403fe379188fc9d8a831af/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2
1dbe67b0-47b6-4f36-abeb-93c5c6cf074b patching 💥 WARNING in tls_strp_msg_load 2026/01/27 13:57 2026/01/27 14:51 2026/01/27 14:55 8d2502e0be2fbb25cb9be08f92afdb564b64c817 make failed: failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "128" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/usr/local/google/home/dvyukov/syzkaller/agent/workdir/cache/build/7fa266cbe46b3d1b45de2d51929c9b96f7afa9c3" "-s" "bzImage" "compile_commands.json"]: exit status 2 .config:9775:warning: symbol value 'y' invalid for BOOTPARAM_HUNG_TASK_PANIC * * Restart config... * * * Timers subsystem * Timer tick handling 1. Periodic timer ticks (constant rate, no dynticks) (HZ_PERIODIC) > 2. Idle dynticks system (tickless idle) (NO_HZ_IDLE) 3. Full dynticks system (tickless) (NO_HZ_FULL) choice[1-3?]: 2 Force user context tracking (CONTEXT_TRACKING_USER_FORCE) [N/y/?] n Old Idle dynticks config (NO_HZ) [Y/n/?] y High Resolution Timer Support (HIGH_RES_TIMERS) [Y/n/?] y Clocksource watchdog maximum allowable skew (in microseconds) (CLOCKSOURCE_WATCHDOG_MAX_SKEW_US) [125] 125 Enable auxiliary POSIX clocks (POSIX_AUX_CLOCKS) [N/y/?] (NEW) Error in reading or end of file. * * Scheduler features * Enable utilization clamping for RT/FAIR tasks (UCLAMP_TASK) [N/y/?] n Proxy Execution (SCHED_PROXY_EXEC) [N/y/?] (NEW) Error in reading or end of file. * * General setup * Compile also drivers which will not load (COMPILE_TEST) [N/y/?] n Compile the kernel with warnings as errors (WERROR) [N/y/?] n Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [Y/n/?] y Build ID Salt (BUILD_SALT) [] Kernel compression mode > 1. Gzip (KERNEL_GZIP) 2. Bzip2 (KERNEL_BZIP2) 3. LZMA (KERNEL_LZMA) 4. XZ (KERNEL_XZ) 5. LZO (KERNEL_LZO) 6. LZ4 (KERNEL_LZ4) 7. ZSTD (KERNEL_ZSTD) choice[1-7?]: 1 Default init path (DEFAULT_INIT) [] Default hostname (DEFAULT_HOSTNAME) [(none)] (none) System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y General notification queue (WATCH_QUEUE) [Y/n/?] y Enable process_vm_readv/writev syscalls (CROSS_MEMORY_ATTACH) [Y/n/?] y Auditing support (AUDIT) [Y/?] y Preemption Model 1. No Forced Preemption (Server) (PREEMPT_NONE) 2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY) > 3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT) 4. Scheduler controlled preemption model (PREEMPT_LAZY) choice[1-4?]: 3 Fully Preemptible Kernel (Real-Time) (PREEMPT_RT) [N/y/?] n Preemption behaviour defined on boot (PREEMPT_DYNAMIC) [Y/n/?] y Core Scheduling for SMT (SCHED_CORE) [Y/n/?] y CPU isolation (CPU_ISOLATION) [Y/n/?] y Kernel .config support (IKCONFIG) [Y/n/m/?] y Enable access to .config through /proc/config.gz (IKCONFIG_PROC) [Y/n/?] y Enable kernel headers through /sys/kernel/kheaders.tar.xz (IKHEADERS) [N/m/y/?] n Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [18] 18 CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB) (LOG_CPU_MAX_BUF_SHIFT) [12] 12 Printk indexing debugfs interface (PRINTK_INDEX) [N/y/?] n Memory placement aware NUMA scheduler (NUMA_BALANCING) [Y/n/?] y Automatically enable NUMA aware memory/task placement (NUMA_BALANCING_DEFAULT_ENABLED) [Y/n/?] y Checkpoint/restore support (CHECKPOINT_RESTORE) [Y/n/?] y Automatic process group scheduling (SCHED_AUTOGROUP) [N/y/?] n Kernel->user space relay support (formerly relayfs) (RELAY) [Y/?] y Initial RAM filesystem and RAM disk (initramfs/initrd) support (BLK_DEV_INITRD) [Y/n/?] y Initramfs source file(s) (INITRAMFS_SOURCE) [] Support initial ramdisk/ramfs compressed using gzip (RD_GZIP) [Y/n/?] y Support initial ramdisk/ramfs compressed using bzip2 (RD_BZIP2) [Y/n/?] y Support initial ramdisk/ramfs compressed using LZMA (RD_LZMA) [Y/n/?] y Support initial ramdisk/ramfs compressed using XZ (RD_XZ) [Y/n/?] y Support initial ramdisk/ramfs compressed using LZO (RD_LZO) [Y/n/?] y Support initial ramdisk/ramfs compressed using LZ4 (RD_LZ4) [Y/n/?] y Support initial ramdisk/ramfs compressed using ZSTD (RD_ZSTD) [Y/n/?] y Boot config support (BOOT_CONFIG) [N/y/?] n Length to try to wrap the cmdline when logged at boot (CMDLI
Cause bisection: introduced by (bisect log) :
commit c5c37af6ecad955acad82a440b812eb9cd73f77f
Author: David Howells <dhowells@redhat.com>
Date: Mon May 22 12:11:14 2023 +0000

  tcp: Convert do_tcp_sendpages() to use MSG_SPLICE_PAGES

Crash: WARNING in tls_strp_msg_load (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net 1/2] net: tls: explicitly disallow disconnect 7 (7) 2025/04/15 10:43
[syzbot] [net?] WARNING in tls_strp_msg_load 0 (1) 2025/03/28 15:21
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/03/21 01:07 35m retest repro net report log
2025/03/21 01:07 55m retest repro net report log
2025/03/21 01:07 52m retest repro net report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5834 at net/tls/tls_strp.c:486 tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486
Modules linked in:
CPU: 0 UID: 0 PID: 5834 Comm: syz-executor412 Not tainted 6.14.0-rc4-syzkaller-00210-gccc2f5a436fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486
Code: 5c 24 18 e9 72 fc ff ff e8 cf b8 31 f7 90 0f 0b 90 e9 91 f9 ff ff e8 c1 b8 31 f7 90 0f 0b 90 e9 be f9 ff ff e8 b3 b8 31 f7 90 <0f> 0b 90 eb 84 e8 a8 b8 31 f7 90 0f 0b 90 e9 8c fe ff ff 89 d9 80
RSP: 0018:ffffc90003e7f700 EFLAGS: 00010293
RAX: ffffffff8a90068d RBX: ffff88802a9f24dc RCX: ffff888034e0bc00
RDX: 0000000000000000 RSI: 000000000000001f RDI: 0000000000000000
RBP: ffffc90003e7f7f0 R08: ffffffff8a9002fe R09: 1ffff110062bf36c
R10: dffffc0000000000 R11: ffffed10062bf36d R12: ffff88802a9f24d0
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000001f
FS:  0000555585cc3480(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000000218 CR3: 00000000347a8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tls_rx_rec_wait+0x280/0xa60 net/tls/tls_sw.c:1363
 tls_sw_recvmsg+0x85c/0x1c30 net/tls/tls_sw.c:2043
 inet6_recvmsg+0x2c9/0x730 net/ipv6/af_inet6.c:678
 sock_recvmsg_nosec net/socket.c:1023 [inline]
 sock_recvmsg+0x109/0x280 net/socket.c:1045
 __sys_recvfrom+0x202/0x380 net/socket.c:2237
 __do_sys_recvfrom net/socket.c:2252 [inline]
 __se_sys_recvfrom net/socket.c:2248 [inline]
 __x64_sys_recvfrom+0xde/0x100 net/socket.c:2248
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f382a3c83a9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe3fe269d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f382a3c83a9
RDX: 0000000000001ff4 RSI: 0000400000000100 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3fe26c58 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/07 00:55 net ccc2f5a436fb 831e3629 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in tls_strp_msg_load
2025/03/06 23:26 net ccc2f5a436fb 831e3629 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in tls_strp_msg_load
2025/03/06 22:05 net ccc2f5a436fb 831e3629 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in tls_strp_msg_load
2025/03/06 20:41 net ccc2f5a436fb 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in tls_strp_msg_load
* Struck through repros no longer work on HEAD.