syzbot


WARNING in kthread_unpark

Status: upstream: reported on 2024/07/13 13:06
Reported-by: syzbot+d3f088a481047ef40742@syzkaller.appspotmail.com
First crash: 89d, last: 89d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kthread_unpark wireguard 1 371d 367d 0/28 auto-obsoleted due to no activity on 2024/01/12 15:22
upstream WARNING in kthread_unpark (2) wireguard gfs2 syz done 35 5d09h 151d 20/28 upstream: reported syz repro on 2024/05/11 21:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3973 at kernel/kthread.c:480 __kthread_bind kernel/kthread.c:493 [inline]
WARNING: CPU: 1 PID: 3973 at kernel/kthread.c:480 kthread_unpark+0x148/0x214 kernel/kthread.c:586
Modules linked in:
CPU: 1 PID: 3973 Comm: syz-executor Not tainted 5.15.162-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __kthread_bind kernel/kthread.c:493 [inline]
pc : kthread_unpark+0x148/0x214 kernel/kthread.c:586
lr : __kthread_bind kernel/kthread.c:493 [inline]
lr : kthread_unpark+0x148/0x214 kernel/kthread.c:586
sp : ffff80001d007710
x29: ffff80001d007710 x28: 1ffff00002929a9d x27: dfff800000000000
x26: 1fffe0001a210004 x25: dfff800000000000 x24: dfff800000000000
x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000d1080024
x20: ffff0000c2033400 x19: ffff0000d1080000 x18: ffff80001d007280
x17: 1fffe0003690158e x16: ffff80000824e188 x15: 0000000000000002
x14: 1ffff0000292a06a x13: 588914f92d7b4df2 x12: 0000000000000003
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c1f351c0
x8 : ffff800008228bfc x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000804605c
x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __kthread_bind kernel/kthread.c:493 [inline]
 kthread_unpark+0x148/0x214 kernel/kthread.c:586
 kthread_stop+0x190/0x788 kernel/kthread.c:662
 destroy_workqueue+0xec/0xa34 kernel/workqueue.c:4451
 reiserfs_put_super+0x320/0x444 fs/reiserfs/super.c:631
 generic_shutdown_super+0x130/0x29c fs/super.c:475
 kill_block_super+0x70/0xdc fs/super.c:1414
 reiserfs_kill_sb+0x134/0x14c fs/reiserfs/super.c:570
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 1342344
hardirqs last  enabled at (1342343): [<ffff800011a7b76c>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (1342343): [<ffff800011a7b76c>] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
hardirqs last disabled at (1342344): [<ffff8000119a1bd4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (1341992): [<ffff8000081b6520>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (1341992): [<ffff8000081b6520>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (1341979): [<ffff8000081b6bb8>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (1341979): [<ffff8000081b6bb8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (1341979): [<ffff8000081b6bb8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (1341979): [<ffff8000081b6bb8>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace 6d3d75d4726e2063 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/13 13:06 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in kthread_unpark
* Struck through repros no longer work on HEAD.