INFO: task syz.1.762:8862 blocked for more than 143 seconds. Not tainted syzkaller #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.762 state:D stack:21272 pid:8862 tgid:8860 ppid:5604 task_flags:0x40054c flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5584 [inline] __schedule+0x1768/0x5780 kernel/sched/core.c:7389 __schedule_loop kernel/sched/core.c:7466 [inline] rt_mutex_schedule+0x76/0xf0 kernel/sched/core.c:7731 rt_mutex_slowlock_block+0x540/0x6a0 kernel/locking/rtmutex.c:1670 __rt_mutex_slowlock kernel/locking/rtmutex.c:1747 [inline] __rt_mutex_slowlock_locked kernel/locking/rtmutex.c:1787 [inline] rt_mutex_slowlock+0x2d4/0x780 kernel/locking/rtmutex.c:1827 __rt_mutex_lock kernel/locking/rtmutex.c:1842 [inline] __mutex_lock_common kernel/locking/rtmutex_api.c:562 [inline] mutex_lock_nested+0x163/0x1d0 kernel/locking/rtmutex_api.c:580 rcu_barrier+0x175/0x610 kernel/rcu/tree.c:4002 netdev_run_todo+0x2fc/0x1150 net/core/dev.c:12017 tun_detach drivers/net/tun.c:660 [inline] tun_chr_close+0x13f/0x1c0 drivers/net/tun.c:3623 __fput+0x41a/0xa70 fs/file_table.c:512 fput_close_sync+0x11f/0x240 fs/file_table.c:618 filp_close_sync+0x6e/0xa0 fs/open.c:1574 close_files fs/file.c:572 [inline] put_files_struct+0x233/0x3c0 fs/file.c:584 do_exit+0x6f0/0x2360 kernel/exit.c:977 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 get_signal+0x136a/0x1430 kernel/signal.c:3113 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f386d4394d9 RSP: 002b:00007f386b665028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000070 RBX: 00007f386d6b6090 RCX: 00007f386d4394d9 RDX: 000000000c048094 RSI: 0000200000000280 RDI: 0000000000000003 RBP: 00007f386d4c804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f386d6b6128 R14: 00007f386d6b6090 R15: 00007ffed31e9538 INFO: task syz.5.767:8876 blocked for more than 143 seconds. Not tainted syzkaller #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.767 state:D stack:24696 pid:8876 tgid:8875 ppid:7675 task_flags:0x40054c flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5584 [inline] __schedule+0x1768/0x5780 kernel/sched/core.c:7389 __schedule_loop kernel/sched/core.c:7466 [inline] rt_mutex_schedule+0x76/0xf0 kernel/sched/core.c:7731 rt_mutex_slowlock_block+0x540/0x6a0 kernel/locking/rtmutex.c:1670 __rt_mutex_slowlock kernel/locking/rtmutex.c:1747 [inline] __rt_mutex_slowlock_locked kernel/locking/rtmutex.c:1787 [inline] rt_mutex_slowlock+0x2d4/0x780 kernel/locking/rtmutex.c:1827 __rt_mutex_lock kernel/locking/rtmutex.c:1842 [inline] __mutex_lock_common kernel/locking/rtmutex_api.c:562 [inline] mutex_lock_nested+0x163/0x1d0 kernel/locking/rtmutex_api.c:580 rcu_barrier+0x175/0x610 kernel/rcu/tree.c:4002 netdev_run_todo+0x2fc/0x1150 net/core/dev.c:12017 tun_detach drivers/net/tun.c:660 [inline] tun_chr_close+0x13f/0x1c0 drivers/net/tun.c:3623 __fput+0x41a/0xa70 fs/file_table.c:512 fput_close_sync+0x11f/0x240 fs/file_table.c:618 filp_close_sync+0x6e/0xa0 fs/open.c:1574 close_files fs/file.c:572 [inline] put_files_struct+0x233/0x3c0 fs/file.c:584 do_exit+0x6f0/0x2360 kernel/exit.c:977 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 get_signal+0x136a/0x1430 kernel/signal.c:3113 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f230fc394d9 RSP: 002b:00007f230de86028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000030 RBX: 00007f230feb5fa0 RCX: 00007f230fc394d9 RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000000000000003 RBP: 00007f230fcc804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f230feb6038 R14: 00007f230feb5fa0 R15: 00007ffd760aa508 Showing all locks held in the system: locks held by kworker/u8:0/13: 3, last CPU#1: #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc90000127c40 ((linkwatch_work).work){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000127c40 ((linkwatch_work).work){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000127c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc90000127c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #2: ffffffff90813298 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:313 locks held by rcuc/0/20: 4, on CPU#0: #0: ffffffff8f255b40 (local_bh){.+.+}-{1:3}, at: __local_bh_disable_ip+0x3d/0x420 kernel/softirq.c:186 #1: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: __local_bh_disable_ip+0x3d/0x420 kernel/softirq.c:186 #2: ffffffff8f3c16e0 (rcu_callback){....}-{0:0}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #2: ffffffff8f3c16e0 (rcu_callback){....}-{0:0}, at: rcu_cpu_kthread+0x217/0x1700 kernel/rcu/tree.c:3000 #3: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1216 [inline] #3: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550 arch/x86/kernel/unwind_orc.c:495 locks held by khungtaskd/38: 1, on CPU#0: #0: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8f3c15c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by kworker/u8:5/71: 8, on CPU#0: #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff88813fe3c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc9000157fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000157fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000157fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc9000157fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #2: ffff88802b3b8310 (&devlink->lock_key#5){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xca0 drivers/net/netdevsim/dev.c:834