INFO: task kworker/0:19:15569 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-13918-g44688ffd111a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:19 state:D stack:21048 pid:15569 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: ffffffff8cb1ee20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by hwrng/756: #0: ffffffff8d24cc08 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xec/0x470 drivers/char/hw_random/core.c:503 2 locks held by getty/3298: #0: ffff88814a91c098 (&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/8701: #0: ffff888022258888 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:197 [inline] #0: ffff888022258888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x19b/0x570 fs/kernfs/file.c:236 #1: ffff8880225bbae8 (kn->active#86){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline] #1: ffff8880225bbae8 (kn->active#86){++++}-{0:0}, at: kernfs_fop_read_iter+0x1b3/0x570 fs/kernfs/file.c:236 #2: ffff88801fb15190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff88801fb15190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x30/0x390 drivers/usb/core/sysfs.c:873 6 locks held by kworker/0:19/15569: #0: ffff888011e2d938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000cb27d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888147622190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888147622190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bf/0xd70 drivers/usb/core/hub.c:5691 #3: ffff88801fb15190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff88801fb15190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x5a0 drivers/base/dd.c:964 #4: ffff88801fb17118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88801fb17118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x5a0 drivers/base/dd.c:964 #5: ffffffff8d24cc08 (reading_mutex){+.+.}-{3:3}, at: add_early_randomness drivers/char/hw_random/core.c:69 [inline] #5: ffffffff8d24cc08 (reading_mutex){+.+.}-{3:3}, at: hwrng_register+0x3bf/0x680 drivers/char/hw_random/core.c:599 2 locks held by syz-executor.4/26078: #0: ffffffff8d248de8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107 #1: ffffffff8c9d52c8 (system_transition_mutex){+.+.}-{3:3}, at: snapshot_open+0x23/0x260 kernel/power/user.c:54 1 lock held by syz-executor.1/26091: #0: ffffffff8d248de8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107 1 lock held by syz-executor.2/26100: #0: ffffffff8d248de8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.18.0-syzkaller-13918-g44688ffd111a #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: 2969 Comm: klogd Not tainted 5.18.0-syzkaller-13918-g44688ffd111a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x6/0x120 lib/smp_processor_id.c:13 Code: 80 23 97 8a e8 3b 01 00 00 65 ff 0d e0 70 d8 75 5b c3 cc cc 48 c7 c7 40 8b e9 8a 48 c7 c6 80 8b e9 8a eb 00 41 57 41 56 41 54 <53> 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d RSP: 0018:ffffc90002d4f760 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 1ffff920005a9ef4 RCX: ffff88807dd98000 RDX: 00000000000001c0 RSI: ffffffff8ae98b80 RDI: ffffffff8ae98b40 RBP: ffffc90002d4f820 R08: 0000000000482cc0 R09: 00000000ffffffff R10: fffffbfff1c0701e R11: 1ffffffff1c0701d R12: ffff888011c42dc0 R13: 0000000000482cc0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007eff343b9800(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019853c20 CR3: 0000000026d50000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:341 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1138 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x6b/0x130 kernel/rcu/update.c:123 trace_kmalloc_node+0x2d/0xe0 include/trace/events/kmem.h:100 __kmalloc_node_track_caller+0x259/0x3f0 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0x11d/0x660 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1426 [inline] alloc_skb_with_frags+0xac/0x800 net/core/skbuff.c:5992 sock_alloc_send_pskb+0x930/0xa70 net/core/sock.c:2662 unix_dgram_sendmsg+0x5ca/0x1fc0 net/unix/af_unix.c:1895 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x439/0x5c0 net/socket.c:2119 __do_sys_sendto net/socket.c:2131 [inline] __se_sys_sendto net/socket.c:2127 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2127 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:0x7eff345550ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007ffea8750198 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007eff345550ac RDX: 0000000000000052 RSI: 000055af40c3b530 RDI: 0000000000000003 RBP: 000055af40c33910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007eff346d077d R15: 00007ffea87502a8 ---------------- Code disassembly (best guess): 0: 80 23 97 andb $0x97,(%rbx) 3: 8a e8 mov %al,%ch 5: 3b 01 cmp (%rcx),%eax 7: 00 00 add %al,(%rax) 9: 65 ff 0d e0 70 d8 75 decl %gs:0x75d870e0(%rip) # 0x75d870f0 10: 5b pop %rbx 11: c3 retq 12: cc int3 13: cc int3 14: 48 c7 c7 40 8b e9 8a mov $0xffffffff8ae98b40,%rdi 1b: 48 c7 c6 80 8b e9 8a mov $0xffffffff8ae98b80,%rsi 22: eb 00 jmp 0x24 24: 41 57 push %r15 26: 41 56 push %r14 28: 41 54 push %r12 * 2a: 53 push %rbx <-- trapping instruction 2b: 48 83 ec 10 sub $0x10,%rsp 2f: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 36: 00 00 38: 48 89 44 24 08 mov %rax,0x8(%rsp) 3d: 65 gs 3e: 8b .byte 0x8b 3f: 1d .byte 0x1d