INFO: task kworker/0:1H:990 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller-00025-g3a93e40326c8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:25528 pid:990 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop5 xlog_ioend_work Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 ___down_common+0x33e/0x5e0 kernel/locking/semaphore.c:225 __down_common+0x64/0x250 kernel/locking/semaphore.c:246 down+0x84/0xc0 kernel/locking/semaphore.c:63 xfs_buf_lock+0x154/0x4b0 fs/xfs/xfs_buf.c:1120 xfs_buf_item_unpin+0x200/0x720 fs/xfs/xfs_buf_item.c:547 xfs_trans_committed_bulk+0x346/0x830 fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x26d/0xe40 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x159/0x1a0 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x2ba/0x3b0 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x32c/0x390 fs/xfs/xfs_log.c:3837 xlog_ioend_work+0xad/0x100 fs/xfs/xfs_log.c:1429 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.5:18486 blocked for more than 144 seconds. Not tainted 6.3.0-rc4-syzkaller-00025-g3a93e40326c8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:23240 pid:18486 ppid:5116 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 xlog_wait+0x16e/0x1e0 fs/xfs/xfs_log_priv.h:617 xlog_wait_on_iclog+0x307/0x4e0 fs/xfs/xfs_log.c:926 xfs_log_force_seq+0x1da/0x450 fs/xfs/xfs_log.c:3409 __xfs_trans_commit+0xb4a/0xff0 fs/xfs/xfs_trans.c:1014 xfs_sync_sb_buf+0x14f/0x1e0 fs/xfs/libxfs/xfs_sb.c:1111 xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1801 [inline] xfs_file_ioctl+0x1313/0x16a0 fs/xfs/xfs_ioctl.c:1899 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc22e48c0f9 RSP: 002b:00007fc22cffe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc22e5abf80 RCX: 00007fc22e48c0f9 RDX: 0000000020000200 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007fc22e4e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2d96c01f R14: 00007fc22cffe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf255b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25db0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf253e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/1:1H/52: #0: ffff8880298b6138 ((wq_completion)xfs-log/loop4){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90000bd7d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by kworker/0:1H/990: #0: ffff88801c7aa538 ((wq_completion)xfs-log/loop5){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc9000496fd20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 1 lock held by udevd/4434: 2 locks held by getty/4748: #0: ffff8880283ac098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5106: 2 locks held by kworker/1:5/5162: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc900045c7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by kworker/u4:8/7505: 6 locks held by kworker/0:3/15638: #0: ffff8881452a3538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc900034afd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 #2: ffff8881474c1190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline] #2: ffff8881474c1190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x5460 drivers/usb/core/hub.c:5739 #3: ffff8881474c44f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline] #3: ffff8881474c44f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline] #3: ffff8881474c44f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] #3: ffff8881474c44f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline] #3: ffff8881474c44f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x252f/0x5460 drivers/usb/core/hub.c:5793 #4: ffff8880b9828788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:976 #5: ffffffff91cef0d0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x9a/0x6d0 lib/debugobjects.c:665 1 lock held by syz-executor.5/18486: #0: ffff88807c29a460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 1 lock held by syz-executor.5/18561: 1 lock held by syz-executor.4/18592: #0: ffff888029536460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 2 locks held by dhcpcd/19011: #0: ffff888082d9f410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888082d9f410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:652 [inline] #0: ffff888082d9f410 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x9c/0x230 net/socket.c:1395 #1: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989 3 locks held by syz-executor.3/19012: #0: ffff888073640e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888073640e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:652 [inline] #0: ffff888073640e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x9c/0x230 net/socket.c:1395 #1: ffff888080c2a130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #1: ffff888080c2a130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x1e3/0x880 net/can/bcm.c:1523 #2: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989 3 locks held by syz-executor.3/19013: 3 locks held by syz-executor.0/19020: 1 lock held by syz-executor.5/19025: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller-00025-g3a93e40326c8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7505 Comm: kworker/u4:8 Not tainted 6.3.0-rc4-syzkaller-00025-g3a93e40326c8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x187f/0x1f80 kernel/locking/lockdep.c:5026 Code: 00 00 00 00 fc ff df e9 91 f1 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2c f3 ff ff 4c 89 f7 e8 76 ec 75 00 e9 1f f3 ff ff <48> c7 c1 e0 b0 ad 91 80 e1 07 80 c1 03 38 c1 0f 8c 01 f4 ff ff 48 RSP: 0018:ffffc90004ecf9a0 EFLAGS: 00000002 RAX: 0000000000000004 RBX: ffffffff9002abf8 RCX: ffffffff816a6b6a RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 RBP: ffff88807bbd4508 R08: dffffc0000000000 R09: fffffbfff205c639 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bbd44b0 R13: ffff88807bbd3a80 R14: ffff88807bbd4528 R15: 1ffff1100f77a8a5 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020098000 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e1/0x520 kernel/locking/lockdep.c:5669 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327 rcu_read_lock include/linux/rcupdate.h:773 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc5/0x5c0 net/batman-adv/network-coding.c:719 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308