INFO: task hwrng:753 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:hwrng state:D stack:27376 pid:753 tgid:753 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 hwrng_fillfn+0xe6/0x3c0 drivers/char/hw_random/core.c:504 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by hwrng/753: #0: ffffffff8e0e0cc8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xe6/0x3c0 drivers/char/hw_random/core.c:504 2 locks held by getty/4811: #0: ffff88814aea10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.5/5102: #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 2 locks held by kworker/1:3/5107: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90003d0fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90003d0fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 1 lock held by syz-executor.2/5113: #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 3 locks held by kworker/u4:10/5492: 3 locks held by syz-executor.0/20453: 1 lock held by syz-executor.0/20658: 1 lock held by syz-executor.0/20780: 1 lock held by syz-executor.0/20849: 1 lock held by udevadm/20850: 1 lock held by udevadm/20851: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4500 Comm: klogd Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_cmp4+0x34/0x90 kernel/kcov.c:278 Code: 8b 15 80 3d 75 7e 65 8b 05 81 3d 75 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 ba fc 15 00 00 00 74 52 8b 82 d8 15 00 00 <83> f8 03 75 47 48 8b 8a e0 15 00 00 44 8b 8a dc 15 00 00 49 c1 e1 RSP: 0018:ffffc9000319f6f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffff88807c38d940 RDX: ffff88807c38d940 RSI: 0000000000000003 RDI: 0000000000000004 RBP: ffffc9000319f810 R08: ffffffff8b11937e R09: 0000000000000000 R10: ffffc9000319f780 R11: fffff52000633ef3 R12: 0000000000000004 R13: dffffc0000000000 R14: 0000000000000004 R15: ffffc9000319fba5 FS: 00007f3eb98a3380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b6d8ea6c28 CR3: 000000007c210000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: number+0x93e/0xf90 lib/vsprintf.c:556 vsnprintf+0x1542/0x1da0 lib/vsprintf.c:2890 sprintf+0xda/0x120 lib/vsprintf.c:3028 print_time kernel/printk/printk.c:1324 [inline] info_print_prefix+0x16b/0x300 kernel/printk/printk.c:1350 record_print_text kernel/printk/printk.c:1399 [inline] syslog_print+0x4b7/0x9b0 kernel/printk/printk.c:1610 do_syslog+0x505/0x890 kernel/printk/printk.c:1728 __do_sys_syslog kernel/printk/printk.c:1820 [inline] __se_sys_syslog kernel/printk/printk.c:1818 [inline] __x64_sys_syslog+0x7c/0x90 kernel/printk/printk.c:1818 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f3eb9a04fa7 Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007fff486c1af8 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007f3eb9ba34a0 RCX: 00007f3eb9a04fa7 RDX: 00000000000003ff RSI: 00007f3eb9ba34a0 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000002 R09: a0aa3cdb741e9585 R10: 0000000000004000 R11: 0000000000000206 R12: 00007f3eb9ba34a0 R13: 00007f3eb9b93212 R14: 00007f3eb9ba351e R15: 00007f3eb9ba351e