INFO: task kworker/1:6:424 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00024-g6bfb56e93bce #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:22496 pid: 424 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6428 schedule+0xeb/0x1b0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 add_early_randomness drivers/char/hw_random/core.c:69 [inline] hwrng_register+0x3bf/0x680 drivers/char/hw_random/core.c:599 chaoskey_probe+0x7f0/0xb10 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x66e/0xb60 drivers/usb/core/driver.c:396 call_driver_probe+0x96/0x250 really_probe+0x220/0x940 drivers/base/dd.c:634 __driver_probe_device+0x1f4/0x3f0 drivers/base/dd.c:764 driver_probe_device+0x50/0x240 drivers/base/dd.c:794 __device_attach_driver+0x273/0x3d0 drivers/base/dd.c:917 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427 __device_attach+0x372/0x5a0 drivers/base/dd.c:989 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487 device_add+0xb20/0xf90 drivers/base/core.c:3417 usb_set_configuration+0x1a5f/0x20e0 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238 usb_probe_device+0x131/0x260 drivers/usb/core/driver.c:293 call_driver_probe+0x96/0x250 really_probe+0x220/0x940 drivers/base/dd.c:634 __driver_probe_device+0x1f4/0x3f0 drivers/base/dd.c:764 driver_probe_device+0x50/0x240 drivers/base/dd.c:794 __device_attach_driver+0x273/0x3d0 drivers/base/dd.c:917 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427 __device_attach+0x372/0x5a0 drivers/base/dd.c:989 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487 device_add+0xb20/0xf90 drivers/base/core.c:3417 usb_new_device+0xbfc/0x18a0 drivers/usb/core/hub.c:2566 hub_port_connect+0x106b/0x2930 drivers/usb/core/hub.c:5363 hub_port_connect_change+0x619/0xbe0 drivers/usb/core/hub.c:5507 port_event+0xeb7/0x1390 drivers/usb/core/hub.c:5663 hub_event+0x5be/0xd70 drivers/usb/core/hub.c:5745 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cb1eba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by hwrng/755: #0: ffffffff8d24c988 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xec/0x470 drivers/char/hw_random/core.c:503 2 locks held by syslogd/2960: #0: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x567/0x820 kernel/sched/psi.c:889 4 locks held by klogd/2967: #0: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x567/0x820 kernel/sched/psi.c:889 #2: ffff88807f40c498 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xa1/0x990 kernel/sched/core.c:4079 #3: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 2 locks held by getty/3292: #0: ffff888027452098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by udevd/26375: #0: ffff888036832088 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:197 [inline] #0: ffff888036832088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x19b/0x570 fs/kernfs/file.c:236 #1: ffff888021a90cb8 (kn->active#86){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline] #1: ffff888021a90cb8 (kn->active#86){++++}-{0:0}, at: kernfs_fop_read_iter+0x1b3/0x570 fs/kernfs/file.c:236 #2: ffff88802bc00190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff88802bc00190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x30/0x390 drivers/usb/core/sysfs.c:873 6 locks held by kworker/1:6/424: #0: ffff888017b17138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90004107d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888021617190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888021617190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bf/0xd70 drivers/usb/core/hub.c:5691 #3: ffff88802bc00190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff88802bc00190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x5a0 drivers/base/dd.c:964 #4: ffff88802bc07118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88802bc07118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x5a0 drivers/base/dd.c:964 #5: ffffffff8d24c988 (reading_mutex){+.+.}-{3:3}, at: add_early_randomness drivers/char/hw_random/core.c:69 [inline] #5: ffffffff8d24c988 (reading_mutex){+.+.}-{3:3}, at: hwrng_register+0x3bf/0x680 drivers/char/hw_random/core.c:599 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc1-syzkaller-00024-g6bfb56e93bce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xd18/0xd60 kernel/hung_task.c:378 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2960 Comm: syslogd Not tainted 5.19.0-rc1-syzkaller-00024-g6bfb56e93bce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tomoyo_check_acl+0xbd/0x420 security/tomoyo/domain.c:173 Code: 49 39 dc 0f 84 14 02 00 00 0f 1f 40 00 49 8d 6c 24 18 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 1c 01 00 00 0f b6 6d 00 <31> ff 89 ee e8 2a 6a 8f fd 85 ed 74 16 e8 41 67 8f fd e9 c5 00 00 RSP: 0018:ffffc9000d74f558 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88807fa71690 RCX: ffff88807f40bb00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff83f88285 R09: ffffffff83f9ca62 R10: 0000000000000002 R11: ffff88807f40bb00 R12: ffff88807f9e2400 R13: ffff88807fa71680 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f86ecc66800(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01a4bb000 CR3: 000000007faf7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_path_permission+0x1af/0x360 security/tomoyo/file.c:586 tomoyo_check_open_permission+0x353/0x490 security/tomoyo/file.c:780 security_file_open+0x50/0x560 security/security.c:1645 do_dentry_open+0x34a/0x1040 fs/open.c:835 do_open fs/namei.c:3520 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3653 do_filp_open+0x277/0x4f0 fs/namei.c:3680 do_sys_openat2+0x13b/0x500 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f86ecdf2697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007ffd25db1d40 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005562075ad910 RCX: 00007f86ecdf2697 RDX: 0000000000000d41 RSI: 00007f86ecf8099a RDI: 00000000ffffff9c RBP: 00007f86ecf8099a R08: 00007f86ece82040 R09: 00007f86ece820c0 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000d41 R13: 00005562075ada50 R14: 0000000000000004 R15: 00005562075ada60 ---------------- Code disassembly (best guess): 0: 49 39 dc cmp %rbx,%r12 3: 0f 84 14 02 00 00 je 0x21d 9: 0f 1f 40 00 nopl 0x0(%rax) d: 49 8d 6c 24 18 lea 0x18(%r12),%rbp 12: 48 89 e8 mov %rbp,%rax 15: 48 c1 e8 03 shr $0x3,%rax 19: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 1e: 84 c0 test %al,%al 20: 0f 85 1c 01 00 00 jne 0x142 26: 0f b6 6d 00 movzbl 0x0(%rbp),%ebp * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 89 ee mov %ebp,%esi 2e: e8 2a 6a 8f fd callq 0xfd8f6a5d 33: 85 ed test %ebp,%ebp 35: 74 16 je 0x4d 37: e8 41 67 8f fd callq 0xfd8f677d 3c: e9 .byte 0xe9 3d: c5 .byte 0xc5