INFO: task syz-executor.3:10931 blocked for more than 143 seconds. Not tainted 5.7.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26160 10931 7134 0x80004006 Call Trace: context_switch kernel/sched/core.c:3430 [inline] __schedule+0x8f3/0x1f90 kernel/sched/core.c:4156 schedule+0xd0/0x2a0 kernel/sched/core.c:4231 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1840 bcm_release+0x8b/0x660 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:605 sock_close+0x18/0x20 net/socket.c:1278 __fput+0x33e/0x880 fs/file_table.c:281 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xb3f/0x2de0 kernel/exit.c:806 do_group_exit+0x125/0x340 kernel/exit.c:904 get_signal+0x47b/0x24e0 kernel/signal.c:2739 do_signal+0x81/0x2240 arch/x86/kernel/signal.c:810 exit_to_usermode_loop+0x26c/0x360 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca59 Code: Bad RIP value. RSP: 002b:00007fd86ba7bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 00000000005078e0 RCX: 000000000045ca59 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b99 R14: 00000000004cdf85 R15: 00007fd86ba7c6d4 Showing all locks held in the system: 2 locks held by kworker/u4:3/117: #0: ffff8880ae737d58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1261 [inline] #0: ffff8880ae737d58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x233/0x1f90 kernel/sched/core.c:4102 #1: ffff8880ae722ec8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x304/0x410 kernel/sched/psi.c:817 3 locks held by kworker/u4:5/220: #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:279 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff88821b039138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239 #1: ffffc90001917dc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243 #2: ffffffff8a586130 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa50 net/core/net_namespace.c:565 1 lock held by khungtaskd/1127: #0: ffffffff899be040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by in:imklog/6525: 2 locks held by syz-executor.3/10931: #0: ffff8880505cbc90 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline] #0: ffff8880505cbc90 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:604 #1: ffffffff8a586130 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1840 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1127 Comm: khungtaskd Not tainted 5.7.0-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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11225 Comm: kworker/1:53 Not tainted 5.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:chacha_permute+0x511/0x6e0 lib/crypto/chacha.c:54 Code: 31 fc c1 c1 0c 41 c1 c4 10 44 01 ea 41 01 ef 89 54 24 1c 33 54 24 08 45 01 e6 45 31 f9 44 31 f0 41 c1 c1 0c c1 c0 0c 45 01 cb <01> cb 44 31 dd 31 de 44 89 5c 24 14 c1 c2 0c c1 c6 08 41 01 d0 c1 RSP: 0018:ffffc900178ef9e8 EFLAGS: 00000016 RAX: 0000000000c4041e RBX: 0000000018da8b97 RCX: 00000000bc691e40 RDX: 00000000b53b168a RSI: 000000003e9633ce RDI: 000000006c1c8624 RBP: 00000000d92d062f R08: 000000004748eddd R09: 000000000c313eb8 R10: 00000000958b8f92 R11: 000000002b1a09b2 R12: 000000004d248c7b R13: 00000000a89289df R14: 00000000bd04c895 R15: 00000000f9fdc1ce FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb550654000 CR3: 0000000093624000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: chacha_block_generic+0x97/0x200 lib/crypto/chacha.c:83 chacha20_block include/crypto/chacha.h:40 [inline] _extract_crng+0x132/0x260 drivers/char/random.c:1010 _get_random_bytes+0x16a/0x420 drivers/char/random.c:1562 eth_random_addr include/linux/etherdevice.h:225 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:508 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:557 [inline] nsim_dev_trap_report_work+0x397/0xbc0 drivers/net/netdevsim/dev.c:598 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351