INFO: task hwrng:754 blocked for more than 143 seconds. Not tainted 6.7.0-rc3-syzkaller-00048-ge8f60209d6cf #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:hwrng state:D stack:26520 pid:754 tgid:754 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: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:3/48: 1 lock held by hwrng/754: #0: ffffffff8e0e05e8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xe6/0x3c0 drivers/char/hw_random/core.c:504 2 locks held by kworker/1:2/2517: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc9000ad4fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc9000ad4fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 2 locks held by getty/4814: #0: ffff88802a4aa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 6 locks held by kworker/1:5/5151: #0: ffff8881400f8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff8881400f8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc90004bb7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90004bb7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffff888142f3f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888142f3f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5050 drivers/usb/core/hub.c:5768 #3: ffff888142f52510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3131 [inline] #3: ffff888142f52510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff888142f52510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff888142f52510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff888142f52510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x264e/0x5050 drivers/usb/core/hub.c:5822 #4: ffff88801ff99f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88801ff99f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88801ff99f68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88801ff99f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2682/0x5050 drivers/usb/core/hub.c:5822 #5: ffffffff8e4b6f30 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x1f8/0x1b20 drivers/usb/core/hub.c:2946 2 locks held by kworker/u4:9/6788: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc9000acbfd20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc9000acbfd20 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 3 locks held by kworker/u4:6/13309: #0: ffff888012c73d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c73d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #1: ffffc900162e7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900162e7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2703 #2: ffffffff8eb29250 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb80 net/core/net_namespace.c:576 2 locks held by kworker/0:0/14601: 1 lock held by syz-executor.2/17076: 2 locks held by syz-executor.2/17077: 1 lock held by syz-executor.1/19482: 4 locks held by syz-executor.5/19494: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc3-syzkaller-00048-ge8f60209d6cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19494 Comm: syz-executor.5 Not tainted 6.7.0-rc3-syzkaller-00048-ge8f60209d6cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:rcu_lockdep_current_cpu_online+0x60/0x120 kernel/rcu/tree.c:4242 Code: 09 89 c3 83 f8 08 0f 83 c2 00 00 00 49 be 00 00 00 00 00 fc ff df 48 8d 1c dd 40 89 34 8d 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 df e8 b6 92 73 00 48 8b 03 48 8d 98 40 d2 03 00 48 8d RSP: 0018:ffffc90005497100 EFLAGS: 00000046 RAX: 1ffffffff1a69128 RBX: ffffffff8d348940 RCX: 0000000000000002 RDX: 0000000000003da5 RSI: ffffffff8bbdf1e0 RDI: ffffffff8bbdf1a0 RBP: ffffc900054971b8 R08: ffffffff8f00b76f R09: 1ffffffff1e016ed R10: dffffc0000000000 R11: fffffbfff1e016ee R12: ffffffff8d348940 R13: ffff888085a77800 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f39a94796c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c7030 CR3: 000000009425c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:113 [inline] rcu_read_lock_sched_held+0x78/0x130 kernel/rcu/update.c:124 task_css include/linux/cgroup.h:434 [inline] task_ca kernel/sched/cpuacct.c:39 [inline] cpuacct_charge+0x12f/0x330 kernel/sched/cpuacct.c:341 cgroup_account_cputime include/linux/cgroup.h:716 [inline] update_current_exec_runtime+0xeb/0x250 kernel/sched/sched.h:3271 update_curr_rt+0x16d/0x700 kernel/sched/rt.c:1021 put_prev_task_rt+0x4e/0x240 kernel/sched/rt.c:1786 put_prev_task kernel/sched/sched.h:2282 [inline] put_prev_task_balance kernel/sched/core.c:5976 [inline] pick_next_task kernel/sched/core.c:6111 [inline] __schedule+0x2cc9/0x4ab0 kernel/sched/core.c:6652 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6865 preempt_schedule+0xdd/0xf0 kernel/sched/core.c:6889 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x12c/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x187/0x1e0 kernel/sched/wait.c:108 __unix_dgram_recvmsg+0x602/0x12c0 net/unix/af_unix.c:2412 sock_recvmsg_nosec+0x86/0xd0 net/socket.c:1044 ____sys_recvmsg+0x483/0x580 net/socket.c:2801 ___sys_recvmsg net/socket.c:2845 [inline] do_recvmmsg+0x474/0xae0 net/socket.c:2939 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0x199/0x240 net/socket.c:3034 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f39a867cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f39a94790c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f39a879c050 RCX: 00007f39a867cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f39a86c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f39a879c050 R15: 00007fff7e521798