syzbot


WARNING in delayed_work_timer_fn

Status: upstream: reported on 2023/06/23 03:48
Subsystems: arm
[Documentation on labels]
Reported-by: syzbot+e13e654d315d4da1277c@syzkaller.appspotmail.com
First crash: 164d, last: 4d12h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [arm?] WARNING in delayed_work_timer_fn 0 (1) 2023/06/23 03:48
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in delayed_work_timer_fn 2 127d 230d 0/3 auto-obsoleted due to no activity on 2023/11/02 17:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8229 at kernel/workqueue.c:1725 current_wq_worker kernel/workqueue_internal.h:69 [inline]
WARNING: CPU: 0 PID: 8229 at kernel/workqueue.c:1725 is_chained_work kernel/workqueue.c:1663 [inline]
WARNING: CPU: 0 PID: 8229 at kernel/workqueue.c:1725 __queue_work+0xdfc/0x1338 kernel/workqueue.c:1724
Modules linked in:
CPU: 0 PID: 8229 Comm: kworker/u4:15 Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Workqueue: netns cleanup_net
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __queue_work+0xdfc/0x1338 kernel/workqueue_internal.h:69
lr : current_wq_worker kernel/workqueue_internal.h:69 [inline]
lr : is_chained_work kernel/workqueue.c:1663 [inline]
lr : __queue_work+0xdfc/0x1338 kernel/workqueue.c:1724
sp : ffff800080007b70
x29: ffff800080007bb0 x28: 1fffe0001ba70a69 x27: ffff00012f7d2dc0
x26: dfff800000000000 x25: ffff00012f7d2c00 x24: 0000000000000008
x23: 0000000000000000 x22: ffff0000dd385340 x21: 0000000000000000
x20: 0000000000000100 x19: ffff00012e024bc0 x18: 1fffe000368333ce
x17: ffff800125ee3000 x16: ffff80008a71b23c x15: 0000000000000002
x14: ffff80008e3405e0 x13: dfff800000000000 x12: 00000000e4e5edfc
x11: 0000000000000101 x10: 0000000000000100 x9 : 0000000000000000
x8 : ffff0000dd385340 x7 : ffff8000804198f4 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008cbfb720
x2 : ffff00012e024bc0 x1 : 0000000000000100 x0 : 0000000000000000
Call trace:
 current_wq_worker kernel/workqueue_internal.h:69 [inline]
 is_chained_work kernel/workqueue.c:1663 [inline]
 __queue_work+0xdfc/0x1338 kernel/workqueue.c:1724
 delayed_work_timer_fn+0x74/0x90 kernel/workqueue.c:1928
 call_timer_fn+0x19c/0x8cc kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1746 [inline]
 __run_timers+0x5b4/0x734 kernel/time/timer.c:2022
 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:2035
 __do_softirq+0x2d0/0xd54 kernel/softirq.c:553
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:886
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85
 invoke_softirq kernel/softirq.c:434 [inline]
 __irq_exit_rcu+0x200/0x494 kernel/softirq.c:632
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:644
 __el1_irq arch/arm64/kernel/entry-common.c:503 [inline]
 el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:517
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:522
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:591
 preempt_count arch/arm64/include/asm/preempt.h:13 [inline]
 check_kcov_mode kernel/kcov.c:173 [inline]
 __sanitizer_cov_trace_pc+0x1c/0x7c kernel/kcov.c:207
 check_preemption_disabled+0x28/0xf8 lib/smp_processor_id.c:14
 debug_smp_processor_id+0x20/0x2c lib/smp_processor_id.c:60
 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
 rcu_is_watching+0x5c/0x18c kernel/rcu/tree.c:699
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x100/0x71c kernel/locking/lockdep.c:5724
 rcu_lock_acquire+0x40/0x4c include/linux/rcupdate.h:303
 rcu_read_lock include/linux/rcupdate.h:749 [inline]
 inet_twsk_purge+0x118/0x854 net/ipv4/inet_timewait_sock.c:292
 dccp_v6_exit_batch+0x20/0x2c net/dccp/ipv6.c:1124
 ops_exit_list net/core/net_namespace.c:175 [inline]
 cleanup_net+0x5dc/0x8d0 net/core/net_namespace.c:614
 process_one_work+0x694/0x1204 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x938/0xef4 kernel/workqueue.c:2784
 kthread+0x288/0x310 kernel/kthread.c:388
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857
irq event stamp: 5737603
hardirqs last  enabled at (5737602): [<ffff800080020f88>] __do_softirq+0x1b4/0xd54 kernel/softirq.c:537
hardirqs last disabled at (5737603): [<ffff80008a80756c>] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline]
hardirqs last disabled at (5737603): [<ffff80008a80756c>] _raw_spin_lock_irq+0x28/0x70 kernel/locking/spinlock.c:170
softirqs last  enabled at (5737524): [<ffff800080021894>] softirq_handle_end kernel/softirq.c:399 [inline]
softirqs last  enabled at (5737524): [<ffff800080021894>] __do_softirq+0xac0/0xd54 kernel/softirq.c:582
softirqs last disabled at (5737601): [<ffff80008002aadc>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
---[ end trace 0000000000000000 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/25 19:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/11/12 00:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/11/02 09:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/10/05 02:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/08/20 12:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/07/26 03:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
2023/06/19 03:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in delayed_work_timer_fn
* Struck through repros no longer work on HEAD.