syzbot


BUG: soft lockup in tcp_write_timer (6)

Status: closed as invalid on 2025/09/01 08:24
Subsystems: bpf
[Documentation on labels]
First crash: 36d, last: 36d
Similar bugs (17)
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 976d 989d 0/1 upstream: reported on 2022/12/17 21:41
linux-4.14 BUG: soft lockup in tcp_write_timer 1 2 1943d 2022d 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 1386d 1449d 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 323d 375d 0/3 auto-obsoleted due to no activity on 2025/01/22 08:13
android-54 BUG: soft lockup in tcp_write_timer 1 1 121d 121d 0/2 auto-obsoleted due to no activity on 2025/08/01 21:51
linux-4.19 BUG: soft lockup in tcp_write_timer 1 1 1615d 1615d 0/1 auto-closed as invalid on 2021/07/30 14:52
upstream BUG: soft lockup in tcp_write_timer net 1 11 2222d 2230d 0/29 auto-closed as invalid on 2019/10/25 14:11
upstream BUG: soft lockup in tcp_write_timer (4) mm 1 4 423d 448d 26/29 fixed on 2024/07/09 19:14
upstream BUG: soft lockup in tcp_write_timer (2) kvm 1 1 1225d 1225d 0/29 auto-closed as invalid on 2022/06/24 22:31
upstream BUG: soft lockup in tcp_write_timer (3) net 1 6 602d 710d 0/29 closed as invalid on 2024/03/18 17:07
upstream BUG: soft lockup in tcp_write_timer (5) net mm 1 8 92d 153d 0/29 closed as invalid on 2025/07/11 15:27
android-5-15 BUG: soft lockup in tcp_write_timer 1 11 386d 499d 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 1673d 1728d 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 414d 414d 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 108d 192d 0/3 auto-obsoleted due to no activity on 2025/08/25 02:13
upstream INFO: rcu detected stall in tcp_write_timer (3) net 1 1 1540d 1540d 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 209d 438d 0/3 auto-obsoleted due to no activity on 2025/05/16 12:07

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.2.323:7503]
Modules linked in:
irq event stamp: 10668561
hardirqs last  enabled at (10668560): [<ffffffff8b6d8424>] irqentry_exit+0x74/0x90 kernel/entry/common.c:310
hardirqs last disabled at (10668561): [<ffffffff8b6d6f6e>] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1050
softirqs last  enabled at (10523950): [<ffffffff8185bdba>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last  enabled at (10523950): [<ffffffff8185bdba>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last  enabled at (10523950): [<ffffffff8185bdba>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
softirqs last disabled at (10523953): [<ffffffff8185bdba>] __do_softirq kernel/softirq.c:613 [inline]
softirqs last disabled at (10523953): [<ffffffff8185bdba>] invoke_softirq kernel/softirq.c:453 [inline]
softirqs last disabled at (10523953): [<ffffffff8185bdba>] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
CPU: 0 UID: 0 PID: 7503 Comm: syz.2.323 Not tainted 6.16.0-rc6-syzkaller-g7abc678e3084 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__lt_find include/linux/rbtree_latch.h:-1 [inline]
RIP: 0010:latch_tree_find include/linux/rbtree_latch.h:210 [inline]
RIP: 0010:bpf_ksym_find kernel/bpf/core.c:740 [inline]
RIP: 0010:is_bpf_text_address+0x1a2/0x2b0 kernel/bpf/core.c:773
Code: 24 4c 89 e7 4c 89 f6 e8 2c 18 f1 ff 4d 39 f4 73 47 e8 c2 15 f1 ff b8 08 00 00 00 49 01 c7 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 <74> 08 4c 89 ff e8 e4 26 53 00 4d 8b 3f 4d 85 ff 74 0a e8 97 15 f1
RSP: 0018:ffffc900000074d0 EFLAGS: 00000246
RAX: 1ffff1100ad2fa86 RBX: 0000000000000000 RCX: ffff888020f78000
RDX: 0000000000000100 RSI: 00007fb7c858e9a9 RDI: ffffffffa02019d8
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81cf11c6
R10: dffffc0000000000 R11: fffffbfff1f43adf R12: ffffffffa02019d8
R13: dffffc0000000000 R14: 00007fb7c858e9a9 R15: ffff88805697d430
FS:  00007fb7c93516c0(0000) GS:ffff888125c23000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000031ff8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 kernel_text_address+0xa5/0xe0 kernel/extable.c:125
 __kernel_text_address+0xd/0x40 kernel/extable.c:79
 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369
 arch_stack_walk+0xfc/0x150 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2381 [inline]
 slab_free mm/slub.c:4643 [inline]
 kmem_cache_free+0x18f/0x400 mm/slub.c:4745
 tcp_write_queue_purge+0x143/0x2f0 net/ipv4/tcp.c:3318
 tcp_done_with_error+0x43/0xd0 net/ipv4/tcp_input.c:4553
 tcp_write_err net/ipv4/tcp_timer.c:77 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:294 [inline]
 tcp_retransmit_timer+0x1d16/0x3370 net/ipv4/tcp_timer.c:600
 tcp_write_timer+0x162/0x2e0 net/ipv4/tcp_timer.c:738
 call_timer_fn+0x17e/0x5f0 kernel/time/timer.c:1747
 expire_timers kernel/time/timer.c:1798 [inline]
 __run_timers kernel/time/timer.c:2372 [inline]
 __run_timer_base+0x61a/0x860 kernel/time/timer.c:2384
 run_timer_base kernel/time/timer.c:2393 [inline]
 run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2403
 handle_softirqs+0x286/0x870 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xca/0x1f0 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+0x87/0x4c0 kernel/rcu/tree_plugin.h:694
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 62 ec f7 10 41 f7 c6 00 00 f0 00 74 49 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc9000f5d75c0 EFLAGS: 00000206
RAX: c595f78b3e212300 RBX: 1ffff92001ebaec0 RCX: c595f78b3e212300
RDX: 0000000000000006 RSI: ffffffff8d996215 RDI: ffffffff8be28c00
RBP: ffffc9000f5d76c0 R08: ffffffff8fa1d6f7 R09: 1ffffffff1f43ade
R10: dffffc0000000000 R11: fffffbfff1f43adf R12: ffffffff8e144400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x84/0xe0 kernel/rcu/tree_plugin.h:438
 rcu_read_unlock include/linux/rcupdate.h:873 [inline]
 trace_call_bpf+0x5ae/0x850 kernel/trace/bpf_trace.c:148
 perf_trace_run_bpf_submit+0x78/0x170 kernel/events/core.c:10891
 do_perf_trace_lock include/trace/events/lock.h:50 [inline]
 perf_trace_lock+0x2f8/0x3b0 include/trace/events/lock.h:50
 __do_trace_lock_release include/trace/events/lock.h:69 [inline]
 trace_lock_release include/trace/events/lock.h:69 [inline]
 lock_release+0x3b2/0x3e0 kernel/locking/lockdep.c:5882
 local_lock_release include/linux/local_lock_internal.h:54 [inline]
 consume_stock mm/memcontrol.c:1823 [inline]
 try_charge_memcg+0x581/0x1290 mm/memcontrol.c:2317
 obj_cgroup_charge_pages+0x1e/0xa0 mm/memcontrol.c:2801
 obj_cgroup_charge_account+0xcf/0x660 mm/memcontrol.c:3104
 __memcg_slab_post_alloc_hook+0x3e6/0x7f0 mm/memcontrol.c:3190
 memcg_slab_post_alloc_hook mm/slub.c:2180 [inline]
 slab_post_alloc_hook mm/slub.c:4158 [inline]
 slab_alloc_node mm/slub.c:4197 [inline]
 kmem_cache_alloc_lru_noprof+0x2c7/0x3d0 mm/slub.c:4216
 __d_alloc+0x31/0x6f0 fs/dcache.c:1690
 d_alloc_pseudo+0x1f/0xb0 fs/dcache.c:1821
 alloc_path_pseudo fs/file_table.c:360 [inline]
 alloc_file_pseudo+0xcc/0x210 fs/file_table.c:376
 sock_alloc_file+0xb8/0x2e0 net/socket.c:470
 sock_map_fd net/socket.c:500 [inline]
 __sys_socket+0x13d/0x1b0 net/socket.c:1692
 __do_sys_socket net/socket.c:1697 [inline]
 __se_sys_socket net/socket.c:1695 [inline]
 __x64_sys_socket+0x7a/0x90 net/socket.c:1695
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb7c858e9a9
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:00007fb7c9351038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fb7c87b6080 RCX: 00007fb7c858e9a9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 000000000000000a
RBP: 00007fb7c8610d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb7c87b6080 R15: 00007ffd984d8cf8
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.16.0-rc6-syzkaller-g7abc678e3084 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/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+0xf69/0x12d0 kernel/smp.c:885
Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 a0 6e 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 4b 6a 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 30 6a 0b
RSP: 0018:ffffc900001276a0 EFLAGS: 00000293
RAX: ffffffff81b4bec0 RBX: ffff8880b873b1c0 RCX: ffff88801ce98000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000127800 R08: ffffffff8fa1d6f7 R09: 1ffffffff1f43ade
R10: dffffc0000000000 R11: fffffbfff1f43adf R12: 1ffff110170c8385
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8641c28
FS:  0000000000000000(0000) GS:ffff888125d23000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f952d0e7d60 CR3: 000000000df38000 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]
 smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2691 [inline]
 smp_text_poke_batch_finish+0x5e0/0x1100 arch/x86/kernel/alternative.c:2901
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210
 static_key_enable+0x1a/0x20 kernel/jump_label.c:223
 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/28 08:14 bpf 7abc678e3084 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in tcp_write_timer
* Struck through repros no longer work on HEAD.