INFO: task syz.4.86:5162 blocked for more than 206 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.86 state:D stack:0 pid:5162 tgid:5157 ppid:4673 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:1/14: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80008ea27be0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 3 locks held by kworker/1:1/26: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80008eaf7be0 (deferred_process_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 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:2/39: #0: ffff0000ce57e140 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80008efd7be0 ((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 3 locks held by kworker/u8:3/40: 2 locks held by kworker/u8:4/138: 3 locks held by kworker/0:2/858: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff800093137be0 (rx_mode_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 3 locks held by kworker/u8:6/3605: #0: ffff0000c004c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80009a937be0 ((linkwatch_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 kworker/u8:7/3789: #0: ffff0000c004c940 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff800097de7be0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 1 lock held by udevd/4301: 2 locks held by getty/4450: #0: ffff0000d41ab0a0 (&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 3 locks held by kworker/1:7/4842: 5 locks held by kworker/u8:8/5025: #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff800092207be0 (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: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #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 1 lock held by syz.4.86/5160: 2 locks held by syz.4.86/5161: 2 locks held by syz.4.86/5162: #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:1029 [inline] #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_fallocate+0x208/0x354 block/fops.c:907 #1: ffff0000c154f110 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:1084 [inline] #1: ffff0000c154f110 (mapping.invalidate_lock){++++}-{4:4}, at: blkdev_fallocate+0x22c/0x354 block/fops.c:908 1 lock held by syz.3.125/5395: #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1044 [inline] #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x44c/0x624 block/fops.c:800 1 lock held by syz.3.125/5400: #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:1029 [inline] #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blk_ioctl_zeroout block/ioctl.c:237 [inline] #0: ffff0000c154ef78 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_common_ioctl+0x11b0/0x1fe4 block/ioctl.c:666 2 locks held by syz-executor/5648: #0: ffff0000f11e4ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close+0x2c/0xb8 net/bluetooth/hci_core.c:500 #1: ffff0000f11e40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x424/0xd88 net/bluetooth/hci_sync.c:5356 1 lock held by syz-executor/5673: #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock+0x38/0x10c net/core/rtnetlink.c:341 2 locks held by syz-executor/5738: #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/5855: #0: ffff800089b85900 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz.5.202/5880: =============================================