DRBG: could not allocate CTR cipher TFM handle: ctr(aes) DRBG: could not allocate CTR cipher TFM handle: ctr(aes) DRBG: could not allocate CTR cipher TFM handle: ctr(aes) INFO: task getty:8154 blocked for more than 140 seconds. Not tainted 4.19.96-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. getty D25096 8154 1 0x80000002 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1782 down_write_failed drivers/tty/tty_ldsem.c:284 [inline] __ldsem_down_write_nested+0x3b3/0x8f0 drivers/tty/tty_ldsem.c:346 ldsem_down_write+0x33/0x40 drivers/tty/tty_ldsem.c:388 __tty_ldisc_lock drivers/tty/tty_ldisc.c:320 [inline] tty_ldisc_lock+0x50/0x90 drivers/tty/tty_ldisc.c:344 tty_ldisc_hangup+0x1b9/0x630 drivers/tty/tty_ldisc.c:746 __tty_hangup.part.0+0x306/0x720 drivers/tty/tty_io.c:623 __tty_hangup drivers/tty/tty_io.c:573 [inline] tty_vhangup_session+0x25/0x30 drivers/tty/tty_io.c:733 disassociate_ctty.part.0+0xb4/0x6f0 drivers/tty/tty_jobctrl.c:267 disassociate_ctty+0x81/0xa0 drivers/tty/tty_jobctrl.c:261 do_exit+0x180e/0x30d0 kernel/exit.c:878 do_group_exit+0x135/0x370 kernel/exit.c:983 __do_sys_exit_group kernel/exit.c:994 [inline] __se_sys_exit_group kernel/exit.c:992 [inline] __x64_sys_exit_group+0x44/0x50 kernel/exit.c:992 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fa37154d1e8 Code: Bad RIP value. RSP: 002b:00007ffd34344ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa37154d1e8 RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001 RBP: 00007fa371822840 R08: 00000000000000e7 R09: ffffffffffffffa8 R10: 00007fa371828740 R11: 0000000000000246 R12: 00007fa371822840 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 INFO: task kworker/u4:0:6701 blocked for more than 140 seconds. Not tainted 4.19.96-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:0 D25568 6701 2 0x80000000 Workqueue: events_unbound flush_to_ldisc Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3617 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 flush_to_ldisc+0x3d/0x390 drivers/tty/tty_buffer.c:500 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 1 lock held by khungtaskd/1082: #0: 000000004ffc9e50 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/8029: #0: 00000000eb7f37b6 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/8153: #0: 000000009f7cd613 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000e5e73ba3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8154: #0: 0000000085483dc3 (&tty->legacy_mutex){+.+.}, at: tty_lock+0x73/0xb0 drivers/tty/tty_mutex.c:19 #1: 000000004b670b9d (&tty->ldisc_sem){++++}, at: ldsem_down_write+0x33/0x40 drivers/tty/tty_ldsem.c:388 2 locks held by getty/8155: #0: 000000001aa99054 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000953d3438 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8156: #0: 000000009cdfed02 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000685a9ef3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8157: #0: 000000003ae7c3fc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000005b2ffba8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8158: #0: 000000003cadb12b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000ed4c8d96 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/30775: #0: 00000000df7dedca (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000040759295 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:0/6701: #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000002838449 ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 00000000d8c61848 ((work_completion)(&buf->work)){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 #2: 000000002a46000d (&buf->lock){+.+.}, at: flush_to_ldisc+0x3d/0x390 drivers/tty/tty_buffer.c:500 3 locks held by syz-executor.1/24657: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1082 Comm: khungtaskd Not tainted 4.19.96-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+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24657 Comm: syz-executor.1 Not tainted 4.19.96-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x1c/0x290 lib/smp_processor_id.c:13 Code: 38 fe e9 28 f1 ff ff 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 56 49 89 f6 41 55 41 54 49 89 fc 53 48 83 ec 08 e8 04 fa 00 fe <65> 44 8b 2d 6c 65 97 7c 65 8b 1d 05 d2 97 7c 81 e3 ff ff ff 7f 31 RSP: 0018:ffff888094f6f610 EFLAGS: 00000046 RAX: 0000000000040000 RBX: 0000000000023980 RCX: ffffc9000f0cf000 RDX: 0000000000040000 RSI: ffffffff836a1bbc RDI: ffffffff87eb2940 RBP: ffff888094f6f640 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8a0c6010 R11: 0000000000000001 R12: ffffffff87eb2940 R13: ffff88809045c2d8 R14: ffffffff87eb2900 R15: 0000000000000f1c FS: 00007f0f8459b700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa37154d1be CR3: 00000000676a7000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:56 rcu_dynticks_curr_cpu_in_eqs+0x17/0xb0 kernel/rcu/tree.c:348 rcu_is_watching+0x10/0x30 kernel/rcu/tree.c:1025 rcu_read_lock_sched_held+0x8e/0x130 kernel/rcu/update.c:113 trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] update_curr+0x73b/0x8a0 kernel/sched/fair.c:828 pick_next_task_fair+0x6bf/0x1580 kernel/sched/fair.c:6698 pick_next_task kernel/sched/core.c:3361 [inline] __schedule+0x456/0x1dc0 kernel/sched/core.c:3489 schedule+0x92/0x1c0 kernel/sched/core.c:3559 paste_selection+0x2e8/0x443 drivers/tty/vt/selection.c:354 tioclinux+0x133/0x470 drivers/tty/vt/vt.c:3019 vt_ioctl+0x19ab/0x2530 drivers/tty/vt/vt_ioctl.c:364 tty_ioctl+0x7f3/0x1510 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0f8459ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49 RDX: 0000000020000040 RSI: 000000000000541c RDI: 0000000000000005 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0f8459b6d4 R13: 00000000004c6498 R14: 00000000004ddd98 R15: 00000000ffffffff