INFO: task syz-executor.1:30192 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00003-ge71e60cd74df #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28408 pid:30192 ppid: 3650 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 misc_open+0x5f/0x4a0 drivers/char/misc.c:107 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 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+0x13f/0x1f0 fs/open.c:1305 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+0x46/0xb0 RIP: 0033:0x7ff80563c024 RSP: 002b:00007ff8068b8020 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff80579bf60 RCX: 00007ff80563c024 RDX: 0000000000000002 RSI: 00007ff8056e1ee8 RDI: 00000000ffffff9c RBP: 00007ff8056e1ee8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000000 R14: 00000000200007c0 R15: 0000000000022000 INFO: task syz-executor.5:30201 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00003-ge71e60cd74df #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26744 pid:30201 ppid: 3660 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 misc_open+0x5f/0x4a0 drivers/char/misc.c:107 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 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+0x13f/0x1f0 fs/open.c:1305 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+0x46/0xb0 RIP: 0033:0x7f53a5689109 RSP: 002b:00007f53a67e7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f53a579bf60 RCX: 00007f53a5689109 RDX: 0000000000000042 RSI: 0000000020002080 RDI: ffffffffffffff9c RBP: 00007f53a56e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f53a5ccfb1f R14: 00007f53a67e7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd866e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 1 lock held by hwrng/755: #0: ffffffff8c832908 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x141/0x370 drivers/char/hw_random/core.c:503 2 locks held by getty/3296: #0: ffff888026b01098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 5 locks held by kworker/1:6/3690: #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880174cd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000437fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888020db3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888020db3190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4690 drivers/usb/core/hub.c:5691 #3: ffff8880437b3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff8880437b3190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:964 #4: ffff88804447a118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88804447a118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:964 3 locks held by udevd/8695: #0: ffff88807c8a0c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:197 [inline] #0: ffff88807c8a0c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6e0 fs/kernfs/file.c:236 #1: ffff888075256918 (kn->active#84){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline] #1: ffff888075256918 (kn->active#84){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6e0 fs/kernfs/file.c:236 #2: ffff8880437b3190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff8880437b3190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 2 locks held by syz-executor.4/30184: #0: ffffffff8c82dda8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5f/0x4a0 drivers/char/misc.c:107 #1: ffffffff8bc53428 (system_transition_mutex){+.+.}-{3:3}, at: snapshot_open+0x3b/0x2a0 kernel/power/user.c:54 1 lock held by syz-executor.1/30192: #0: ffffffff8c82dda8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5f/0x4a0 drivers/char/misc.c:107 1 lock held by syz-executor.5/30201: #0: ffffffff8c82dda8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5f/0x4a0 drivers/char/misc.c:107 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc1-syzkaller-00003-ge71e60cd74df #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+0x1e6/0x230 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+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20780 Comm: syz-fuzzer Not tainted 5.19.0-rc1-syzkaller-00003-ge71e60cd74df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1185 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x28/0x140 kernel/rcu/tree.c:1177 Code: 00 90 65 8b 15 09 3c 9d 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 16 42 56 0c 85 d2 75 01 c3 55 53 65 ff 05 e8 3b 9d 7e e3 e0 11 08 48 c7 c3 c0 ad 03 00 83 f8 07 89 c5 0f 87 e9 00 00 RSP: 0018:ffffc9000cc4fef0 EFLAGS: 00000082 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8180c34c RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffffffff8b7f98e8 RBP: ffffffff89770ebe R08: 0000000000000000 R09: ffffffff8dbb7457 R10: fffffbfff1b76e8a R11: 1ffffd40002d4cb2 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000000c013f10890(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ccdd9fe600 CR3: 0000000051a7d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_irq_enable include/trace/events/preemptirq.h:40 [inline] trace_hardirqs_on_prepare kernel/trace/trace_preemptirq.c:32 [inline] trace_hardirqs_on_prepare+0x79/0x170 kernel/trace/trace_preemptirq.c:28 __exit_to_user_mode kernel/entry/common.c:128 [inline] syscall_exit_to_user_mode+0x1e/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x466897 Code: 8b 24 24 48 8b 6c 24 10 48 83 c4 18 c3 cc cc cc cc cc cc 48 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 48 c7 c0 1c 00 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 RSP: 002b:000000c000537e18 EFLAGS: 00000202 ORIG_RAX: 000000000000001c RAX: 0000000000000000 RBX: 0000000000002000 RCX: 0000000000466897 RDX: 0000000000000004 RSI: 0000000000002000 RDI: 000000c013b5e000 RBP: 000000c000537e58 R08: 0000000000200000 R09: 0000000000000200 R10: 00000000000001b0 R11: 0000000000000202 R12: 00007f5149efb000 R13: 0000000000002700 R14: 000000c009221d40 R15: 0000000000001018 ---------------- Code disassembly (best guess): 0: 00 90 65 8b 15 09 add %dl,0x9158b65(%rax) 6: 3c 9d cmp $0x9d,%al 8: 7e 81 jle 0xffffff8b a: e2 00 loop 0xc c: 00 f0 add %dh,%al e: 00 b8 01 00 00 00 add %bh,0x1(%rax) 14: 75 0a jne 0x20 16: 8b 15 16 42 56 0c mov 0xc564216(%rip),%edx # 0xc564232 1c: 85 d2 test %edx,%edx 1e: 75 01 jne 0x21 20: c3 retq 21: 55 push %rbp 22: 53 push %rbx 23: 65 ff 05 e8 3b 9d 7e incl %gs:0x7e9d3be8(%rip) # 0x7e9d3c12 * 2a: e8 e3 e0 11 08 callq 0x811e112 <-- trapping instruction 2f: 48 c7 c3 c0 ad 03 00 mov $0x3adc0,%rbx 36: 83 f8 07 cmp $0x7,%eax 39: 89 c5 mov %eax,%ebp 3b: 0f .byte 0xf 3c: 87 e9 xchg %ebp,%ecx