INFO: task syz-executor.3:29406 blocked for more than 143 seconds. Not tainted 5.12.0-next-20210505-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28792 pid:29406 ppid: 8454 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 raw_init+0x296/0x340 net/can/raw.c:339 can_create+0x27c/0x4d0 net/can/af_can.c:168 __sock_create+0x3de/0x780 net/socket.c:1408 sock_create net/socket.c:1459 [inline] __sys_socket+0xef/0x200 net/socket.c:1501 __do_sys_socket net/socket.c:1510 [inline] __se_sys_socket net/socket.c:1508 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1508 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007fa85bf6b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe23508f4f R14: 00007fa85bf6b300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:3/128: #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88814016a938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc9000132fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffffffff8d692590 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:557 #3: ffffffff8bf828b0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x430 kernel/rcu/tree.c:4018 2 locks held by kworker/u4:6/260: #0: ffff8880b9d35258 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x801/0xe60 kernel/sched/fair.c:10665 #1: ffff8880b9d1f988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x1b8/0x670 kernel/sched/psi.c:863 1 lock held by khungtaskd/1647: #0: ffffffff8bf797a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by in:imklog/8137: #0: ffff888020cc8d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/8157: #0: ffff8880280aa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000fdc2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xd5b/0x12f0 drivers/tty/n_tty.c:2179 1 lock held by syz-executor.3/29406: #0: ffffffff8d692590 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 1 lock held by syz-executor.5/29571: #0: ffffffff8d692590 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fa/0x760 net/core/net_namespace.c:470 1 lock held by syz-executor.4/29573: #0: ffffffff8d692590 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fa/0x760 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1647 Comm: khungtaskd Not tainted 5.12.0-next-20210505-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+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd8e/0xf40 kernel/hung_task.c:338 kthread+0x3b1/0x4a0 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: 4852 Comm: systemd-journal Not tainted 5.12.0-next-20210505-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:seccomp_run_filters kernel/seccomp.c:400 [inline] RIP: 0010:__seccomp_filter+0x8e/0x15e0 kernel/seccomp.c:1181 Code: f2 f2 c7 40 18 f3 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 20 01 00 00 31 c0 e8 db 83 ff ff 4d 85 ff 0f 84 f5 08 00 00 cd 83 ff ff 48 b8 00 00 00 00 00 fc ff df 65 48 8b 1c 25 00 f0 RSP: 0018:ffffc90000eefd88 EFLAGS: 00000246 RAX: 00007f9889039840 RBX: ffffc90000eeff58 RCX: 0000000000000000 RDX: 1ffff920001ddffb RSI: ffffffff817559b6 RDI: ffffc90000eeffd8 RBP: 0000000000000069 R08: 0000000000000000 R09: ffffffff81758fea R10: ffffffff817558b4 R11: 0000000000000002 R12: 00000000ffffffff R13: 00000000000001a0 R14: 0000000000080042 R15: ffffc90000eefe30 FS: 00007f9889aaa8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f988738b000 CR3: 000000002c92a000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __secure_computing+0xfc/0x360 kernel/seccomp.c:1316 syscall_trace_enter.constprop.0+0x94/0x260 kernel/entry/common.c:67 do_syscall_64+0x1c/0xb0 arch/x86/entry/common.c:42 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9889039840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 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 RSP: 002b:00007ffc15023f68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc15024270 RCX: 00007f9889039840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005607f9772000 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 00005607f9766040 R14: 00007ffc15024230 R15: 00005607f97721d0