INFO: task khugepaged:33 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:0 pid:33 ppid:2 flags:0x00000008 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1364/0x23b4 kernel/sched/core.c:6710 schedule+0xc4/0x170 kernel/sched/core.c:6786 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6845 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 __lru_add_drain_all+0x88/0x518 mm/swap.c:852 lru_add_drain_all+0x18/0x24 mm/swap.c:905 khugepaged_do_scan mm/khugepaged.c:2616 [inline] khugepaged+0x168/0x16b4 mm/khugepaged.c:2685 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:853 INFO: task syz-executor.5:10320 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:0 pid:10320 ppid:6038 flags:0x0000000d Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1364/0x23b4 kernel/sched/core.c:6710 schedule+0xc4/0x170 kernel/sched/core.c:6786 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6845 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 __lru_add_drain_all+0x88/0x518 mm/swap.c:852 lru_add_drain_all+0x18/0x24 mm/swap.c:905 invalidate_bdev+0x94/0xc0 block/bdev.c:86 invalidate_disk+0x48/0xe0 block/genhd.c:734 __loop_clr_fd+0x1d8/0x588 drivers/block/loop.c:1164 loop_clr_fd drivers/block/loop.c:1257 [inline] lo_ioctl+0x1238/0x1d08 drivers/block/loop.c:1563 blkdev_ioctl+0x3e4/0xae4 block/ioctl.c:621 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.2:10338 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:10338 ppid:6027 flags:0x0000000d Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1364/0x23b4 kernel/sched/core.c:6710 schedule+0xc4/0x170 kernel/sched/core.c:6786 schedule_timeout+0xb8/0x348 kernel/time/timer.c:2143 do_wait_for_common+0x30c/0x468 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 __flush_work+0x12c/0x1c0 kernel/workqueue.c:3389 flush_work+0x24/0x38 kernel/workqueue.c:3410 __lru_add_drain_all+0x4b0/0x518 mm/swap.c:897 lru_add_drain_all+0x18/0x24 mm/swap.c:905 invalidate_bdev+0x94/0xc0 block/bdev.c:86 invalidate_disk+0x48/0xe0 block/genhd.c:734 __loop_clr_fd+0x1d8/0x588 drivers/block/loop.c:1164 loop_clr_fd drivers/block/loop.c:1257 [inline] lo_ioctl+0x1238/0x1d08 drivers/block/loop.c:1563 blkdev_ioctl+0x3e4/0xae4 block/ioctl.c:621 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Showing all locks held in the system: 5 locks held by kworker/u4:1/12: #0: ffff0000c13e9938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x1480 kernel/workqueue.c:2572 #1: ffff800092a77c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f0/0x1480 kernel/workqueue.c:2574 #2: ffff8000909d1950 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x8d0 net/core/net_namespace.c:576 #3: ffff00012833a250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:54 [inline] #3: ffff00012833a250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x104/0x3cc net/devlink/core.c:279 #4: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 1 lock held by rcu_tasks_kthre/13: #0: ffff80008e2718d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffff80008e271c90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffff80008e271700 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:302 1 lock held by khugepaged/33: #0: ffff80008e30b5e8 (lock#2){+.+.}-{3:3}, at: __lru_add_drain_all+0x88/0x518 mm/swap.c:852 3 locks held by kworker/u4:3/40: #0: ffff0000c0029938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x6b4/0x1480 kernel/workqueue.c:2572 #1: ffff800092f77c20 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6f0/0x1480 kernel/workqueue.c:2574 #2: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 1 lock held by kworker/0:2/1611: 5 locks held by kworker/1:3/5572: 2 locks held by dhcpcd/5663: #0: ffff8000909c4208 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x590/0x858 net/socket.c:1269 #1: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 2 locks held by getty/5749: #0: ffff0000c3066098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000959122f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2187 4 locks held by kworker/0:7/6099: #0: ffff0000c0020d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x1480 kernel/workqueue.c:2572 #1: ffff800097597c20 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6f0/0x1480 kernel/workqueue.c:2574 #2: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 #3: ffff000101bf0768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5776 [inline] #3: ffff000101bf0768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_process_self_managed_hints+0x98/0x160 net/wireless/reg.c:3181 3 locks held by kworker/0:9/9971: #0: ffff0000c0020d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x1480 kernel/workqueue.c:2572 #1: ffff8000a64a7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6f0/0x1480 kernel/workqueue.c:2574 #2: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 1 lock held by syz-executor.5/10320: #0: ffff80008e30b5e8 (lock#2){+.+.}-{3:3}, at: __lru_add_drain_all+0x88/0x518 mm/swap.c:852 1 lock held by syz-executor.2/10338: #0: ffff80008e30b5e8 (lock#2){+.+.}-{3:3}, at: __lru_add_drain_all+0x88/0x518 mm/swap.c:852 1 lock held by syz-executor.1/10463: #0: ffff80008e30b5e8 (lock#2){+.+.}-{3:3}, at: __lru_add_drain_all+0x88/0x518 mm/swap.c:852 1 lock held by syz-executor.5/10526: #0: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xdc0 net/core/rtnetlink.c:6425 7 locks held by syz-executor.2/10533: #0: ffff0000da478410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x240/0x93c fs/read_write.c:580 #1: ffff00013b983c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc9b8490 (kn->active#46){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80008fcd77a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:209 #4: ffff00012e5f40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline] #4: ffff00012e5f40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff00012e5f40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x6a0 drivers/base/dd.c:1290 #5: ffff00012e5f7250 (&devlink->lock_key#7){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:54 #6: ffff8000909dd668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:78 =============================================