INFO: task syz-executor279:4787 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-10037-g7e284070abe5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor279 state:D stack:26624 pid: 4787 ppid: 3605 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6431 schedule+0xeb/0x1b0 kernel/sched/core.c:6503 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work kernel/workqueue.c:3075 [inline] __cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_create+0xb09/0x1040 net/9p/client.c:1072 v9fs_session_init+0x1e3/0x1990 fs/9p/v9fs.c:408 v9fs_mount+0x72/0x970 fs/9p/vfs_super.c:126 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1497 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fcd885c66c9 RSP: 002b:00007fcd885772f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fcd8864f4c0 RCX: 00007fcd885c66c9 RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fcd8861c06c R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 64663d736e617274 R14: 006c6f6f74687465 R15: 00007fcd8864f4c8 INFO: task syz-executor279:7537 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-10037-g7e284070abe5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor279 state:D stack:26624 pid: 7537 ppid: 3613 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6431 schedule+0xeb/0x1b0 kernel/sched/core.c:6503 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work kernel/workqueue.c:3075 [inline] __cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_create+0xb09/0x1040 net/9p/client.c:1072 v9fs_session_init+0x1e3/0x1990 fs/9p/v9fs.c:408 v9fs_mount+0x72/0x970 fs/9p/vfs_super.c:126 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1497 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fcd885c66c9 RSP: 002b:00007fcd885772f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fcd8864f4c0 RCX: 00007fcd885c66c9 RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fcd8861c06c R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 64663d736e617274 R14: 006c6f6f74687465 R15: 00007fcd8864f4c8 Showing all locks held in the system: 2 locks held by kworker/0:0/6: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc900000b7d00 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 2 locks held by kworker/0:1/14: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90000137d00 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 1 lock held by khungtaskd/28: #0: ffffffff8cb1ebe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/0:2/923: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90004437d00 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 2 locks held by getty/3283: #0: ffff8880254ea098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-syzkaller-10037-g7e284070abe5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xd18/0xd60 kernel/hung_task.c:378 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12636 Comm: syz-executor279 Not tainted 5.18.0-syzkaller-10037-g7e284070abe5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:find_held_lock kernel/locking/lockdep.c:5156 [inline] RIP: 0010:__lock_release kernel/locking/lockdep.c:5340 [inline] RIP: 0010:lock_release+0x1f3/0x870 kernel/locking/lockdep.c:5685 Code: 18 4c 89 7c 24 20 48 89 44 24 40 8d 58 ff 4c 63 fb 41 83 ff 31 0f 83 d1 05 00 00 4f 8d 2c bf 4f 8d b4 ee 60 0a 00 00 4c 89 f7 <48> 8b 74 24 28 e8 b3 68 c0 08 89 5c 24 4c 89 da 85 c0 0f 84 df 01 RSP: 0018:ffffc9000ddef900 EFLAGS: 00000097 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffc9000ddef903 RDX: 1ffff92001bbdf30 RSI: 1ffff1100f0af4fb RDI: ffff88807857a7e0 RBP: ffffc9000ddefa28 R08: dffffc0000000000 R09: fffffbfff1c06aee R10: fffffbfff1c06aee R11: 1ffffffff1c06aed R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88807857a7e0 R15: 0000000000000000 FS: 000055555559c300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcd88555268 CR3: 000000002629f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_write_seqcount_end include/linux/seqlock.h:561 [inline] vtime_task_switch_generic+0x51b/0x780 kernel/sched/cputime.c:788 vtime_task_switch include/linux/vtime.h:95 [inline] finish_task_switch+0x3e8/0x610 kernel/sched/core.c:4990 context_switch kernel/sched/core.c:5119 [inline] __schedule+0x95f/0xec0 kernel/sched/core.c:6431 schedule+0xeb/0x1b0 kernel/sched/core.c:6503 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x1c0/0x7d0 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x24d/0x490 kernel/time/hrtimer.c:2097 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline] __x64_sys_clock_nanosleep+0x360/0x3f0 kernel/time/posix-timers.c:1245 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fcd885eb471 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 7a d5 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 b3 d5 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007fff6d83c140 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000004f RCX: 00007fcd885eb471 RDX: 00007fff6d83c180 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000032 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fcd8864f4dc R13: 00007fff6d83c1e0 R14: 00007fcd88582760 R15: 00007fff6d83c1d8 ---------------- Code disassembly (best guess): 0: 18 4c 89 7c sbb %cl,0x7c(%rcx,%rcx,4) 4: 24 20 and $0x20,%al 6: 48 89 44 24 40 mov %rax,0x40(%rsp) b: 8d 58 ff lea -0x1(%rax),%ebx e: 4c 63 fb movslq %ebx,%r15 11: 41 83 ff 31 cmp $0x31,%r15d 15: 0f 83 d1 05 00 00 jae 0x5ec 1b: 4f 8d 2c bf lea (%r15,%r15,4),%r13 1f: 4f 8d b4 ee 60 0a 00 lea 0xa60(%r14,%r13,8),%r14 26: 00 27: 4c 89 f7 mov %r14,%rdi * 2a: 48 8b 74 24 28 mov 0x28(%rsp),%rsi <-- trapping instruction 2f: e8 b3 68 c0 08 callq 0x8c068e7 34: 89 5c 24 4c mov %ebx,0x4c(%rsp) 38: 89 da mov %ebx,%edx 3a: 85 c0 test %eax,%eax 3c: 0f .byte 0xf 3d: 84 df test %bl,%bh 3f: 01 .byte 0x1