INFO: task kworker/0:7:4001 blocked for more than 142 seconds. Not tainted 5.6.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:7 D27424 4001 2 0x80004000 Workqueue: events nsim_dev_trap_report_work Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x7c9/0xc50 kernel/sched/core.c:4080 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 schedule+0x188/0x220 kernel/sched/core.c:4154 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4213 __mutex_lock_common+0x129f/0x2fc0 kernel/locking/mutex.c:1033 nsim_dev_trap_report_work+0x56/0xa60 drivers/net/netdevsim/dev.c:410 __mutex_lock kernel/locking/mutex.c:1103 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:1118 nsim_dev_trap_report_work+0x56/0xa60 drivers/net/netdevsim/dev.c:410 lock_is_held include/linux/lockdep.h:361 [inline] rcu_read_lock_sched_held+0x106/0x170 kernel/rcu/update.c:121 process_one_work+0x76e/0xfd0 kernel/workqueue.c:2266 atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:694 [inline] queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] do_raw_spin_lock+0xfe/0x800 kernel/locking/spinlock_debug.c:113 worker_thread+0xa7f/0x1450 kernel/workqueue.c:2412 kthread+0x317/0x340 kernel/kthread.c:255 rcu_lock_release+0x20/0x20 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1234 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 4 locks held by kworker/u4:4/215: 6 locks held by kworker/u4:9/590: #0: ffff8880a9b73d28 ((wq_completion)netns){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880a9b73d28 ((wq_completion)netns){+.+.}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2239 #1: ffffc90002fe7d88 (net_cleanup_work){+.+.}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2241 #2: ffffffff8938efa8 (pernet_ops_rwsem){++++}, at: cleanup_net+0xac/0xb80 net/core/net_namespace.c:551 #3: ffffffff8939d728 (devlink_mutex){+.+.}, at: devlink_pernet_pre_exit+0x1f/0x180 net/core/devlink.c:8316 #4: ffff8880a64f92e8 (&nsim_dev->port_list_lock){+.+.}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:687 [inline] #4: ffff8880a64f92e8 (&nsim_dev->port_list_lock){+.+.}, at: nsim_dev_reload_destroy+0x84/0x370 drivers/net/netdevsim/dev.c:865 #5: ffffffff89390be0 (rtnl_mutex){+.+.}, at: netdev_run_todo+0xada/0xcb0 net/core/dev.c:9640 1 lock held by khungtaskd/1141: #0: ffffffff890d9ac8 (rcu_read_lock){....}, at: rcu_lock_acquire+0x0/0x30 lib/xarray.c:75 3 locks held by kworker/1:4/2787: #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2239 #1: ffffc90007fefd88 ((linkwatch_work).work){+.+.}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2241 #2: ffffffff89390be0 (rtnl_mutex){+.+.}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:242 3 locks held by kworker/1:6/2800: #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2239 #1: ffffc9000808fd88 (deferred_process_work){+.+.}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2241 #2: ffffffff89390be0 (rtnl_mutex){+.+.}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by kworker/0:7/4001: #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880aa426d28 ((wq_completion)events){+.+.}, at: process_one_work+0x6df/0xfd0 kernel/workqueue.c:2239 #1: ffffc900015d7d88 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}, at: process_one_work+0x71e/0xfd0 kernel/workqueue.c:2241 #2: ffff8880a64f92e8 (&nsim_dev->port_list_lock){+.+.}, at: nsim_dev_trap_report_work+0x56/0xa60 drivers/net/netdevsim/dev.c:410 1 lock held by in:imklog/6629: #0: ffff8880a4023360 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:826 1 lock held by syz-fuzzer/7003: 1 lock held by syz-executor.0/8384: 1 lock held by syz-executor.2/8389: #0: ffffffff89390be0 (rtnl_mutex){+.+.}, at: netdev_run_todo+0xada/0xcb0 net/core/dev.c:9640 3 locks held by syz-executor.4/8393: 1 lock held by syz-executor.5/8416: #0: ffffffff89390be0 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff89390be0 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x83c/0xd40 net/core/rtnetlink.c:5433 1 lock held by syz-executor.3/8527: #0: ffffffff89390be0 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff89390be0 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x83c/0xd40 net/core/rtnetlink.c:5433 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1141 Comm: khungtaskd Not tainted 5.6.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 nmi_cpu_backtrace+0x9f/0x180 lib/nmi_backtrace.c:101 arch_trigger_cpumask_backtrace+0x10/0x10 arch/x86/kernel/apic/hw_nmi.c:38 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xd2a/0xd40 kernel/hung_task.c:289 kthread+0x317/0x340 kernel/kthread.c:255 hungtask_pm_notify+0x50/0x50 kernel/hung_task.c:265 kthread_blkcg+0xd0/0xd0 kernel/kthread.c:1234 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4091 Comm: systemd-journal Not tainted 5.6.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:seccomp_run_filters+0xd7/0x2f0 kernel/seccomp.c:273 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 ef e8 b1 b6 3b 00 48 8b 6d 00 4c 8d 75 38 48 83 c5 30 48 89 e8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 ef e8 8f b6 3b 00 48 8b 7c 24 08 4c 89 f6 ff 55 00 41 RSP: 0018:ffffc90001637cd8 EFLAGS: 00000246 RAX: 1ffff920001a8c06 RBX: 000000007fff0000 RCX: ffff888095122280 RDX: 0000000000000000 RSI: 0000000000000111 RDI: ffffffff88c6067a RBP: ffffc90000d46030 R08: ffffffff817520f8 R09: ffffffff8174dbe2 R10: ffff888095122280 R11: 0000000000000002 R12: ffff88809557af00 R13: 000000007fff0000 R14: ffffc90000d46038 R15: dffffc0000000000 FS: 00007ffbd61878c0(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbd3559000 CR3: 00000000954dd000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __seccomp_filter+0x393/0x15c0 kernel/seccomp.c:815 pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:650 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:55 [inline] do_raw_spin_unlock+0x134/0x8d0 kernel/locking/spinlock_debug.c:139 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0xb4/0xd0 kernel/locking/spinlock.c:191 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x592/0x640 lib/debugobjects.c:998 refcount_dec_and_lock_irqsave+0x29/0x170 lib/refcount.c:175 check_preemption_disabled+0x40/0x240 lib/smp_processor_id.c:16 __secure_computing+0x19b/0x320 kernel/seccomp.c:948 syscall_trace_enter+0x519/0x8c0 arch/x86/entry/common.c:118 do_syscall_64+0x9e/0x1b0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7ffbd5443687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdd2e94bd8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffdd2e97c40 RCX: 00007ffbd5443687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 000055e796a048a0 RBP: 00007ffdd2e94c10 R08: 000055e794f213e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 000055e796a048a0 R15: 00007ffdd2e95250