INFO: task syz.3.2635:18047 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.2635 state:D stack:26464 pid:18047 tgid:18047 ppid:16605 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 coredump_task_exit kernel/exit.c:434 [inline] do_exit+0x3fe/0x2bb0 kernel/exit.c:834 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x2658/0x26d0 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fca95f7def9 RSP: 002b:00007fff37d82238 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 00007fff37d82360 RCX: 00007fca95f7def9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fca9613613c RBP: 00007fca9613613c R08: 00007fca96e64080 R09: 00007fff37d8252f R10: 00007fff37d82340 R11: 0000000000000246 R12: 000000000010d93a R13: 00007fff37d82340 R14: 0000000000000032 R15: 000000000010d908 INFO: task :18049 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task: state:D stack:25824 pid:18049 tgid:18047 ppid:16605 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 coredump_task_exit kernel/exit.c:434 [inline] do_exit+0x3fe/0x2bb0 kernel/exit.c:834 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x2658/0x26d0 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fca95f7def9 RSP: 002b:00007fca96e63038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffe RBX: 00007fca96135f80 RCX: 00007fca95f7def9 RDX: 0000000020000780 RSI: 0000000000008932 RDI: 0000000000000007 RBP: 00007fca95ff0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fca96135f80 R15: 00007fff37d820d8 INFO: task syz.3.2635:18059 blocked for more than 144 seconds. Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.2635 state:D stack:28272 pid:18059 tgid:18047 ppid:16605 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 coredump_wait fs/coredump.c:417 [inline] do_coredump+0x821/0x3da0 fs/coredump.c:574 get_signal+0x237c/0x26d0 kernel/signal.c:2902 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fca95f7def9 RSP: 002b:00007fca96e210e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fca96136138 RCX: 00007fca95f7def9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fca9613613c RBP: 00007fca96136130 R08: 00007fca96e64080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca9613613c R13: 0000000000000000 R14: 00007fff37d81ff0 R15: 00007fff37d820d8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ddb9b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8ddb9b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8ddb9b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by getty/4989: #0: ffff8880345310a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz.3.2635/18056: 1 lock held by syz.0.3038/19975: 1 lock held by syz.2.3046/20008: 3 locks held by syz.0.3097/20194: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 20194 Comm: syz.0.3097 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] RIP: 0010:unwind_next_frame+0xdbe/0x23a0 arch/x86/kernel/unwind_orc.c:585 Code: 24 28 e8 e5 ef ff ff 31 ff 41 89 c7 89 c6 e8 e9 7a 4e 00 48 8d 4b 34 45 84 ff 0f 84 37 f6 ff ff e8 f7 78 4e 00 48 8b 7c 24 28 6d e6 ff ff 48 8b 0c 24 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 RSP: 0018:ffffc9000387e768 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffc9000387e7e8 RCX: ffffc9000387e81c RDX: ffff88807aa39e00 RSI: ffffffff813cabc9 RDI: ffffc9000387efb0 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: dffffc0000000000 R12: ffffffff90b7f2ac R13: ffffc9000387efb8 R14: ffffffff90b7f2b0 R15: 0000000000000001 FS: 00007f47db3ff6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f981d307ab8 CR3: 00000000800c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8f/0x790 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x1351/0x2e50 mm/page_alloc.c:3446 __alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4702 alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263 folio_alloc_mpol_noprof+0x36/0xd0 mm/mempolicy.c:2281 shmem_alloc_folio+0x135/0x160 mm/shmem.c:1722 shmem_alloc_and_add_folio+0x19c/0xce0 mm/shmem.c:1782 shmem_get_folio_gfp+0xa62/0x15e0 mm/shmem.c:2188 shmem_get_folio mm/shmem.c:2293 [inline] shmem_write_begin+0x15a/0x2f0 mm/shmem.c:2898 generic_perform_write+0x315/0x970 mm/filemap.c:4025 shmem_file_write_iter+0x10e/0x140 mm/shmem.c:3073 __kernel_write_iter+0x318/0xa80 fs/read_write.c:616 dump_emit_page fs/coredump.c:893 [inline] dump_user_range+0x389/0x8a0 fs/coredump.c:954 elf_core_dump+0x2727/0x3810 fs/binfmt_elf.c:2116 do_coredump+0x29e4/0x3da0 fs/coredump.c:767 get_signal+0x237c/0x26d0 kernel/signal.c:2902 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0x13f/0x280 kernel/entry/common.c:231 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f47db97df01 Code: 00 00 00 00 00 0f 1f 40 00 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000000000000006 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f47dbb35f80 RCX: 00007f47db97def9 RDX: 00000000000000e8 RSI: 0000000000000006 RDI: 0000000100000001 RBP: 00007f47db9f0b76 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f47dbb35f80 R15: 00007ffcd8ceb658