INFO: task syz.5.609:7136 blocked for more than 143 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.609 state:D stack:0 pid:7136 tgid:7122 ppid:6654 task_flags:0x400040 flags:0x00000001 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0xa4/0x140 kernel/sched/core.c:7282 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7339 rwsem_down_write_slowpath+0x6c0/0x115c kernel/locking/rwsem.c:1215 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1626 filemap_invalidate_lock include/linux/fs.h:1084 [inline] blkdev_fallocate+0x22c/0x354 block/fops.c:908 vfs_fallocate+0x514/0x650 fs/open.c:338 madvise_remove mm/madvise.c:1039 [inline] madvise_vma_behavior+0x26f4/0x3348 mm/madvise.c:1352 madvise_walk_vmas+0x4b4/0x9a4 mm/madvise.c:1713 madvise_do_behavior+0x5f4/0x7c4 mm/madvise.c:1929 do_madvise+0x1ac/0x278 mm/madvise.c:2022 __do_sys_madvise mm/madvise.c:2031 [inline] __se_sys_madvise mm/madvise.c:2029 [inline] __arm64_sys_madvise+0xa4/0xc0 mm/madvise.c:2029 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x25c arch/arm64/kernel/entry-common.c:723 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:742 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 2 locks held by kworker/u8:0/12: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80008ea07be0 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 1 lock held by khungtaskd/31: #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: __ll_sc_atomic64_fetch_or arch/arm64/include/asm/atomic_ll_sc.h:-1 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: arch_atomic64_fetch_or arch/arm64/include/asm/atomic.h:86 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: raw_atomic64_fetch_or include/linux/atomic/atomic-arch-fallback.h:3816 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: raw_atomic_long_fetch_or include/linux/atomic/atomic-long.h:1090 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: arch_test_and_set_bit include/asm-generic/bitops/atomic.h:42 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:72 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x0/0x44 kernel/sched/sched.h:3869 3 locks held by kworker/u8:4/218: 5 locks held by kworker/u8:6/1772: #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff800096387be0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 #2: ffff800089b78428 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x100/0x6b8 net/core/net_namespace.c:673 #3: ffff0000d7bbd590 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x10c/0x2d4 drivers/net/wireguard/device.c:249 #4: ffff800088acbce8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #4: ffff800088acbce8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x34c/0x67c kernel/rcu/tree_exp.h:961 3 locks held by kworker/u8:8/1863: #0: ffff0000cee07940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff800097087be0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 #2: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by getty/4453: #0: ffff0000d42330a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009228b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x354/0xf84 drivers/tty/n_tty.c:2211 1 lock held by syz.5.609/7130: 1 lock held by syz.5.609/7131: 2 locks held by syz.5.609/7136: #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:1029 [inline] #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_fallocate+0x208/0x354 block/fops.c:907 #1: ffff0000c148ac10 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:1084 [inline] #1: ffff0000c148ac10 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x22c/0x354 block/fops.c:908 1 lock held by syz.3.636/7262: #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1044 [inline] #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x44c/0x624 block/fops.c:800 1 lock held by syz.2.639/7274: #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1044 [inline] #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x44c/0x624 block/fops.c:800 1 lock held by syz.0.644/7315: #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1044 [inline] #0: ffff0000c148aa78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x44c/0x624 block/fops.c:800 9 locks held by syz-executor/7611: #0: ffff0000d439a410 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2724 [inline] #0: ffff0000d439a410 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x240/0xa14 fs/read_write.c:684 #1: ffff0000ce165480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x3c0 fs/kernfs/file.c:343 #2: ffff0000ca26b008 (kn->active#49){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000ca26b008 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f4/0x3c0 fs/kernfs/file.c:344 #3: ffff800089383240 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd8/0x2d0 drivers/net/netdevsim/bus.c:234 #4: ffff0001158f5128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #4: ffff0001158f5128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock+0x8c/0xb8 drivers/base/dd.c:1174 #5: ffff0001158f3258 (&devlink->lock_key#10){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:292 #6: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #7: ffff00010fae0dd0 (&dev_instance_lock_key#23){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2818 [inline] #7: ffff00010fae0dd0 (&dev_instance_lock_key#23){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x48c/0x18d8 net/core/dev.c:12378 #8: ffff800088acbce8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #8: ffff800088acbce8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x318/0x67c kernel/rcu/tree_exp.h:961 2 locks held by syz-executor/7628: 1 lock held by syz-executor/7797: #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x5c4/0x984 net/core/rtnetlink.c:7001 2 locks held by syz-executor/7808: #0: ffff8000893058c8 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:186 #1: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock+0x38/0x10c net/core/rtnetlink.c:341 1 lock held by syz-executor/7867: #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by cmp/7883: =============================================