syzbot


BUG: soft lockup in tcp_write_timer (5)

Status: closed as invalid on 2025/07/11 15:27
Subsystems: net mm
[Documentation on labels]
First crash: 106d, last: 44d
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in tcp_write_timer (3) 1 2 929d 942d 0/1 upstream: reported on 2022/12/17 21:41
linux-4.14 BUG: soft lockup in tcp_write_timer 1 2 1895d 1974d 0/1 auto-closed as invalid on 2020/09/05 12:42
linux-4.19 BUG: soft lockup in tcp_write_timer (2) 1 2 1338d 1402d 0/1 auto-closed as invalid on 2022/03/16 10:56
linux-5.15 INFO: rcu detected stall in tcp_write_timer 1 4 275d 328d 0/3 auto-obsoleted due to no activity on 2025/01/22 08:13
linux-4.19 BUG: soft lockup in tcp_write_timer 1 1 1567d 1567d 0/1 auto-closed as invalid on 2021/07/30 14:52
upstream BUG: soft lockup in tcp_write_timer net 1 11 2174d 2182d 0/29 auto-closed as invalid on 2019/10/25 14:11
upstream BUG: soft lockup in tcp_write_timer (4) kasan mm 1 4 376d 400d 26/29 fixed on 2024/07/09 19:14
upstream BUG: soft lockup in tcp_write_timer (2) kvm 1 1 1178d 1178d 0/29 auto-closed as invalid on 2022/06/24 22:31
upstream BUG: soft lockup in tcp_write_timer (3) net 1 6 555d 662d 0/29 closed as invalid on 2024/03/18 17:07
android-5-15 BUG: soft lockup in tcp_write_timer 1 11 338d 451d 0/2 auto-obsoleted due to no activity on 2024/11/10 05:27
upstream INFO: rcu detected stall in tcp_write_timer (2) bpf 1 2 1625d 1681d 0/29 auto-closed as invalid on 2021/05/03 11:59
upstream INFO: rcu detected stall in tcp_write_timer (4) net 1 1 366d 366d 0/29 auto-obsoleted due to no activity on 2024/10/13 08:46
linux-5.15 INFO: rcu detected stall in tcp_write_timer (2) 1 2 61d 145d 0/3 upstream: reported on 2025/02/22 02:50
upstream INFO: rcu detected stall in tcp_write_timer (3) net 1 1 1492d 1492d 0/29 auto-closed as invalid on 2021/09/13 13:17
linux-6.1 INFO: rcu detected stall in tcp_write_timer 1 16 161d 391d 0/3 auto-obsoleted due to no activity on 2025/05/16 12:07

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.8.490:7910]
Modules linked in:
irq event stamp: 23167039
hardirqs last  enabled at (23167038): [<ffffffff8c2f9183>] irqentry_exit+0x63/0x90 kernel/entry/common.c:357
hardirqs last disabled at (23167039): [<ffffffff8c2f6cce>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049
softirqs last  enabled at (23153458): [<ffffffff8183e65b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last  enabled at (23153458): [<ffffffff8183e65b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last  enabled at (23153458): [<ffffffff8183e65b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
softirqs last disabled at (23153461): [<ffffffff8183e65b>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last disabled at (23153461): [<ffffffff8183e65b>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last disabled at (23153461): [<ffffffff8183e65b>] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
CPU: 1 UID: 0 PID: 7910 Comm: syz.8.490 Not tainted 6.15.0-rc2-syzkaller-g82303a059aab #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:arch_stack_walk+0x112/0x150 arch/x86/kernel/stacktrace.c:27
Code: bd 70 ff ff ff 00 74 37 48 8d 9d 70 ff ff ff 48 89 df e8 61 bf 09 00 48 85 c0 74 23 4c 89 f7 48 89 c6 4d 89 eb 41 ff d3 66 90 <84> c0 74 11 48 89 df e8 92 c0 09 00 83 bd 70 ff ff ff 00 75 d0 48
RSP: 0018:ffffc90000a08420 EFLAGS: 00000286
RAX: 0000000000000001 RBX: ffffc90000a08420 RCX: ffffffff91bfa000
RDX: dffffc0000000000 RSI: ffffffff81af9bb7 RDI: ffffc90000a0850c
RBP: ffffc90000a084b0 R08: 000000000000000c R09: ffffc90000a08510
R10: dffffc0000000000 R11: ffffffff81ae60f0 R12: ffff88802fc83c00
R13: ffffffff81ae60f0 R14: ffffc90000a08500 R15: 0000000000000000
FS:  00007f250dff66c0(0000) GS:ffff88812509a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005ec9c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2389 [inline]
 slab_free mm/slub.c:4646 [inline]
 kmem_cache_free+0x197/0x410 mm/slub.c:4748
 inet_bind2_bucket_destroy net/ipv4/inet_hashtables.c:148 [inline]
 __inet_put_port net/ipv4/inet_hashtables.c:200 [inline]
 inet_put_port+0x5d9/0x7f0 net/ipv4/inet_hashtables.c:211
 tcp_set_state+0x559/0x970 net/ipv4/tcp.c:2952
 tcp_done+0xfd/0x310 net/ipv4/tcp.c:4917
 tcp_done_with_error+0x49/0xc0 net/ipv4/tcp_input.c:4546
 tcp_write_err net/ipv4/tcp_timer.c:77 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:294 [inline]
 tcp_retransmit_timer+0x1589/0x32c0 net/ipv4/tcp_timer.c:600
 tcp_write_timer+0x166/0x2e0 net/ipv4/tcp_timer.c:738
 call_timer_fn+0x189/0x650 kernel/time/timer.c:1789
 expire_timers kernel/time/timer.c:1840 [inline]
 __run_timers kernel/time/timer.c:2414 [inline]
 __run_timer_base+0x66e/0x8e0 kernel/time/timer.c:2426
 run_timer_base kernel/time/timer.c:2435 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445
 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:rcu_read_unlock_special+0x8a/0x570 kernel/rcu/tree_plugin.h:694
Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d ff 64 bf 11 41 f7 c7 00 00 f0 00 74 44 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22
RSP: 0018:ffffc9001b19f380 EFLAGS: 00000206
RAX: ab712dfd1285ad00 RBX: 1ffff92003633e78 RCX: ffffffff93686020
RDX: dffffc0000000000 RSI: ffffffff8e6491c3 RDI: ffffffff8ca1b5a0
RBP: ffffc9001b19f458 R08: ffffffff905fe077 R09: 1ffffffff20bfc0e
R10: dffffc0000000000 R11: fffffbfff20bfc0f R12: 1ffff92003633e74
R13: ffff88802fc84060 R14: ffffc9001b19f3c0 R15: 0000000000000000
 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:438
 rcu_read_unlock include/linux/rcupdate.h:873 [inline]
 d_alloc_parallel+0x134c/0x1660 fs/dcache.c:2614
 __lookup_slow+0x127/0x400 fs/namei.c:1792
 lookup_slow+0x53/0x70 fs/namei.c:1824
 walk_component+0x2f4/0x420 fs/namei.c:2128
 lookup_last fs/namei.c:2626 [inline]
 path_lookupat+0x169/0x440 fs/namei.c:2650
 do_o_path+0x97/0x230 fs/namei.c:3975
 path_openat+0x2ef4/0x35d0 fs/namei.c:3997
 do_filp_open+0x284/0x4e0 fs/namei.c:4031
 do_sys_openat2+0x12b/0x1d0 fs/open.c:1429
 do_sys_open fs/open.c:1444 [inline]
 __do_sys_openat fs/open.c:1460 [inline]
 __se_sys_openat fs/open.c:1455 [inline]
 __x64_sys_openat+0x249/0x2a0 fs/open.c:1455
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f251018e169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f250dff6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f25103b5fa0 RCX: 00007f251018e169
RDX: 0000000000200002 RSI: 0000200000000200 RDI: ffffffffffffff9c
RBP: 00007f2510210a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f25103b5fa0 R15: 00007ffdf9e84f28
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6217 Comm: kworker/u8:12 Not tainted 6.15.0-rc2-syzkaller-g82303a059aab #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885
Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 68 dc 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 18 d8 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00
RSP: 0018:ffffc9000b777640 EFLAGS: 00000293
RAX: ffffffff81b6e2cd RBX: 1ffff110170e7e91 RCX: ffff888060751e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000b777840 R08: ffffffff81b6e298 R09: 1ffffffff20bfc0e
R10: dffffc0000000000 R11: fffffbfff20bfc0f R12: ffff8880b863ad08
R13: ffff8880b873f488 R14: ffff8880b863ad00 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888124f9a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2120682f68 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2455 [inline]
 text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665
 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
 worker_thread+0x870/0xd50 kernel/workqueue.c:3400
 kthread+0x7b7/0x940 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/17 11:58 bpf 82303a059aab 2a6ededb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in tcp_write_timer
2025/04/16 08:57 bpf 1a1d569a75f3 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in tcp_write_timer
2025/06/02 16:00 bpf-next bb1556ec9464 b396b4bf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
2025/05/27 19:00 bpf-next db22b1382b96 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
2025/05/17 09:21 bpf-next 9325d53fe9ad f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
2025/05/03 09:40 bpf-next f263336a41da b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
2025/04/10 16:22 bpf-next a27a97f71394 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
2025/04/01 20:00 bpf-next 1e7857b28020 d863cf4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in tcp_write_timer
* Struck through repros no longer work on HEAD.