INFO: task dhcpcd:3080 blocked for more than 430 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:0 pid:3080 tgid:3080 ppid:3079 task_flags:0x400140 flags:0x00000000 Call Trace: [] context_switch kernel/sched/core.c:5526 [inline] [] __schedule+0x1de4/0x4ff0 kernel/sched/core.c:7277 [] __schedule_loop kernel/sched/core.c:7354 [inline] [] schedule+0xae/0x260 kernel/sched/core.c:7369 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:7426 [] __mutex_lock_common kernel/locking/mutex.c:726 [inline] [] __mutex_lock+0xb92/0x192e kernel/locking/mutex.c:821 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:874 [] rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 [] rtnl_net_lock include/linux/rtnetlink.h:134 [inline] [] devinet_ioctl+0x1a2/0x1bb0 net/ipv4/devinet.c:1120 [] inet_ioctl+0x332/0x3b0 net/ipv4/af_inet.c:1009 [] sock_do_ioctl+0x100/0x24e net/socket.c:1325 [] sock_ioctl+0x238/0xc6c net/socket.c:1446 [] vfs_ioctl fs/ioctl.c:51 [inline] [] __do_sys_ioctl fs/ioctl.c:597 [inline] [] __se_sys_ioctl fs/ioctl.c:583 [inline] [] __riscv_sys_ioctl+0x17c/0x1e2 fs/ioctl.c:583 [] syscall_handler+0x92/0x114 arch/riscv/include/asm/syscall.h:112 [] do_trap_ecall_u+0x4ca/0x658 arch/riscv/kernel/traps.c:341 [] handle_exception+0x168/0x174 arch/riscv/kernel/entry.S:237 INFO: task kworker/u8:2:4723 blocked for more than 430 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:2 state:D stack:0 pid:4723 tgid:4723 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: [] context_switch kernel/sched/core.c:5526 [inline] [] __schedule+0x1de4/0x4ff0 kernel/sched/core.c:7277 [] __schedule_loop kernel/sched/core.c:7354 [inline] [] schedule+0xae/0x260 kernel/sched/core.c:7369 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:7426 [] __mutex_lock_common kernel/locking/mutex.c:726 [inline] [] __mutex_lock+0xb92/0x192e kernel/locking/mutex.c:821 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:874 [] rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 [] rtnl_net_lock include/linux/rtnetlink.h:134 [inline] [] addrconf_verify_work+0x1c/0x3c net/ipv6/addrconf.c:4770 [] process_one_work+0x9c6/0x22b2 kernel/workqueue.c:3396 [] process_scheduled_works kernel/workqueue.c:3479 [inline] [] worker_thread+0x532/0xcaa kernel/workqueue.c:3560 [] kthread+0x312/0x438 kernel/kthread.c:436 [] ret_from_fork_kernel+0x94/0xe76 arch/riscv/kernel/process.c:230 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:368 INFO: task kworker/u8:9:6486 blocked for more than 430 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:9 state:D stack:0 pid:6486 tgid:6486 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: netns cleanup_net Call Trace: [] context_switch kernel/sched/core.c:5526 [inline] [] __schedule+0x1de4/0x4ff0 kernel/sched/core.c:7277 [] __schedule_loop kernel/sched/core.c:7354 [inline] [] schedule+0xae/0x260 kernel/sched/core.c:7369 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:7426 [] __mutex_lock_common kernel/locking/mutex.c:726 [inline] [] __mutex_lock+0xb92/0x192e kernel/locking/mutex.c:821 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:874 [] rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 [] default_device_exit_batch+0x94/0x50c net/core/dev.c:13262 [] ops_exit_list net/core/net_namespace.c:206 [inline] [] ops_undo_list+0x3e6/0x9aa net/core/net_namespace.c:253 [] cleanup_net+0x41e/0x7e6 net/core/net_namespace.c:706 [] process_one_work+0x9c6/0x22b2 kernel/workqueue.c:3396 [] process_scheduled_works kernel/workqueue.c:3479 [inline] [] worker_thread+0x532/0xcaa kernel/workqueue.c:3560 [] kthread+0x312/0x438 kernel/kthread.c:436 [] ret_from_fork_kernel+0x94/0xe76 arch/riscv/kernel/process.c:230 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:368 INFO: task syz-executor:6498 blocked for more than 431 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6498 tgid:6498 ppid:6493 task_flags:0x400140 flags:0x00000000 Call Trace: [] context_switch kernel/sched/core.c:5526 [inline] [] __schedule+0x1de4/0x4ff0 kernel/sched/core.c:7277 [] __schedule_loop kernel/sched/core.c:7354 [inline] [] schedule+0xae/0x260 kernel/sched/core.c:7369 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:7426 [] __mutex_lock_common kernel/locking/mutex.c:726 [inline] [] __mutex_lock+0xb92/0x192e kernel/locking/mutex.c:821 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:874 [] rtnl_lock net/core/rtnetlink.c:80 [inline] [] rtnl_nets_lock net/core/rtnetlink.c:366 [inline] [] rtnl_newlink+0xa38/0x2302 net/core/rtnetlink.c:4219 [] rtnetlink_rcv_msg+0x8c2/0xd62 net/core/rtnetlink.c:7137 [] netlink_rcv_skb+0x1e8/0x392 net/netlink/af_netlink.c:2556 [] rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:7164 [] netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] [] netlink_unicast+0x4f6/0x7be net/netlink/af_netlink.c:1345 [] netlink_sendmsg+0x7e2/0xd64 net/netlink/af_netlink.c:1900 [] sock_sendmsg_nosec net/socket.c:800 [inline] [] __sock_sendmsg+0xce/0x1ce net/socket.c:815 [] __sys_sendto+0x25c/0x326 net/socket.c:2281 [] __do_sys_sendto net/socket.c:2288 [inline] [] __se_sys_sendto net/socket.c:2284 [inline] [] __riscv_sys_sendto+0xc0/0x158 net/socket.c:2284 [] syscall_handler+0x92/0x114 arch/riscv/include/asm/syscall.h:112 [] do_trap_ecall_u+0x4ca/0x658 arch/riscv/kernel/traps.c:341 [] handle_exception+0x168/0x174 arch/riscv/kernel/entry.S:237 Showing all locks held in the system: locks held by ksoftirqd/0/15: 2, last CPU#0: #0: ffffaf805cbce298 (bh_lock){+.-.}-{3:3}, at: napi_skb_cache_get+0x258/0xb18 net/core/skbuff.c:289 #1: ffffaf805cbbd498 (hrtimer_bases.lock){-.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:347 [inline] #1: ffffaf805cbbd498 (hrtimer_bases.lock){-.-.}-{2:2}, at: advance_sched+0xbc/0xbfc net/sched/sch_taprio.c:931 locks held by khungtaskd/32: 1, last CPU#1: #0: ffffffff88bf8880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:847 [inline] #0: ffffffff88bf8880 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3e/0x1a0 kernel/locking/lockdep.c:6871 locks held by hwrng/793: 1, on CPU#1: #0: ffffffff8946c3c0 (reading_mutex){+.+.}-{4:4}, at: hwrng_fillfn+0x92/0x6ac drivers/char/hw_random/core.c:561 locks held by kworker/1:1H/932: 3, on CPU#1: #0: ffffaf8016294940 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f8001ff7b50 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 #2: ffffffff88c0b5a8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1aa/0x382 kernel/rcu/tree_exp.h:343 locks held by klogd/3036: 1, last CPU#1: #0: ffffffff88e2c290 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:304 [inline] #0: ffffffff88e2c290 (remove_cache_srcu){.+.+}-{0:0}, at: kasan_quarantine_reduce+0x68/0x1b4 mm/kasan/quarantine.c:259 locks held by dhcpcd/3080: 1, on CPU#1: #0: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 locks held by getty/3186: 2, on CPU#1: #0: ffffaf801be9a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3be/0x12fc drivers/tty/n_tty.c:2211 locks held by syz-executor/3218: 3, on CPU#1: #0: ffffaf8018fcc308 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x136/0x5e4 mm/mmap_lock.c:310 #1: ffffaf801c272558 (sb_pagefaults){.+.+}-{0:0}, at: percpu_down_read_freezable include/linux/percpu-rwsem.h:83 [inline] #1: ffffaf801c272558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs/super.h:19 [inline] #1: ffffaf801c272558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs/super.h:159 [inline] #1: ffffaf801c272558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1bc/0x14a0 fs/ext4/inode.c:6901 #2: ffffaf801c262938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xd40/0x1184 fs/jbd2/transaction.c:442 locks held by kworker/0:3/3749: 2, last CPU#0: #0: ffffaf8012023940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f800a447b50 ((gc_work).work){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 locks held by kworker/u8:2/4723: 3, on CPU#1: #0: ffffaf801d595940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f800a017b50 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 #2: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 locks held by kworker/u8:4/5880: 3, last CPU#1: #0: ffffaf801211c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f8004537b50 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 #2: ffffaf8019ec5258 (&devlink->lock_key#4){+.+.}-{4:4}, at: devl_trylock+0x22/0x2c net/devlink/core.c:314 locks held by kworker/u8:9/6486: 4, on CPU#1: #0: ffffaf801211e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f800bac7b50 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 #2: ffffffff8a25b048 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xd2/0x7e6 net/core/net_namespace.c:677 #3: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x22/0x2a net/core/rtnetlink.c:80 locks held by kworker/u8:11/6489: 3, last CPU#1: #0: ffffaf801211c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x132a/0x22b2 kernel/workqueue.c:3371 #1: ffff8f800bbb7b50 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8e8/0x22b2 kernel/workqueue.c:3372 #2: ffffaf801cc86258 (&devlink->lock_key){+.+.}-{4:4}, at: devl_trylock+0x22/0x2c net/devlink/core.c:314 locks held by syz-executor/6498: 2, on CPU#1: #0: ffffffff899d7fc8 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:304 [inline] #0: ffffffff899d7fc8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0xfe/0x2f8 net/core/rtnetlink.c:599 #1: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:366 [inline] #1: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xa38/0x2302 net/core/rtnetlink.c:4219 locks held by syz.3.501/6594: 2, on CPU#1: #0: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8a275660 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x39e/0xd62 net/core/rtnetlink.c:7143 #1: ffffffff88c0b5a8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x26e/0x382 kernel/rcu/tree_exp.h:311 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 32 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:149 [] show_stack+0x30/0x3c arch/riscv/kernel/stacktrace.c:155 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x114/0x1aa lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x25e/0x3ae lib/nmi_backtrace.c:123 [] nmi_trigger_cpumask_backtrace+0x2ac/0x4ee lib/nmi_backtrace.c:66 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:349 [] cpumask_backtrace+0x24/0x30 lib/nmi_backtrace.c:136 [] trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] [] __sys_info lib/sys_info.c:157 [inline] [] sys_info+0x208/0x24e lib/sys_info.c:165 [] check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline] [] watchdog+0xa26/0x1282 kernel/hung_task.c:561 [] kthread+0x312/0x438 kernel/kthread.c:436 [] ret_from_fork_kernel+0x94/0xe76 arch/riscv/kernel/process.c:230 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:368 Sending NMI from CPU 1 to CPUs 0: After 10 seconds, these CPUS still haven't responded to the NMI: 0