INFO: task kworker/0:1:12 blocked for more than 143 seconds. Not tainted 5.8.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:1 D23800 12 2 0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:3453 [inline] __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178 schedule+0xd0/0x2a0 kernel/sched/core.c:4253 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1873 __down_common kernel/locking/semaphore.c:220 [inline] __down+0x183/0x2a0 kernel/locking/semaphore.c:237 down+0x57/0x80 kernel/locking/semaphore.c:61 console_lock+0x25/0x80 kernel/printk/printk.c:2309 console_callback+0x61/0x410 drivers/tty/vt/vt.c:2844 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 INFO: task kworker/u4:6:10603 blocked for more than 143 seconds. Not tainted 5.8.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:6 D28208 10603 2 0x00004000 Workqueue: events_unbound flush_to_ldisc Call Trace: context_switch kernel/sched/core.c:3453 [inline] __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178 schedule+0xd0/0x2a0 kernel/sched/core.c:4253 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1873 __down_common kernel/locking/semaphore.c:220 [inline] __down+0x183/0x2a0 kernel/locking/semaphore.c:237 down+0x57/0x80 kernel/locking/semaphore.c:61 console_lock+0x25/0x80 kernel/printk/printk.c:2309 con_flush_chars drivers/tty/vt/vt.c:3236 [inline] con_flush_chars+0x35/0x90 drivers/tty/vt/vt.c:3228 __receive_buf drivers/tty/n_tty.c:1650 [inline] n_tty_receive_buf_common+0xbe1/0x2bc0 drivers/tty/n_tty.c:1742 tty_ldisc_receive_buf+0xa9/0x190 drivers/tty/tty_buffer.c:461 tty_port_default_receive_buf+0x6e/0xa0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x20d/0x380 drivers/tty/tty_buffer.c:533 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 INFO: task syz-executor.1:12946 blocked for more than 143 seconds. Not tainted 5.8.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28728 12946 6972 0x20020004 Call Trace: context_switch kernel/sched/core.c:3453 [inline] __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178 schedule+0xd0/0x2a0 kernel/sched/core.c:4253 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4312 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10d0 kernel/locking/mutex.c:1103 lock_fb_info include/linux/fb.h:637 [inline] fb_open+0xd3/0x430 drivers/video/fbdev/core/fbmem.c:1418 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x501/0x1290 fs/open.c:828 do_open fs/namei.c:3243 [inline] path_openat+0x1bb9/0x2750 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16f/0x3b0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] __do_compat_sys_openat fs/open.c:1251 [inline] __se_compat_sys_openat fs/open.c:1249 [inline] __ia32_compat_sys_openat+0x13f/0x1f0 fs/open.c:1249 do_syscall_32_irqs_on+0x3f/0x60 arch/x86/entry/common.c:403 __do_fast_syscall_32 arch/x86/entry/common.c:448 [inline] do_fast_syscall_32+0x7f/0x120 arch/x86/entry/common.c:474 entry_SYSENTER_compat+0x6d/0x7c arch/x86/entry/entry_64_compat.S:138 RIP: 0023:0xf7f6a569 Code: Bad RIP value. RSP: 002b:00000000f5d440cc EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020000180 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by kworker/0:1/12: #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa026d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90000d2fda8 (console_work){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 1 lock held by khungtaskd/1147: #0: ffffffff89bc1140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by in:imklog/6525: #0: ffff8880a39e60f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 2 locks held by agetty/6740: #0: ffff8880a0233098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000fa42e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x223/0x1a30 drivers/tty/n_tty.c:2156 5 locks held by kworker/u4:6/10603: #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880aa034138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc90008b17da8 ((work_completion)(&buf->work)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff8880aa1c40b8 (&buf->lock){+.+.}-{3:3}, at: flush_to_ldisc+0x3e/0x380 drivers/tty/tty_buffer.c:505 #3: ffff8880a80ce098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref+0x1d/0x80 drivers/tty/tty_ldisc.c:288 #4: ffff8880a80ce2e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_receive_buf_common+0x89/0x2bc0 drivers/tty/n_tty.c:1705 2 locks held by syz-executor.1/12937: 1 lock held by syz-executor.1/12946: #0: ffff8880a3a52078 (&fb_info->lock){+.+.}-{3:3}, at: lock_fb_info include/linux/fb.h:637 [inline] #0: ffff8880a3a52078 (&fb_info->lock){+.+.}-{3:3}, at: fb_open+0xd3/0x430 drivers/video/fbdev/core/fbmem.c:1418 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1147 Comm: khungtaskd Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12937 Comm: syz-executor.1 Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x49/0x60 kernel/kcov.c:203 Code: 35 8b 82 04 14 00 00 85 c0 74 2b 8b 82 e0 13 00 00 83 f8 02 75 20 48 8b 8a e8 13 00 00 8b 92 e4 13 00 00 48 8b 01 48 83 c0 01 <48> 39 c2 76 07 48 89 34 c1 48 89 01 c3 66 2e 0f 1f 84 00 00 00 00 RSP: 0018:ffffc90016f9f4d8 EFLAGS: 00000216 RAX: 0000000000040000 RBX: 0000000000000050 RCX: ffffc90004729000 RDX: 0000000000040000 RSI: ffffffff83c645d0 RDI: 0000000000000004 RBP: 000000000000003c R08: 0000000000000001 R09: ffff8880a3ed05df R10: 0000000000000050 R11: 0000000000000000 R12: ffff8880000a003c R13: ffff8880000a0000 R14: 0000000000000000 R15: 00000000ef922e38 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f5d65b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055c677e1b4e0 CR3: 000000009a454000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeb arch/x86/include/asm/io.h:65 [inline] vga16fb_fillrect+0x9c0/0x193b drivers/video/fbdev/vga16fb.c:923 bit_clear_margins+0x2d5/0x4a0 drivers/video/fbdev/core/bitblit.c:232 fbcon_clear_margins+0x1d5/0x230 drivers/video/fbdev/core/fbcon.c:1381 fbcon_switch+0xb6e/0x16c0 drivers/video/fbdev/core/fbcon.c:2363 redraw_screen+0x2ae/0x770 drivers/tty/vt/vt.c:1015 fbcon_modechanged+0x575/0x710 drivers/video/fbdev/core/fbcon.c:3001 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:3048 fb_set_var+0xae8/0xd60 drivers/video/fbdev/core/fbmem.c:1056 do_fb_ioctl+0x33f/0x6c0 drivers/video/fbdev/core/fbmem.c:1109 fb_compat_ioctl+0x175/0xc10 drivers/video/fbdev/core/fbmem.c:1315 __do_compat_sys_ioctl+0x1d3/0x230 fs/ioctl.c:847 do_syscall_32_irqs_on+0x3f/0x60 arch/x86/entry/common.c:403 __do_fast_syscall_32 arch/x86/entry/common.c:448 [inline] do_fast_syscall_32+0x7f/0x120 arch/x86/entry/common.c:474 entry_SYSENTER_compat+0x6d/0x7c arch/x86/entry/entry_64_compat.S:138 RIP: 0023:0xf7f6a569 Code: Bad RIP value. RSP: 002b:00000000f5d650cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000004601 RDX: 0000000020000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000