INFO: task kworker/u4:5:1018 blocked for more than 157 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:5 state:D stack:23408 pid: 1018 ppid: 2 flags:0x00004000
Workqueue: events_unbound fsnotify_connector_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
__synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:930
fsnotify_connector_destroy_workfn+0x49/0xa0 fs/notify/mark.c:164
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8b980ea0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6461
3 locks held by khugepaged/33:
1 lock held by in:imklog/6171:
3 locks held by syz-fuzzer/6478:
3 locks held by kworker/1:0/14837:
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc9000598fdb0 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffff88807db89490 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x5d/0xbc0 drivers/net/netdevsim/dev.c:838
7 locks held by kworker/u4:7/21524:
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880159d2138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc90001b47db0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffffffff8d0e2d10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:555
#3: ffffffff8d121f08 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x75/0x220 net/core/devlink.c:11366
#4: ffff88807bc4d5c0 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x4d/0x180 drivers/net/netdevsim/dev.c:951
#5: ffff88807db89490 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1439 [inline]
#5: ffff88807db89490 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0xca/0x300 drivers/net/netdevsim/dev.c:1650
#6: ffffffff8b98a130 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x440 kernel/rcu/tree.c:3985
2 locks held by syz-executor.1/25556:
#0: ffff88807ae0e0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
2 locks held by syz-executor.5/2996:
#0: ffff8880787160e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
2 locks held by syz-executor.3/3377:
#0: ffff888035af20e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
2 locks held by kworker/u4:1/7961:
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc9000a367db0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
2 locks held by agetty/23593:
#0: ffff8880a4882098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffff8880a4882130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:961 [inline]
#1: ffff8880a4882130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:984 [inline]
#1: ffff8880a4882130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x29f/0x910 drivers/tty/tty_io.c:1110
2 locks held by syz-executor.2/19947:
#0: ffff888038f9e0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
1 lock held by systemd-udevd/23304:
2 locks held by syz-executor.4/24157:
#0: ffff88807b78a0e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
2 locks held by syz-executor.0/24607:
#0: ffff88808e4b20e0 (&type->s_umount_key#73){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker mm/vmscan.c:678 [inline]
#1: ffffffff8ba68dd0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x77/0x2f0 mm/vmscan.c:673
2 locks held by kworker/u4:8/24624:
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c74138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc90004317db0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
3 locks held by kworker/0:4/24630:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 23267 Comm: systemd-udevd Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:preempt_count_sub+0x5f/0x150 kernel/sched/core.c:5468
Code: da 0e 85 c9 75 1b 65 8b 05 ee 21 b3 7e 89 c2 81 e2 ff ff ff 7f 39 da 7c 13 81 fb fe 00 00 00 76 63 f7 db 65 01 1d d1 21 b3 7e <5b> c3 e8 fa 1b 87 02 85 c0 74 f5 48 c7 c0 28 bd 6f 8d 48 ba 00 00
RSP: 0018:ffffc9001739fad0 EFLAGS: 00000297
RAX: 0000000080000001 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 00007f9464f000e7 R08: ffffffff8e824a10 R09: 0000000000000001
R10: fffff52002e73f6f R11: 0000000000086089 R12: ffffc9001739fb00
R13: 0000000000000000 R14: ffff8880704a0240 R15: ffff888014580040
FS: 00007f946608c8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b7342f1780 CR3: 00000001593c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
is_module_text_address+0x29/0x50 kernel/module.c:4753
kernel_text_address kernel/extable.c:145 [inline]
kernel_text_address kernel/extable.c:120 [inline]
__kernel_text_address+0x5a/0xc0 kernel/extable.c:105
unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline]
unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313
arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x85/0xb0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc mm/slab.c:3323 [inline]
kmem_cache_alloc+0x265/0x560 mm/slab.c:3507
getname_flags.part.0+0x50/0x4f0 fs/namei.c:138
getname_flags include/linux/audit.h:323 [inline]
getname fs/namei.c:217 [inline]
__do_sys_unlink fs/namei.c:4215 [inline]
__se_sys_unlink fs/namei.c:4213 [inline]
__x64_sys_unlink+0xb1/0x110 fs/namei.c:4213
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9464f000e7
Code: f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 bd 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffeee31d9f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000563e5c0e07d0 RCX: 00007f9464f000e7
RDX: 00007ffeee31d8d0 RSI: 00007ffeee31d8d0 RDI: 00007ffeee31da00
RBP: 00000000000021e6 R08: 00000000000001c0 R09: 0000000000000014
R10: 00007ffeee31da00 R11: 0000000000000246 R12: 00007ffeee31da00
R13: 0000563e5c0e07d0 R14: 0000000000000003 R15: 000000000000000e
----------------
Code disassembly (best guess):
0: da 0e fimull (%rsi)
2: 85 c9 test %ecx,%ecx
4: 75 1b jne 0x21
6: 65 8b 05 ee 21 b3 7e mov %gs:0x7eb321ee(%rip),%eax # 0x7eb321fb
d: 89 c2 mov %eax,%edx
f: 81 e2 ff ff ff 7f and $0x7fffffff,%edx
15: 39 da cmp %ebx,%edx
17: 7c 13 jl 0x2c
19: 81 fb fe 00 00 00 cmp $0xfe,%ebx
1f: 76 63 jbe 0x84
21: f7 db neg %ebx
23: 65 01 1d d1 21 b3 7e add %ebx,%gs:0x7eb321d1(%rip) # 0x7eb321fb
* 2a: 5b pop %rbx <-- trapping instruction
2b: c3 retq
2c: e8 fa 1b 87 02 callq 0x2871c2b
31: 85 c0 test %eax,%eax
33: 74 f5 je 0x2a
35: 48 c7 c0 28 bd 6f 8d mov $0xffffffff8d6fbd28,%rax
3c: 48 rex.W
3d: ba .byte 0xba