INFO: task syz.8.270:7746 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.8.270 state:D stack:0 pid:7746 tgid:7744 ppid:6345 task_flags:0x400140 flags:0x00800011 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5526 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7277 __schedule_loop kernel/sched/core.c:7354 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7369 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7426 rwsem_down_write_slowpath+0x6ec/0x1174 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:1632 inode_lock include/linux/fs.h:1024 [inline] do_lock_mount+0x158/0x63c fs/namespace.c:2768 do_new_mount_fc fs/namespace.c:3790 [inline] do_new_mount+0x360/0x538 fs/namespace.c:3848 path_mount+0x5f0/0xa88 fs/namespace.c:4168 do_mount+0xe8/0x148 fs/namespace.c:4181 __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount fs/namespace.c:4374 [inline] __arm64_sys_mount+0x33c/0x388 fs/namespace.c:4374 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 INFO: task syz.8.270:7755 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.8.270 state:D stack:0 pid:7755 tgid:7744 ppid:6345 task_flags:0x400040 flags:0x00800011 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5526 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7277 __schedule_loop kernel/sched/core.c:7354 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7369 request_wait_answer fs/fuse/dev.c:749 [inline] __fuse_request_send fs/fuse/dev.c:768 [inline] fuse_chan_send+0x840/0xf60 fs/fuse/dev.c:844 __fuse_simple_request+0xa0/0xb8 fs/fuse/req.c:69 fuse_simple_request fs/fuse/fuse_i.h:1012 [inline] fuse_do_setattr+0xb34/0x1468 fs/fuse/dir.c:2248 fuse_setattr+0x1f4/0x5e0 fs/fuse/dir.c:2373 notify_change+0x928/0xb7c fs/attr.c:556 chmod_common+0x200/0x3a4 fs/open.c:686 do_fchmodat+0x10c/0x1f8 fs/open.c:731 __do_sys_fchmodat fs/open.c:750 [inline] __se_sys_fchmodat fs/open.c:747 [inline] __arm64_sys_fchmodat+0x88/0xa0 fs/open.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:758 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:777 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:590 Showing all locks held in the system: locks held by kworker/0:1/10: 3, on CPU#0: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008ece7c40 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008ece7c40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by khungtaskd/31: 1, last CPU#0: #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800088d82260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by kworker/u8:2/40: 2, last CPU#0: #0: ffff0000c864a140 ((wq_completion)loop3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c864a140 ((wq_completion)loop3){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff80008efe7c40 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff80008efe7c40 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by kworker/u8:5/337: 2, last CPU#0: #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800092f07c40 ((gc_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800092f07c40 ((gc_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by kworker/u8:8/519: 4, last CPU#0: #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c004e140 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800093937c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800093937c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff800089e7e228 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x104/0x6c4 net/core/net_namespace.c:677 #3: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by kworker/u8:13/1927: 3, last CPU#0: #0: ffff0000ccae6940 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000ccae6940 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800097ed7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800097ed7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d31b21c8 (&hard_iface->bat_iv.ogm_buff_mutex){+.+.}-{4:4}, at: batadv_iv_ogm_schedule+0xb0/0xdf8 net/batman-adv/bat_iv_ogm.c:1010 locks held by kworker/u8:14/3456: 3, on CPU#0: #0: ffff0000c93f6940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c93f6940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800094ea7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] ffff800094ea7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by kworker/u8:15/3523: 3, last CPU#0: #0: ffff0000c864a140 ((wq_completion)loop3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] ffff0000c864a140 ((wq_completion)loop3){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800098197c40 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800098197c40 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0001add781a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:677 locks held by klogd/4339: 1, last CPU#0: #0: ffff800088d77980 (syslog_lock){+.+.}-{4:4}, at: syslog_print+0x51c/0x670 kernel/printk/printk.c:1663 locks held by dhcpcd/4406: 2, on CPU#0: #0: ffff800089e6f060 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x590/0x7ec net/socket.c:1408 #1: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by getty/4499: 2, on CPU#1: #0: ffff0000cfc990a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009256b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf78 drivers/tty/n_tty.c:2211 locks held by kworker/0:3/4802: 2, last CPU#0: #0: ffff0000d244ed40 ((wq_completion)wg-kex-wg1#44){+.+.}-{0:0}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:677 #1: ffff0001add62248 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x68/0x470 kernel/sched/psi.c:933 locks held by kworker/1:5/4809: 2, last CPU#1: #0: ffff0000ca5a9540 ((wq_completion)wg-crypt-wg0#22){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000ca5a9540 ((wq_completion)wg-crypt-wg0#22){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff8000925b7c40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff8000925b7c40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 locks held by kworker/0:4/4810: 5, last CPU#0: #0: ffff0000ce31dd40 ((wq_completion)mld){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000ce31dd40 ((wq_completion)mld){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff0001add62248 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x68/0x470 kernel/sched/psi.c:933 #2: ffff0001add781a0 (&rq->__lock){-.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:353 [inline] #2: ffff0001add781a0 (&rq->__lock){-.-.}-{2:2}, at: ptr_ring_consume_bh include/linux/ptr_ring.h:397 [inline] #2: ffff0001add781a0 (&rq->__lock){-.-.}-{2:2}, at: wg_packet_encrypt_worker+0xfbc/0x1290 drivers/net/wireguard/send.c:293 #3: ffff0000f2b18a38 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:595 [inline] #3: ffff0000f2b18a38 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0x68/0xdc4 kernel/sched/core.c:4308 #4: ffff80008ea3fe28 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x90/0x240 lib/debugobjects.c:873 locks held by kworker/1:8/4854: 3, last CPU#1: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800099ad7c40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800099ad7c40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff0000d4231250 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x198/0x320 drivers/net/netdevsim/fib.c:1490 locks held by kworker/0:7/5533: 3, on CPU#0: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3479 #1: ffff800097c77c40 (netdev_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3371 [inline] #1: ffff800097c77c40 (netdev_work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3479 #2: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by syz.8.270/7746: 1, on CPU#1: #0: ffff0000f1343e00 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #0: ffff0000f1343e00 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: do_lock_mount+0x158/0x63c fs/namespace.c:2768 locks held by syz.8.270/7755: 2, on CPU#1: #0: ffff0000c9174460 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:494 #1: ffff0000f1343e00 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: inode_lock_killable include/linux/fs.h:1029 [inline] #1: ffff0000f1343e00 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: chmod_common+0x140/0x3a4 fs/open.c:678 locks held by syz-executor/10726: 2, on CPU#1: #0: ffff800089e7e228 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x438/0x698 net/core/net_namespace.c:578 #1: ffff800089e8b280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock_killable+0x24/0x30 net/core/rtnetlink.c:91 locks held by syz.3.530/10768: 4, last CPU#1: #0: ffff0000f0e11f70 (&u->iolock){+.+.}-{4:4}, at: __unix_dgram_recvmsg+0x18c/0x85c net/unix/af_unix.c:2587 #1: ffff0000f0e12098 (&u->peer_wait){+.+.}-{3:3}, at: __wake_up_common_lock+0x30/0x78 kernel/sched/wait.c:125 #2: ffff0000d2a28a38 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:595 [inline] #2: ffff0000d2a28a38 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0x68/0xdc4 kernel/sched/core.c:4308 #3: ffff0001add781a0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:677 locks held by syz.3.530/10769: 2, on CPU#0: #0: ffff0000d47a0460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:494 #1: ffff0000db3015a0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1069 [inline] #1: ffff0000db3015a0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: __start_dirop+0xa0/0xf4 fs/namei.c:2918 =============================================