INFO: task syz-executor.3:27611 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26888 pid:27611 ppid: 6560 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 device_lock include/linux/device.h:760 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2583 [inline] usbdev_ioctl+0x1b5/0x36c0 drivers/usb/core/devio.c:2791 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0434bc9ae9 RSP: 002b:00007f043213f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0434cdcf60 RCX: 00007f0434bc9ae9 RDX: 0000000020000380 RSI: 000000008108551b RDI: 0000000000000003 RBP: 00007f0434c23f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe980c1ff R14: 00007f043213f300 R15: 0000000000022000 INFO: task syz-executor.3:27619 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29720 pid:27619 ppid: 6560 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 device_lock include/linux/device.h:760 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2583 [inline] usbdev_ioctl+0x1b5/0x36c0 drivers/usb/core/devio.c:2791 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0434bc9ae9 RSP: 002b:00007f043211e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0434cdd020 RCX: 00007f0434bc9ae9 RDX: 000000002005a700 RSI: 0000000081f8943c RDI: 0000000000000003 RBP: 00007f0434c23f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe980c1ff R14: 00007f043211e300 R15: 0000000000022000 INFO: task syz-executor.3:27638 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28984 pid:27638 ppid: 6560 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 device_lock include/linux/device.h:760 [inline] usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1030 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0434b7ca04 RSP: 002b:00007f04320dbcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f0434b7ca04 RDX: 0000000000000001 RSI: 00007f04320dbd60 RDI: 00000000ffffff9c RBP: 00007f04320dbd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007fffe980c1ff R14: 00007f04320dc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb81120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-journal/2960: #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by in:imklog/6224: #0: ffff88801e2f88b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by kworker/u4:5/7764: 3 locks held by kworker/u4:3/5990: #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff888089e60d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff888089e60d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x90/0xe80 net/mac80211/ibss.c:1681 5 locks held by kworker/0:14/27293: #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888012bf1d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90004f07db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662 #3: ffff88808b1805c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff88808b1805c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5279 [inline] #3: ffff88808b1805c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5488 [inline] #3: ffff88808b1805c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5634 [inline] #3: ffff88808b1805c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2178/0x4330 drivers/usb/core/hub.c:5716 #4: ffff88801f3e6e68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b5/0x2f10 drivers/usb/core/hub.c:4703 1 lock held by syz-executor.3/27611: #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: usbdev_do_ioctl drivers/usb/core/devio.c:2583 [inline] #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: usbdev_ioctl+0x1b5/0x36c0 drivers/usb/core/devio.c:2791 1 lock held by syz-executor.3/27619: #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: usbdev_do_ioctl drivers/usb/core/devio.c:2583 [inline] #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: usbdev_ioctl+0x1b5/0x36c0 drivers/usb/core/devio.c:2791 1 lock held by syz-executor.3/27638: #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff888147bd6220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1030 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-syzkaller #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 27295 Comm: kworker/0:15 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:rdrand_long arch/x86/include/asm/archrandom.h:25 [inline] RIP: 0010:arch_get_random_long arch/x86/include/asm/archrandom.h:75 [inline] RIP: 0010:arch_get_random_long arch/x86/include/asm/archrandom.h:73 [inline] RIP: 0010:_extract_crng+0xee/0x250 drivers/char/random.c:998 Code: 32 fd 4c 8d 7d 48 4c 89 ff e8 8e 7b 02 05 48 89 04 24 0f 1f 44 00 00 e8 c0 8d 32 fd bb 0a 00 00 00 e8 b6 8d 32 fd 49 0f c7 f4 <41> 0f 92 c5 31 ff 44 89 ee e8 84 91 32 fd 45 84 ed 0f 85 e6 00 00 RSP: 0018:ffffc90004f87b20 EFLAGS: 00000003 RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000000 RDX: ffff888083a7e2c0 RSI: ffffffff8444452a RDI: ffffc90004f87a90 RBP: ffff888011c27800 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520009f0f52 R11: 0000000000000000 R12: a2bbe4d3ced2d939 R13: ffffc90004f87ba8 R14: ffffc90004f87ba8 R15: ffff888011c27848 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f419c35e020 CR3: 00000000770b6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: extract_crng drivers/char/random.c:1016 [inline] _get_random_bytes+0x229/0x670 drivers/char/random.c:1538 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:772 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline] nsim_dev_trap_report_work+0x72e/0xbc0 drivers/net/netdevsim/dev.c:843 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 32 fd xor %ch,%bh 2: 4c 8d 7d 48 lea 0x48(%rbp),%r15 6: 4c 89 ff mov %r15,%rdi 9: e8 8e 7b 02 05 callq 0x5027b9c e: 48 89 04 24 mov %rax,(%rsp) 12: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 17: e8 c0 8d 32 fd callq 0xfd328ddc 1c: bb 0a 00 00 00 mov $0xa,%ebx 21: e8 b6 8d 32 fd callq 0xfd328ddc 26: 49 0f c7 f4 rdrand %r12 * 2a: 41 0f 92 c5 setb %r13b <-- trapping instruction 2e: 31 ff xor %edi,%edi 30: 44 89 ee mov %r13d,%esi 33: e8 84 91 32 fd callq 0xfd3291bc 38: 45 84 ed test %r13b,%r13b 3b: 0f .byte 0xf 3c: 85 e6 test %esp,%esi