INFO: task syz-executor.2:31091 blocked for more than 143 seconds. Not tainted 5.13.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24784 pid:31091 ppid: 16711 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 unregister_netdevice_notifier+0x8e/0x430 net/core/dev.c:1949 raw_release+0x5f/0x770 net/can/raw.c:354 __sock_release net/socket.c:599 [inline] sock_close+0xd8/0x260 net/socket.c:1258 __fput+0x352/0x7b0 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x736/0x23d0 kernel/exit.c:826 do_group_exit+0x168/0x2d0 kernel/exit.c:923 get_signal+0x1770/0x2180 kernel/signal.c:2818 arch_do_signal_or_restart+0x8e/0x6c0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0xac/0x200 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x70 kernel/entry/common.c:301 do_syscall_64+0x4b/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007ff341199188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000006 RBX: 000000000056c200 RCX: 00000000004665d9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c200 R13: 00007ffc9944260f R14: 00007ff341199300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1625: #0: ffffffff8cf15c40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8125: #0: ffff888018aea870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 3 locks held by kworker/u4:10/15501: #0: ffff8881400fb138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7aa/0x10c0 kernel/workqueue.c:2248 #1: ffffc900021ffd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e8/0x10c0 kernel/workqueue.c:2250 #2: ffffffff8df1e730 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc60 net/core/net_namespace.c:557 2 locks held by kworker/u4:14/15509: #0: ffff8880b9b34d18 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1334 [inline] #0: ffff8880b9b34d18 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x144/0x1120 kernel/sched/core.c:5061 #1: ffff8880b9b1f848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x51e/0x7a0 kernel/sched/psi.c:872 2 locks held by login/15691: #0: ffff88808336d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:267 #1: ffff88808336d130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:967 [inline] #1: ffff88808336d130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:990 [inline] #1: ffff88808336d130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x271/0x9a0 drivers/tty/tty_io.c:1133 2 locks held by syz-executor.2/31091: #0: ffff88809921dc50 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff88809921dc50 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release net/socket.c:598 [inline] #0: ffff88809921dc50 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: sock_close+0x94/0x260 net/socket.c:1258 #1: ffffffff8df1e730 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x8e/0x430 net/core/dev.c:1949 1 lock held by syz-executor.3/31808: #0: ffffffff8df1e730 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470 1 lock held by syz-executor.2/31810: #0: ffffffff8df1e730 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470 1 lock held by syz-executor.0/31820: #0: ffffffff8df1e730 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1625 Comm: khungtaskd Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x202/0x31e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xcfb/0xd40 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4845 Comm: systemd-journal Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x4c/0x190 lib/smp_processor_id.c:16 Code: 0f 1f 44 00 00 65 8b 1d 52 ad 41 76 65 8b 2d 83 07 42 76 89 ee 81 e6 ff ff ff 7f 31 ff 0f 1f 44 00 00 81 e5 ff ff ff 7f 74 2a <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 1e RSP: 0018:ffffc9000163f7b0 EFLAGS: 00000202 RAX: e173bc4a8692da00 RBX: 0000000000000000 RCX: ffff888017509c40 RDX: ffff888017509c40 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81d80420 R09: ffffed1003e7fc42 R10: ffffed1003e7fc42 R11: 0000000000000000 R12: ffff88801f3fe178 R13: dffffc0000000000 R14: ffffffff8a92a100 R15: ffffffff8a92a0c0 FS: 00007f2d590388c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d55c3c000 CR3: 0000000013592000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:325 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:1168 dput+0x23c/0x6f0 include/linux/rcupdate.h:707 path_put fs/namei.c:546 [inline] terminate_walk+0x3d2/0x580 fs/namei.c:649 path_openat+0x27e4/0x39b0 fs/namei.c:3495 do_filp_open+0x221/0x460 fs/namei.c:3521 do_sys_openat2+0x124/0x460 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1207 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2d585c785d Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffcb824b7e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffcb824baf0 RCX: 00007f2d585c785d RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005596fa66ac90 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff R13: 00005596fa65f040 R14: 00007ffcb824bab0 R15: 00005596fa66b110