INFO: task kworker/u4:2:148 blocked for more than 143 seconds. Not tainted 5.15.161-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:2 state:D stack: 0 pid: 148 ppid: 2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:4) 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 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6518 __mutex_lock_common+0xba0/0x2154 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 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:1495 [inline] __writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705 writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:2001 wb_writeback+0x410/0xfc8 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xc44/0x1070 fs/fs-writeback.c:2288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 INFO: task syz.4.89:4464 blocked for more than 143 seconds. Not tainted 5.15.161-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.89 state:D stack: 0 pid: 4464 ppid: 3979 flags:0x00000009 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 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 inode_lock include/linux/fs.h:789 [inline] open_last_lookups fs/namei.c:3529 [inline] path_openat+0x640/0x26cc fs/namei.c:3739 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __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 INFO: task syz.4.89:4465 blocked for more than 143 seconds. Not tainted 5.15.161-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.89 state:D stack: 0 pid: 4465 ppid: 3979 flags:0x00000001 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 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 inode_lock include/linux/fs.h:789 [inline] open_last_lookups fs/namei.c:3529 [inline] path_openat+0x640/0x26cc fs/namei.c:3739 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __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: 1 lock held by khungtaskd/27: #0: ffff800014b214a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:2/148: #0: ffff0000c21d0138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001a477c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000db4aa0e0 (&type->s_umount_key#66){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000e41f3008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 4 locks held by kworker/u4:4/311: #0: ffff0000caa15138 ((wq_completion)phy17){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001ca27c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000eb378d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000eb378d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_rx_queued_mgmt+0xe4/0x2814 net/mac80211/ibss.c:1632 #3: ffff0000ca7017d0 (&local->sta_mtx){+.+.}-{3:3}, at: sta_info_destroy_addr+0x54/0xd4 net/mac80211/sta_info.c:1130 4 locks held by kworker/u4:5/592: #0: ffff0000d9757938 ((wq_completion)phy20){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d267c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000d89f4d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000d89f4d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_rx_queued_mgmt+0xe4/0x2814 net/mac80211/ibss.c:1632 #3: ffff0000d83917d0 (&local->sta_mtx){+.+.}-{3:3}, at: sta_info_destroy_addr+0x54/0xd4 net/mac80211/sta_info.c:1130 4 locks held by kworker/u4:6/1631: #0: ffff0000d1aca138 ((wq_completion)phy3){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000211c7c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000e28f0d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000e28f0d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1230 net/mac80211/ibss.c:1685 #3: ffff0000d1ed97d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1259 [inline] #3: ffff0000d1ed97d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1302 [inline] #3: ffff0000d1ed97d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x494/0x1230 net/mac80211/ibss.c:1713 4 locks held by kworker/u4:7/1756: #0: ffff0000db6ee138 ((wq_completion)phy18){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800021907c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000cb498d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000cb498d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1230 net/mac80211/ibss.c:1685 #3: ffff0000c1ae17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1259 [inline] #3: ffff0000c1ae17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1302 [inline] #3: ffff0000c1ae17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x494/0x1230 net/mac80211/ibss.c:1713 1 lock held by dhcpcd/3643: #0: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x108/0x6ec net/netlink/af_netlink.c:2351 2 locks held by getty/3736: #0: ffff0000d4328098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff800018e362e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 5 locks held by kworker/u5:5/3985: #0: ffff0000da9a0938 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001c9a7c00 ((work_completion)(&(&hdev->power_off)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000da998ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 net/bluetooth/hci_core.c:1737 #3: ffff0000da998078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x338/0x1060 net/bluetooth/hci_core.c:1782 #4: ffff800016b8ad68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1522 [inline] #4: ffff800016b8ad68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x220 net/bluetooth/hci_conn.c:1622 3 locks held by kworker/0:6/4019: #0: ffff0000d290e138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cbb7c00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 4 locks held by kworker/u4:9/4133: #0: ffff0000d6e3d938 ((wq_completion)phy19){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cf57c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000eba54d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000eba54d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1230 net/mac80211/ibss.c:1685 #3: ffff0000eb8b17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1259 [inline] #3: ffff0000eb8b17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1302 [inline] #3: ffff0000eb8b17d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x494/0x1230 net/mac80211/ibss.c:1713 5 locks held by kworker/u4:10/4134: #0: ffff0000d58c9138 ((wq_completion)phy5){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cf67c00 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000e2a44d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1033 [inline] #2: ffff0000e2a44d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1230 net/mac80211/ibss.c:1685 #3: ffff0000d56297d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1259 [inline] #3: ffff0000d56297d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1302 [inline] #3: ffff0000d56297d0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x494/0x1230 net/mac80211/ibss.c:1713 #4: ffff800014b25aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #4: ffff800014b25aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2f0/0x660 kernel/rcu/tree_exp.h:845 1 lock held by udevd/4149: #0: ffff0000cbc1f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x12c/0x89c block/bdev.c:817 4 locks held by syz.4.89/4456: 2 locks held by syz.4.89/4464: #0: ffff0000db4aa460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 2 locks held by syz.4.89/4465: #0: ffff0000db4aa460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e41f33c0 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 3 locks held by kworker/0:10/4725: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cd37c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000ea24d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x274/0x33c4 drivers/net/netdevsim/fib.c:1478 2 locks held by kworker/0:11/4726: 3 locks held by kworker/1:12/5812: #0: ffff0000d290e138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001caa7c00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 3 locks held by kworker/1:13/5813: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001a1c7c00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 1 lock held by syz-executor/6144: #0: ffff0000c0fae0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 4 locks held by kworker/u4:14/6680: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cdc7c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016a3bb50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:561 #3: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 1 lock held by syz-executor/6711: #0: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016a47328 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5626 3 locks held by syz.4.677/6955: 2 locks held by syz.2.678/6958: #0: ffff0000cbc1f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe0/0x6b0 block/bdev.c:912 #1: ffff0000cbb75468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x58/0x210 drivers/block/loop.c:2070 1 lock held by syz.1.679/6962: #0: ffff800014b25aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffff800014b25aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 =============================================