syzbot


BUG: soft lockup in tipc_disc_timeout

Status: closed as invalid on 2025/01/15 12:30
Subsystems: net
[Documentation on labels]
First crash: 43d, last: 43d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in tipc_disc_timeout (2) 1 834d 834d 0/1 auto-obsoleted due to no activity on 2023/02/06 01:50
linux-4.19 BUG: soft lockup in tipc_disc_timeout 2 1219d 1220d 0/1 auto-closed as invalid on 2022/01/17 13:56
android-5-15 BUG: soft lockup in tipc_disc_timeout 1 532d 532d 0/2 auto-obsoleted due to no activity on 2023/11/05 03:35
upstream INFO: rcu detected stall in tipc_disc_timeout (3) net 1 199d 199d 0/28 auto-obsoleted due to no activity on 2024/10/03 12:56

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz.5.118:7483]
Modules linked in:
irq event stamp: 43397
hardirqs last  enabled at (43396): [<ffff80008b545ee4>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline]
hardirqs last  enabled at (43396): [<ffff80008b545ee4>] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95
hardirqs last disabled at (43397): [<ffff80008b54395c>] __el1_irq arch/arm64/kernel/entry-common.c:557 [inline]
hardirqs last disabled at (43397): [<ffff80008b54395c>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:575
softirqs last  enabled at (34188): [<ffff80008020396c>] softirq_handle_end kernel/softirq.c:400 [inline]
softirqs last  enabled at (34188): [<ffff80008020396c>] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582
softirqs last disabled at (37821): [<ffff800080020db4>] __do_softirq+0x14/0x20 kernel/softirq.c:588
CPU: 1 UID: 0 PID: 7483 Comm: syz.5.118 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : in_softirq_really kernel/kcov.c:171 [inline]
pc : check_kcov_mode kernel/kcov.c:183 [inline]
pc : __sanitizer_cov_trace_pc+0x28/0x84 kernel/kcov.c:217
lr : taprio_dequeue_tc_priority+0x164/0x640 net/sched/sch_taprio.c:787
sp : ffff800080017450
x29: ffff8000800174b0 x28: 0000000000000001 x27: 0000000000000000
x26: ffff0000ee154042 x25: 0000000000000009 x24: ffff0000ce3e8394
x23: 0000000000000008 x22: ffff0000ee154044 x21: 1fffe00019c7d072
x20: 1fffe0001dc2a808 x19: dfff800000000000 x18: ffff0000c80b2240
x17: 00000000ffff0000 x16: ffff800080585eb0 x15: 0000000000000001
x14: ffff80008f8d05e8 x13: dfff800000000000 x12: 00000000b0c45eaf
x11: 000000009ae924d7 x10: 0000000000ff0100 x9 : 0000000000000303
x8 : ffff0000cb08dac0 x7 : ffff8000899bdf20 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000ffffffff
x2 : 0000000000000000 x1 : 0000000000000010 x0 : 000000000000000a
Call trace:
 preempt_count arch/arm64/include/asm/preempt.h:13 [inline] (P)
 in_softirq_really kernel/kcov.c:171 [inline] (P)
 check_kcov_mode kernel/kcov.c:183 [inline] (P)
 __sanitizer_cov_trace_pc+0x28/0x84 kernel/kcov.c:217 (P)
 taprio_dequeue_tc_priority+0x164/0x640 net/sched/sch_taprio.c:787 (L)
 taprio_dequeue+0x174/0x508
 dequeue_skb net/sched/sch_generic.c:293 [inline]
 qdisc_restart net/sched/sch_generic.c:398 [inline]
 __qdisc_run+0x1e0/0x2374 net/sched/sch_generic.c:416
 __dev_xmit_skb net/core/dev.c:3894 [inline]
 __dev_queue_xmit+0xd40/0x3548 net/core/dev.c:4398
 dev_queue_xmit include/linux/netdevice.h:3094 [inline]
 tipc_l2_send_msg+0x29c/0x35c net/tipc/bearer.c:516
 tipc_bearer_xmit_skb+0x270/0x3c8 net/tipc/bearer.c:575
 tipc_disc_timeout+0x500/0x640 net/tipc/discover.c:338
 call_timer_fn+0x1b4/0x8f0 kernel/time/timer.c:1794
 expire_timers kernel/time/timer.c:1845 [inline]
 __run_timers kernel/time/timer.c:2419 [inline]
 __run_timer_base+0x56c/0x7b4 kernel/time/timer.c:2430
 run_timer_base kernel/time/timer.c:2439 [inline]
 run_timer_softirq+0xcc/0x194 kernel/time/timer.c:2449
 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554
 __do_softirq+0x14/0x20 kernel/softirq.c:588
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86
 invoke_softirq kernel/softirq.c:435 [inline]
 __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671
 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline]
 el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580
 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596
 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P)
 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P)
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (P)
 _raw_spin_unlock_irqrestore+0x44/0x98 kernel/locking/spinlock.c:194 (P)
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (L)
 _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 (L)
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1565 [inline]
 folio_batch_move_lru+0x30c/0x3c0 mm/swap.c:205
 __folio_batch_add_and_move+0x3c4/0x630 mm/swap.c:227
 folio_add_lru+0xec/0x1d4 mm/swap.c:513
 shmem_alloc_and_add_folio+0xfdc/0x15b0 mm/shmem.c:1867
 shmem_get_folio_gfp+0x568/0x179c mm/shmem.c:2330
 shmem_get_folio mm/shmem.c:2436 [inline]
 shmem_write_begin+0x140/0x500 mm/shmem.c:3038
 generic_perform_write+0x29c/0x868 mm/filemap.c:4054
 shmem_file_write_iter+0x110/0x138 mm/shmem.c:3213
 new_sync_write fs/read_write.c:590 [inline]
 vfs_write+0x920/0xcf4 fs/read_write.c:683
 ksys_write+0x15c/0x26c fs/read_write.c:736
 __do_sys_write fs/read_write.c:748 [inline]
 __se_sys_write fs/read_write.c:745 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:745
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6817 Comm: kworker/u8:19 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound toggle_allocation_gate
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : csd_lock_wait kernel/smp.c:340 [inline]
pc : smp_call_function_many_cond+0x1a9c/0x3418 kernel/smp.c:884
lr : csd_lock_wait kernel/smp.c:340 [inline]
lr : smp_call_function_many_cond+0x1ab4/0x3418 kernel/smp.c:884
sp : ffff80009e1f7790
x29: ffff80009e1f78d0 x28: ffffffffffffffff x27: 1fffe000366c6551
x26: ffff0001b365b668 x25: 0000000000000001 x24: dfff800000000000
x23: 0000000000000008 x22: 0000000000000011 x21: 1fffe000366c6550
x20: ffff0001b3632a88 x19: ffff0001b3632a80 x18: dfff800000000000
x17: 00000000924fb699 x16: ffff8000831615b0 x15: 0000000000000001
x14: 1fffe000366cb6cd x13: 0000000000000000 x12: 0000000000000000
x11: ffff6000366cb6ce x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 0000000000000011 x7 : ffff800080061d44 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff8000804d71f8
x2 : 0000000000000000 x1 : 0000000000000004 x0 : 0000000000000001
Call trace:
 __cmpwait_case_32 arch/arm64/include/asm/cmpxchg.h:231 [inline] (P)
 __cmpwait arch/arm64/include/asm/cmpxchg.h:257 [inline] (P)
 csd_lock_wait kernel/smp.c:340 [inline] (P)
 smp_call_function_many_cond+0x1a9c/0x3418 kernel/smp.c:884 (P)
 csd_lock_wait kernel/smp.c:340 [inline] (L)
 smp_call_function_many_cond+0x1ab4/0x3418 kernel/smp.c:884 (L)
 smp_call_function_many kernel/smp.c:908 [inline]
 smp_call_function kernel/smp.c:930 [inline]
 kick_all_cpus_sync+0x40/0xa0 kernel/smp.c:1075
 arch_jump_label_transform_apply+0x14/0x20 arch/arm64/kernel/jump_label.c:34
 __jump_label_update+0x30c/0x334 kernel/jump_label.c:521
 jump_label_update+0x30c/0x3bc kernel/jump_label.c:920
 static_key_enable_cpuslocked+0x140/0x230 kernel/jump_label.c:210
 static_key_enable+0x24/0x38 kernel/jump_label.c:223
 toggle_allocation_gate+0xc4/0x264 mm/kfence/core.c:849
 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x97c/0xeec kernel/workqueue.c:3391
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/08 21:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: soft lockup in tipc_disc_timeout
* Struck through repros no longer work on HEAD.