INFO: task syz-executor.4:7496 blocked for more than 143 seconds. Not tainted 5.13.0-rc1-next-20210511-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28416 pid: 7496 ppid: 15350 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:4361 [inline] __schedule+0x91c/0x23c0 kernel/sched/core.c:5169 schedule+0xcf/0x270 kernel/sched/core.c:5248 rwsem_down_write_slowpath+0x7dc/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 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 bcm_release+0x94/0x780 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:599 sock_close+0x18/0x20 net/socket.c:1258 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xbfc/0x2a70 kernel/exit.c:826 do_group_exit+0x125/0x310 kernel/exit.c:923 __do_sys_exit_group kernel/exit.c:934 [inline] __se_sys_exit_group kernel/exit.c:932 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:932 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007faf2b9e6bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665f9 RDX: 00000000004665f9 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 000000000056c008 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff8dbecaff R14: 00007faf2b9e7300 R15: 0000000000022000 INFO: task syz-executor.4:7514 blocked for more than 143 seconds. Not tainted 5.13.0-rc1-next-20210511-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28416 pid: 7514 ppid: 15350 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:4361 [inline] __schedule+0x91c/0x23c0 kernel/sched/core.c:5169 schedule+0xcf/0x270 kernel/sched/core.c:5248 rwsem_down_write_slowpath+0x7dc/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 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 bcm_release+0x94/0x780 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:599 sock_close+0x18/0x20 net/socket.c:1258 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xbfc/0x2a70 kernel/exit.c:826 do_group_exit+0x125/0x310 kernel/exit.c:923 __do_sys_exit_group kernel/exit.c:934 [inline] __se_sys_exit_group kernel/exit.c:932 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:932 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007faf2b9e6bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665f9 RDX: 00000000004665f9 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 000000000056c008 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff8dbecaff R14: 00007faf2b9e7300 R15: 0000000000022000 INFO: task syz-executor.1:7529 blocked for more than 144 seconds. Not tainted 5.13.0-rc1-next-20210511-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28416 pid: 7529 ppid: 31261 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:4361 [inline] __schedule+0x91c/0x23c0 kernel/sched/core.c:5169 schedule+0xcf/0x270 kernel/sched/core.c:5248 rwsem_down_write_slowpath+0x7dc/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 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 bcm_release+0x94/0x780 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:599 sock_close+0x18/0x20 net/socket.c:1258 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xbfc/0x2a70 kernel/exit.c:826 do_group_exit+0x125/0x310 kernel/exit.c:923 __do_sys_exit_group kernel/exit.c:934 [inline] __se_sys_exit_group kernel/exit.c:932 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:932 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007f8a5e884bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665f9 RDX: 00000000004665f9 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 000000000056c008 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff7454858f R14: 00007f8a5e885300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:1/26: #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8881400eb138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc90000e0fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:557 1 lock held by khungtaskd/1591: #0: ffffffff8bf792a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by in:imklog/8349: #0: ffff8880277385f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.4/7496: #0: ffff888038b78750 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff888038b78750 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:598 #1: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 2 locks held by syz-executor.4/7514: #0: ffff88808e0d0210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff88808e0d0210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:598 #1: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 2 locks held by syz-executor.1/7529: #0: ffff88808e1d9710 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff88808e1d9710 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:598 #1: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 1 lock held by syz-executor.5/8194: #0: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:470 1 lock held by syz-executor.2/8196: #0: ffffffff8d6935d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1591 Comm: khungtaskd Not tainted 5.13.0-rc1-next-20210511-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+0xd3b/0xf50 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: 8394 Comm: agetty Not tainted 5.13.0-rc1-next-20210511-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:419 [inline] RIP: 0010:__lock_acquire+0xb96/0x5230 kernel/locking/lockdep.c:4890 Code: 80 3c 02 00 0f 85 43 45 00 00 48 83 7b 40 00 0f 84 dc 0d 00 00 0f b7 44 24 18 8b 4c 24 60 8b 5c 24 40 c1 e0 0d 66 0b 44 24 08 <89> de 98 2b 44 24 58 33 44 24 50 89 c2 29 c1 01 d8 c1 c2 06 31 ca RSP: 0018:ffffc9000c0ffcc8 EFLAGS: 00000006 RAX: 000000000000009f RBX: 00000000fffffffe RCX: 00000000ffffffff RDX: 1ffffffff2046088 RSI: 0000000000000008 RDI: ffffffff90230440 RBP: ffff88802a740a00 R08: 0000000000000000 R09: ffffffff902288b7 R10: fffffbfff2045116 R11: 0000000000000000 R12: ffff88802a740000 R13: ffff88802a740a22 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f9b9d577500(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4979624000 CR3: 000000001d1c7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_user_enter+0x9f/0x170 kernel/sched/cputime.c:709 __context_tracking_enter+0xef/0x100 kernel/context_tracking.c:82 user_enter_irqoff include/linux/context_tracking.h:41 [inline] __exit_to_user_mode kernel/entry/common.c:129 [inline] syscall_exit_to_user_mode+0x4e/0x60 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9b9d094910 Code: b6 fe ff ff 48 8d 3d 0f be 08 00 48 83 ec 08 e8 06 db 01 00 66 0f 1f 44 00 00 83 3d f9 2d 2c 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 de 9b 01 00 48 89 04 24 RSP: 002b:00007ffc31e28548 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffffb RBX: 0000000000000000 RCX: 00007f9b9d094910 RDX: 0000000000000001 RSI: 00007ffc31e285af RDI: 0000000000000000 RBP: 0000000000000008 R08: ffffffffffffff98 R09: 00007ffc31e27400 R10: 000000000000016d R11: 0000000000000246 R12: 0000000000000000 R13: 000055b7e280d900 R14: 00007ffc31e285b0 R15: 0000000000000012