INFO: task kworker/u10:6:1108 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:6   state:D stack:22664 pid:1108  tgid:1108  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events_unbound flush_to_ldisc
Call Trace:
 <TASK>
 __schedule+0x17d4/0x5820
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 n_tty_receive_char+0x5f9/0xbd0
 n_tty_receive_buf_standard+0x754/0x6a50
 n_tty_receive_buf_common+0xb33/0x13d0
 tty_port_default_receive_buf+0x6e/0xa0
 flush_to_ldisc+0x247/0x6c0
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/1:5:6276 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:5     state:D stack:24280 pid:6276  tgid:6276  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events console_callback
Call Trace:
 <TASK>
 __schedule+0x17d4/0x5820
 schedule+0x164/0x2b0
 schedule_timeout+0xc0/0x2c0
 __down_common+0x3b7/0x850
 down+0x80/0xd0
 console_lock+0x58/0x90
 console_callback+0x69/0x450
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:1/10: 4, last CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000f7c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffc900000f7770 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
 #3: ffffc900000f7798 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_atomic_helper_dirtyfb+0x106/0xfd0
locks held by khungtaskd/35: 1, last CPU#1:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by kworker/u11:0/55: 3, on CPU#0:
 #0: ffff8881bcd48940 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000141fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881bcb78ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1cb/0x3f0
locks held by kworker/u10:6/1108: 6, on CPU#1:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000744fc40 ((work_completion)(&buf->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88810068a0b8 (&buf->lock){+.+.}-{4:4}, at: flush_to_ldisc+0x38/0x6c0
 #3: ffff8880216350a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref+0x1c/0x90
 #4: ffff8880216352c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_receive_buf_common+0x84/0x13d0
 #5: ffffc900055c8370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_receive_char+0x5f9/0xbd0
locks held by getty/5422: 2, on CPU#0:
 #0: ffff8881169710a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034762e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/1:5/6276: 2, on CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900040dfc40 (console_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by kworker/u8:5/13659: 3, last CPU#0:
 #0: ffff8881066e9940 ((wq_completion)krds_cp_wq#5/5){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90008407c40 ((work_completion)(&(&cp->cp_conn_w)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888115cb1280 (&tc->t_conn_path_lock){+.+.}-{4:4}, at: rds_tcp_conn_path_connect+0x1cc/0x920
locks held by syz.3.3998/15270: 4, on CPU#0:
 #0: ffff8880216350a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff888021635128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0x9f0
 #2: ffff8880216352c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1f5/0x11e0
 #3: ffffc900055c8370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x66d/0x11e0
locks held by syz.5.4492/16611: 6, on CPU#0:
 #0: ffffffff8ed4ea20 (console_lock){+.+.}-{0:0}, at: vt_resizex+0x2a6/0x570
 #1: ffff8881699dca70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_pan_display+0xbe/0xbe0
 #2: ffff8881099b8128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
 #3: ffff8881699dc890 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x4d0
 #4: ffffc9000708f290 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
 #5: ffffc9000708f2b8 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
locks held by syz.8.5727/19641: 1, on CPU#1:
 #0: ffffffff8f67e240 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0
locks held by syz.8.5727/19644: 2, on CPU#0:
 #0: ffff8880216350a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff8880216352c8 (&tty->termios_rwsem){++++}-{4:4}, at: tty_set_termios+0x147/0x1800
locks held by syz.2.7089/22865: 2, on CPU#1:
 #0: ffff8881b89a60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff8881b89a6128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0x9f0
locks held by syz.4.7096/22882: 3, last CPU#0:
 #0: ffff8881b9bb2460 (sb_writers#5){.+.+}-{0:0}, at: vfs_coredump+0x3766/0x4530
 #1: ffff8881144c6308 (&sb->s_type->i_mutex_key#15){++++}-{4:4}, at: shmem_file_write_iter+0x7f/0x120
 #2: ffff888121033a90 (lock#3){+.+.}-{3:3}, at: unwind_next_frame+0x8f/0x2550
locks held by syz.4.7101/22891: 1, last CPU#1:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: folio_lruvec_lock_irqsave+0x24/0x550

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 35 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 22882 Comm: syz.4.7096 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:check_preemption_disabled+0x26/0xd0
Code: 90 90 90 90 55 41 57 41 56 53 65 8b 05 4b 2e b1 07 65 48 8b 0d 1b 2e b1 07 85 c9 74 0c 5b 41 5e 41 5f 5d c3 cc cc cc cc cc 9c <59> f7 c1 00 02 00 00 74 ea 65 4c 8b 3d f1 2d b1 07 41 f6 47 2f 04
RSP: 0000:ffffc900055f5f38 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 8000000000000000
RDX: 0000000000000000 RSI: ffffffff8e490dcf RDI: ffffffff8c6d8b80
RBP: ffff888112df0000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc900055f60f8 R11: ffffffff81b27050 R12: ffffffff8ed5c6e0
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000246
FS:  00007f226abd56c0(0000) GS:ffff88818d6de000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffe70 CR3: 00000001bea38000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_acquire+0xc6/0x350
 unwind_next_frame+0xac/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 save_stack+0x122/0x230
 __set_page_owner+0x8d/0x4c0
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x2209/0x2280
 __alloc_frozen_pages_noprof+0x217/0x5a0
 alloc_pages_mpol+0x21e/0x390
 folio_alloc_mpol_noprof+0x39/0x160
 shmem_alloc_and_add_folio+0x43e/0xf60
 shmem_get_folio_gfp+0x5da/0x16d0
 shmem_write_begin+0x16c/0x330
 generic_perform_write+0x2d5/0x8f0
 shmem_file_write_iter+0xf8/0x120
 __kernel_write_iter+0x44a/0x8f0
 dump_user_range+0xc19/0x12c0
 elf_core_dump+0x3485/0x3a90
 coredump_write+0x1290/0x1960
 vfs_coredump+0x3766/0x4530
 get_signal+0x1094/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 irqentry_exit+0x2ba/0x910
 asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f226c99e161
Code: 00 00 00 00 0f 1f 44 00 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 <c3> 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffe70 EFLAGS: 00010217
R
RAX: 0000000000000000 RBX: 00007f226cc26090 RCX: 00007f226c99e159
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f226ca35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f226cc26128 R14: 00007f226cc26090 R15: 00007fffc95fda58
 </TASK>
IPVS: nq: UDP 224.0.0.2:0 - no destination available
