INFO: task kworker/u4:5:611 blocked for more than 143 seconds. Not tainted 6.1.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:0 pid:611 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:1) Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6693 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 jfs_write_inode+0x128/0x200 fs/jfs/inode.c:132 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x614/0x1770 fs/fs-writeback.c:1677 writeback_sb_inodes+0x978/0x1718 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:1974 wb_writeback+0x428/0x1130 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xc98/0x1034 fs/fs-writeback.c:2260 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 INFO: task syz.3.98:5151 blocked for more than 143 seconds. Not tainted 6.1.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.98 state:D stack:0 pid:5151 ppid:4879 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 wb_wait_for_completion+0x154/0x29c fs/fs-writeback.c:191 sync_inodes_sb+0x220/0x944 fs/fs-writeback.c:2739 sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 iterate_supers+0x124/0x1dc fs/super.c:757 ksys_sync+0xb4/0x1cc fs/sync.c:102 __arm64_sys_sync+0x14/0x24 fs/sync.c:113 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015ba50f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015ba58f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015ba4f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:3/130: #0: ffff0000c2e55938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001efd7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000d0a4a0e0 (&type->s_umount_key#52){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000e1a8b948 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 2 locks held by kworker/u4:4/229: 4 locks held by kworker/u4:5/611: #0: ffff0000c2e55938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800021387c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000e1a64bc8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 2 locks held by getty/4059: #0: ffff0000d6063098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001efb02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198 2 locks held by kworker/1:12/4465: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800022f47c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 4 locks held by kworker/0:10/4600: #0: ffff0000c46b8938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800023db7c20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000d13ad190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff0000d13ad190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b0/0x42e4 drivers/usb/core/hub.c:5801 #3: ffff00010c06e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff00010c06e190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x480 drivers/base/dd.c:990 3 locks held by kworker/0:13/4606: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800021947c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000da491240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 4 locks held by kworker/u4:8/4733: #0: ffff0000c2e55938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800023e17c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000f71c80e0 (&type->s_umount_key#52){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000e1a881c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 4 locks held by syz.1.128/5036: 2 locks held by syz.3.98/5151: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 2 locks held by syz.2.150/5269: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 3 locks held by kworker/0:17/5381: #0: ffff0000d59f5d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800023567c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.0.173/5474: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 4 locks held by syz.4.193/5546: 2 locks held by syz.3.293/5793: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 4 locks held by syz.2.311/5871: 2 locks held by syz.1.370/6013: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 4 locks held by udevd/6398: #0: ffff0000f1db4c30 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff0000d1422488 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x384 fs/kernfs/file.c:154 #2: ffff0000fc2db830 (kn->active#12){.+.+}-{0:0}, at: kernfs_seq_start+0x74/0x384 fs/kernfs/file.c:155 #3: ffff00010c06e190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:842 [inline] #3: ffff00010c06e190 (&dev->mutex){....}-{3:3}, at: serial_show+0x30/0xac drivers/usb/core/sysfs.c:142 2 locks held by kworker/u4:18/6569: 2 locks held by syz.4.645/7019: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 3 locks held by syz-executor/7335: #0: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 #1: ffff000102edd3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x208/0x420 drivers/net/wireguard/device.c:49 #2: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e0/0x77c kernel/rcu/tree_exp.h:962 2 locks held by syz.2.789/7359: #0: ffff0000f18120e0 (&type->s_umount_key#52){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:755 #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce8147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2737 =============================================