INFO: task syz.0.76:7023 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.76 state:D stack:0 pid:7023 tgid:7014 ppid:6585 task_flags:0x400040 flags:0x00000001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 rwsem_down_write_slowpath+0x6b4/0x10f4 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1591 filemap_invalidate_lock include/linux/fs.h:1082 [inline] blkdev_fallocate+0x23c/0x464 block/fops.c:909 vfs_fallocate+0x52c/0x668 fs/open.c:339 madvise_remove mm/madvise.c:1046 [inline] madvise_vma_behavior+0x1ff4/0x3760 mm/madvise.c:1360 madvise_walk_vmas+0x4bc/0x9c4 mm/madvise.c:1721 madvise_do_behavior+0x5f8/0x7c4 mm/madvise.c:1937 do_madvise+0x190/0x248 mm/madvise.c:2030 __do_sys_madvise mm/madvise.c:2039 [inline] __se_sys_madvise mm/madvise.c:2037 [inline] __arm64_sys_madvise+0xa4/0xc0 mm/madvise.c:2037 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #0: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x290/0x628 kernel/rcu/tree_exp.h:956 4 locks held by kworker/u8:1/13: #0: ffff0000c1843148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097d07be0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ad79d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf0/0x638 net/core/net_namespace.c:670 #3: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by khungtaskd/32: #0: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:6/621: 2 locks held by kworker/u8:11/2241: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a0d67be0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 2 locks held by kworker/u8:15/3533: 3 locks held by kworker/u8:19/4830: 2 locks held by dhcpcd/6270: #0: ffff0000d88a56f0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xec/0x72c net/netlink/af_netlink.c:2404 #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x8c/0x1d0 net/core/rtnetlink.c:6826 2 locks held by getty/6358: #0: ffff0000db4590a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f1e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfc8 drivers/tty/n_tty.c:2211 1 lock held by syz.0.76/7020: 2 locks held by syz.0.76/7022: 2 locks held by syz.0.76/7023: #0: ffff0000c146d838 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline] #0: ffff0000c146d838 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: blkdev_fallocate+0x218/0x464 block/fops.c:908 #1: ffff0000c146d9d8 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:1082 [inline] #1: ffff0000c146d9d8 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x23c/0x464 block/fops.c:909 4 locks held by kworker/1:12/7075: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009fc27be0 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000c2c2f280 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_fb_dirty drivers/gpu/drm/drm_fb_helper.c:333 [inline] #2: ffff0000c2c2f280 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_damage_work+0xa8/0x568 drivers/gpu/drm/drm_fb_helper.c:369 #3: ffff0000cac48128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x24/0x78 drivers/gpu/drm/drm_auth.c:435 1 lock held by syz-executor/7193: #0: ffff0000c1844188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x90/0x530 fs/kernfs/dir.c:1185 1 lock held by syz-executor/7265: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 7 locks held by syz-executor/7270: 4 locks held by syz-executor/7301: #0: ffff0000dbc28420 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2681 [inline] #0: ffff0000dbc28420 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000d063f488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x4d0 fs/kernfs/file.c:343 #2: ffff0000ce1afe18 (kn->active#49){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000ce1afe18 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f4/0x4d0 fs/kernfs/file.c:344 #3: ffff800091bf3c68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 3 locks held by syz-executor/7436: 2 locks held by syz-executor/7462: #0: ffff800092ad79d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x43c/0x674 net/core/net_namespace.c:577 #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz-executor/7468: 1 lock held by syz.9.105/7494: #0: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #0: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x33c/0x628 kernel/rcu/tree_exp.h:956 2 locks held by udevadm/7512: 1 lock held by udevd/7515: #0: ffff0000c1844188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x90/0x530 fs/kernfs/dir.c:1185 1 lock held by modprobe/7516: 1 lock held by udevd/7517: #0: ffff0000c1844188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x90/0x530 fs/kernfs/dir.c:1185 =============================================