INFO: task syz-executor.0:8148 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-11025-g89d77f71f493 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27032 pid:8148 ppid:8135 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 blk_mq_freeze_queue_wait+0xfc/0x180 block/blk-mq.c:146 nbd_add_socket+0x1a5/0x8e0 drivers/block/nbd.c:1128 __nbd_ioctl drivers/block/nbd.c:1471 [inline] nbd_ioctl+0x5b9/0xed0 drivers/block/nbd.c:1528 blkdev_ioctl+0x602/0x7a0 block/ioctl.c:615 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:0x7f9e5a68c169 RSP: 002b:00007f9e5b3bf168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9e5a7abf80 RCX: 00007f9e5a68c169 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00007f9e5a6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2372f1bf R14: 00007f9e5b3bf300 R15: 0000000000022000 INFO: task syz-executor.0:8149 blocked for more than 144 seconds. Not tainted 6.3.0-syzkaller-11025-g89d77f71f493 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27416 pid:8149 ppid:8135 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 __bio_queue_enter+0x34b/0x690 block/blk-core.c:354 bio_queue_enter block/blk.h:71 [inline] blk_mq_get_new_requests block/blk-mq.c:2844 [inline] blk_mq_submit_bio+0xab3/0x1f00 block/blk-mq.c:2954 __submit_bio+0x239/0x2e0 block/blk-core.c:594 __submit_bio_noacct_mq block/blk-core.c:673 [inline] submit_bio_noacct_nocheck+0x91d/0xc60 block/blk-core.c:702 submit_bio_wait+0x106/0x200 block/bio.c:1372 blkdev_issue_flush+0xb4/0x100 block/blk-flush.c:464 blkdev_fsync+0x77/0xa0 block/fops.c:466 vfs_fsync_range fs/sync.c:188 [inline] vfs_fsync fs/sync.c:202 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fsync fs/sync.c:220 [inline] __se_sys_fsync fs/sync.c:218 [inline] __x64_sys_fsync+0x195/0x1d0 fs/sync.c:218 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:0x7f9e5a68c169 RSP: 002b:00007f9e5b39e168 EFLAGS: 00000246 ORIG_RAX: 000000000000004a RAX: ffffffffffffffda RBX: 00007f9e5a7ac050 RCX: 00007f9e5a68c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f9e5a6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2372f1bf R14: 00007f9e5b39e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf275b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27970 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf273e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/0:2/757: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90003f5fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 2 locks held by getty/4744: #0: ffff888029153098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by syz-executor.3/5043: #0: ffff8880897000e0 (&type->s_umount_key#68){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2cab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cf2cab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.0/8148: #0: ffff88801f357998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x143/0xed0 drivers/block/nbd.c:1521 1 lock held by syz-executor.0/8199: #0: ffff88801f357998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x143/0xed0 drivers/block/nbd.c:1521 3 locks held by kworker/u4:12/9230: 3 locks held by kvm-nx-lpage-re/9286: #0: ffffffff8cf4f6a8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x27/0xe0 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8cdc4070 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x11/0x30 kernel/cgroup/cgroup.c:2445 #2: ffffffff8cf4f890 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x31/0xe0 kernel/cgroup/cgroup-v1.c:62 1 lock held by kvm-nx-lpage-re/9298: #0: ffffffff8cf4f6a8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x27/0xe0 kernel/cgroup/cgroup-v1.c:61 2 locks held by kworker/u4:23/9311: #0: ffff8880b993c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-11025-g89d77f71f493 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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+0x2b8/0x350 kernel/kthread.c:379 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: 9316 Comm: syz-executor.1 Not tainted 6.3.0-syzkaller-11025-g89d77f71f493 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:consume_skb+0x5/0x150 net/core/skbuff.c:1239 Code: 61 06 4e f9 e9 44 fe ff ff 89 d9 80 e1 07 38 c1 0f 8c 5a fe ff ff 48 89 df e8 07 06 4e f9 e9 4d fe ff ff 66 90 f3 0f 1e fa 55 <41> 57 41 56 53 48 89 fb e8 2e 3b f6 f8 48 85 db 0f 84 a6 00 00 00 RSP: 0018:ffffc9001f58f710 EFLAGS: 00000287 RAX: ffffffff8898accd RBX: ffff88808a23a400 RCX: 0000000000040000 RDX: ffffc9000c6fe000 RSI: 0000000000013c68 RDI: ffff8880a4575780 RBP: ffffc9001f58f8d8 R08: ffffffff895f64c0 R09: ffffed1011447482 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880a4575780 R14: 0000000000000000 R15: 1ffff92003eb1ef8 FS: 00007fd698181700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010030 CR3: 00000000a4573000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unix_dgram_recvmsg+0xcb7/0x1260 net/unix/af_unix.c:2532 sock_recvmsg_nosec+0x86/0xd0 net/socket.c:1019 ____sys_recvmsg+0x475/0x570 net/socket.c:2720 ___sys_recvmsg net/socket.c:2764 [inline] do_recvmmsg+0x471/0xad0 net/socket.c:2858 __sys_recvmmsg net/socket.c:2937 [inline] __do_sys_recvmmsg net/socket.c:2960 [inline] __se_sys_recvmmsg net/socket.c:2953 [inline] __x64_sys_recvmmsg+0x199/0x240 net/socket.c:2953 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:0x7fd69748c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd698181168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fd6975ac120 RCX: 00007fd69748c169 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fd6974e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff9999490f R14: 00007fd698181300 R15: 0000000000022000