INFO: task syz-executor.0:8711 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28120 pid: 8711 ppid: 6545 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 tty_release_struct+0xa9/0xe0 drivers/tty/tty_io.c:1716 tty_release+0xc70/0x1200 drivers/tty/tty_io.c:1878 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6ed3549 RSP: 002b:00000000f7564b40 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f7009000 RDI: 00000000002abeac RBP: 00000000f7030760 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6224: 2 locks held by agetty/6445: #0: ffff88807b6bf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900029882e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by agetty/6449: #0: ffff88807b6bd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900029782e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.0/8711: #0: ffffffff8c3a4328 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xa9/0xe0 drivers/tty/tty_io.c:1716 3 locks held by syz-executor.4/8717: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2971 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0xa/0x170 lib/smp_processor_id.c:13 Code: f8 65 48 8b 3c 25 40 70 02 00 e8 61 0a 18 f8 eb 99 0f 1f 44 00 00 0f 0b e9 23 ff ff ff cc cc cc 41 56 41 55 49 89 f5 41 54 55 <48> 89 fd 53 0f 1f 44 00 00 65 44 8b 25 5d 17 c7 76 65 8b 1d ce 71 RSP: 0018:ffffc90001b4f8d0 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 2b2e521a79923c69 RCX: ffffc90001b4f948 RDX: 1ffff1100f5f488a RSI: ffffffff898c0be0 RDI: ffffffff89e51020 RBP: 1ffff92000369f21 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: ffffffff898c0be0 R14: ffff88807afa4458 R15: ffff88807afa3a00 FS: 00007f4f877b08c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4f8512e000 CR3: 000000001befd000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_release+0x3bb/0x720 kernel/locking/lockdep.c:5659 rcu_lock_release include/linux/rcupdate.h:273 [inline] rcu_read_unlock include/linux/rcupdate.h:721 [inline] blk_cgroup_congested include/linux/blk-cgroup.h:289 [inline] __cgroup_throttle_swaprate+0x1b7/0x680 mm/swapfile.c:3790 cgroup_throttle_swaprate include/linux/swap.h:735 [inline] shmem_add_to_page_cache+0xb7d/0x15d0 mm/shmem.c:721 shmem_getpage_gfp+0x838/0x22d0 mm/shmem.c:1936 shmem_getpage mm/shmem.c:150 [inline] shmem_fallocate+0x8cf/0xf80 mm/shmem.c:2750 vfs_fallocate+0x48d/0xe10 fs/open.c:307 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4f86a6fbc6 Code: 24 00 75 bf eb a0 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 53 49 89 f1 48 89 d3 49 89 d2 b8 1d 01 00 00 48 89 f2 31 f6 0f 05 <3d> 00 f0 ff ff 76 13 83 f8 a1 74 16 f7 d8 5b c3 66 2e 0f 1f 84 00 RSP: 002b:00007ffca2ca3d10 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000800000 RCX: 00007f4f86a6fbc6 RDX: 0000000000800000 RSI: 0000000000000000 RDI: 0000000000000010 RBP: 0000000000000001 R08: 0000000000800000 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 000055c6874fee80 R13: 00007ffca2ca3e50 R14: 00007ffca2ca3e48 R15: 0000000001000000 ---------------- Code disassembly (best guess): 0: f8 clc 1: 65 48 8b 3c 25 40 70 mov %gs:0x27040,%rdi 8: 02 00 a: e8 61 0a 18 f8 callq 0xf8180a70 f: eb 99 jmp 0xffffffaa 11: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 16: 0f 0b ud2 18: e9 23 ff ff ff jmpq 0xffffff40 1d: cc int3 1e: cc int3 1f: cc int3 20: 41 56 push %r14 22: 41 55 push %r13 24: 49 89 f5 mov %rsi,%r13 27: 41 54 push %r12 29: 55 push %rbp * 2a: 48 89 fd mov %rdi,%rbp <-- trapping instruction 2d: 53 push %rbx 2e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 33: 65 44 8b 25 5d 17 c7 mov %gs:0x76c7175d(%rip),%r12d # 0x76c71798 3a: 76 3b: 65 gs 3c: 8b .byte 0x8b 3d: 1d .byte 0x1d 3e: ce (bad) 3f: 71 .byte 0x71