INFO: task syz-executor.4:4230 blocked for more than 145 seconds. Not tainted 5.15.151-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack: 0 pid: 4230 ppid: 3994 flags:0x0000000d Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 wait_on_state fs/btrfs/extent_io.c:868 [inline] wait_extent_bit+0x3e4/0x52c fs/btrfs/extent_io.c:906 lock_extent_bits+0x100/0x1d4 fs/btrfs/extent_io.c:1469 btrfs_page_mkwrite+0x66c/0xde8 fs/btrfs/inode.c:8953 do_page_mkwrite+0x144/0x37c mm/memory.c:2892 wp_page_shared+0x14c/0x398 mm/memory.c:3229 do_wp_page+0x7cc/0x9c4 mm/memory.c:3330 handle_pte_fault mm/memory.c:4639 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x1bf8/0x3424 mm/memory.c:4854 __do_page_fault arch/arm64/mm/fault.c:505 [inline] do_page_fault+0x700/0xb60 arch/arm64/mm/fault.c:605 do_mem_abort+0x70/0x1d8 arch/arm64/mm/fault.c:819 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:358 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:418 el1h_64_sync+0x78/0x7c arch/arm64/kernel/entry.S:579 __arch_copy_to_user+0x88/0x218 arch/arm64/lib/copy_template.S:90 emit_last_fiemap_cache fs/btrfs/extent_io.c:5487 [inline] extent_fiemap+0xedc/0x10d4 fs/btrfs/extent_io.c:5697 btrfs_fiemap+0x100/0x150 fs/btrfs/inode.c:8576 ioctl_fiemap fs/ioctl.c:219 [inline] do_vfs_ioctl+0x1bcc/0x2a38 fs/ioctl.c:814 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 2 locks held by kworker/0:1/13: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800018957c00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 3 locks held by kworker/1:0/21: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000189e7c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000c9c4a240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x274/0x33c4 drivers/net/netdevsim/fib.c:1478 1 lock held by khungtaskd/27: #0: ffff800014ae1420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:268 3 locks held by kworker/0:2/1522: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020e57c00 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800014ae5930 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x54/0x4b0 kernel/rcu/tree.c:4039 3 locks held by udevd/3582: 2 locks held by getty/3718: #0: ffff0000d4018098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001a35e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 4 locks held by kworker/1:4/4041: 3 locks held by kworker/1:6/4069: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d3e7c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff00011182f240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x274/0x33c4 drivers/net/netdevsim/fib.c:1478 2 locks held by kworker/u4:7/4093: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d757c00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 3 locks held by syz-executor.4/4230: #0: ffff0000d62a9dd8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline] #0: ffff0000d62a9dd8 (&mm->mmap_lock){++++}-{3:3}, at: do_page_fault+0x380/0xb60 arch/arm64/mm/fault.c:586 #1: ffff0000d4542558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x144/0x37c mm/memory.c:2892 #2: ffff000114369838 (&ei->i_mmap_lock){.+.+}-{3:3}, at: btrfs_page_mkwrite+0x530/0xde8 fs/btrfs/inode.c:8942 4 locks held by kworker/u4:16/4928: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001fea7c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff8000169eecd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:558 #3: ffff800014ae5a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #3: ffff800014ae5a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 2 locks held by kworker/u4:18/4935: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000207e7c00 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 1 lock held by syz-executor.4/8366: #0: ffff0000cc200a08 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc2c drivers/block/nbd.c:1460 1 lock held by syz-executor.4/8373: #0: ffff0000cc200a08 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc2c drivers/block/nbd.c:1460 1 lock held by syz-executor.4/8376: #0: ffff0000cc200a08 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc2c drivers/block/nbd.c:1460 2 locks held by syz-executor.2/8392: 1 lock held by syz-executor.3/8397: =============================================