INFO: task syz.3.5554:20473 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.5554      state:D stack:27944 pid:20473 tgid:20471 ppid:13612  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d4/0x5820
 schedule+0x164/0x2b0
 schedule_timeo
 schedule_timeout+0xc0/0x2c0
 __down_common+0x3b7/0x850
 down+0x80/0xd0
 console_lock+0x58/0x90
 do_con_write+0x12e/0x5500
 con_write+0x27/0x290
 n_tty_write+0xd49/0x11e0
 file_tty_write+0x50d/0x9f0
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc339f9e159
RSP: 002b:00007fc33aedc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc33a225fa0 RCX: 00007fc339f9e159
RDX: 0000000000001006 RSI: 00002000000005c0 RDI: 0000000000000005
RBP: 00007fc33a035024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc33a226038 R14: 00007fc33a225fa0 R15: 00007ffec0e9c968
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:0/9: 2, on CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000e7c40 (console_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by pr/ttyS0/16: 2, last CPU#0:
 #0: ffffffff8ec362b8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9ad2cff8 (&port_lock_key){-...}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by khungtaskd/36: 1, last CPU#1:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by syz-executor/12632: 1, last CPU#1:
 #0: ffff888175a40420 (&xt[i].mutex){+.+.}-{4:4}, at: xt_find_table_lock+0x55/0x400
locks held by syz.6.5441/20206: 6, last CPU#1:
 #0: ffffffff8ed4ea20 (console_lock){+.+.}-{0:0}, at: vt_ioctl+0x1d06/0x20e0
 #1: ffff888168e6a270 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_pan_display+0xbe/0xbe0
 #2: ffff88816b734128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
 #3: ffff888168e6a090 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x4d0
 #4: ffffc900061ff590 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
 #5: ffffc900061ff5b8 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0x11a/0x7e0
locks held by syz.3.5554/20473: 4, on CPU#1:
 #0: ffff8881b3d0c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff8881b3d0c128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0x9f0
 #2: ffff8881b3d0c2c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1f5/0x11e0
 #3: ffffc90003476370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x66d/0x11e0
locks held by syz.5.5786/21228: 7, on CPU#0:
 #0: ffff8880239f80f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff88816b54e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffff8881115e9480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #3: ffffffff8f5b5e00 (pci_rescan_remove_lock){+.+.}-{4:4}, at: pci_stop_and_remove_bus_device_locked+0x13/0xb0
 #4: ffff888105aca1f8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880
 #5: ffff88816b734260 (&dev->clientlist_mutex){+.+.}-{4:4}, at: drm_client_dev_unregister+0xa1/0x2d0
 #6: ffffffff8f5dd620 (registration_lock){+.+.}-{4:4}, at: unregister_framebuffer+0x2e/0x3b0
locks held by syz.5.5786/21232: 5, on CPU#0:
 #0: ffff88816e53acf0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x246/0x320
 #1: ffff88816b54e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffff88802337c480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #3: ffff8881616ad3c8 (kn->active#94){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #4: ffffffff8f5b5e00 (pci_rescan_remove_lock){+.+.}-{4:4}, at: rescan_store+0xb5/0x150
locks held by syz.7.5790/21238: 2, on CPU#0:
 #0: ffff8881b3d0c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffff8881b3d0c2c8 (&tty->termios_rwsem){++++}-{4:4}, at: tty_set_termios+0x147/0x1800
locks held by syz.8.6938/24136: 1, on CPU#1:
 #0: ffffffff8f67e240 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0
locks held by syz.9.7046/24369: 2, last CPU#0:
 #0: ffff88810efde9b8 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x1a4/0x9f0
 #1: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x240

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 36 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: 16 Comm: pr/ttyS0 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:lock_acquire+0x51/0x350
Code: 8b 05 1b 0c f1 11 48 89 44 24 50 0f 1f 44 00 00 65 8b 05 1a 0c f1 11 83 f8 08 0f 83 9b 01 00 00 89 c0 48 0f a3 05 47 24 d7 0e <73> 0d e8 78 34 09 00 84 c0 0f 84 e2 01 00 00 83 3d 39 55 d7 0e 00
RSP: 0018:ffffc900000069a8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8ed5c6e0
RBP: 1ffff92000000d64 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc90000006b38 R11: ffffffff81b27050 R12: ffffffff8ed5c6e0
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88818d6de000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb88a821ff8 CR3: 000000010ddae000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 unwind_next_frame+0xac/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 kfree+0x1c5/0x650
 skb_release_data+0x85e/0xab0
 __kfree_skb+0x5d/0x210
 tcp_rcv_established+0x152f/0x2910
 tcp_v4_do_rcv+0x727/0x13b0
 tcp_v4_rcv+0x27d4/0x3170
 ip_protocol_deliver_rcu+0x21d/0x440
 ip_local_deliver_finish+0x3bb/0x6f0
 NF_HOOK+0x336/0x3c0
 ip_sublist_rcv_finish+0x1f0/0x240
 ip_sublist_rcv+0x767/0xa70
 ip_list_rcv+0x3ec/0x440
 __netif_receive_skb_list_core+0x804/0x830
 netif_receive_skb_list_internal+0x995/0xcf0
 napi_complete_done+0x299/0x730
 e1000_clean+0xd03/0x2bf0
 __napi_poll+0xaa/0x330
 net_rx_action+0x61d/0xf50
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 common_interrupt+0xbb/0xe0
 </IRQ>
 <TASK>
 asm_common_interrupt+0x26/0x40
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 6d 30 be f5 f7 c3 00 02 00 00 74 05 e8 b0 67 ea f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 04 4a af f5 65 48 8b 05 5c 92 ae 07 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc90000157ca8 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000206 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8e47676b RDI: 0000000000000001
RBP: ffffc90000157e18 R08: ffffffff907a387f R09: 1ffffffff20f470f
R10: dffffc0000000000 R11: fffffbfff20f4710 R12: 0000000000000002
R13: ffff888102ed8000 R14: ffffffff9ad2cfe0 R15: dffffc0000000000
 nbcon_kthread_func+0x6c4/0x880
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
