mceusb 3-1:0.0: Error: urb status = -71 mceusb 2-1:0.0: Error: urb status = -71 rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=10873, q=38) rcu: All QSes seen, last rcu_preempt kthread activity 0 (4294979141-4294979141), jiffies_till_next_fqs=1, root ->qsmask 0x0 ================================ WARNING: inconsistent lock state 5.13.0-rc2-next-20210518-syzkaller #0 Not tainted -------------------------------- inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. ksoftirqd/0/13 [HC0[0]:SC1[1]:HE0:SE0] takes: ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:543 [inline] ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:709 [inline] ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3922 [inline] ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0xc63/0x2080 kernel/rcu/tree.c:2641 {IN-HARDIRQ-W} state was registered at: lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 rcu_report_exp_cpu_mult+0x1c/0x280 kernel/rcu/tree_exp.h:237 flush_smp_call_function_queue+0x34b/0x640 kernel/smp.c:663 __sysvec_call_function_single+0x95/0x3d0 arch/x86/kernel/smp.c:248 sysvec_call_function_single+0x8e/0xc0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:655 lock_acquire+0x16/0x740 kernel/locking/lockdep.c:5480 __fs_reclaim_acquire mm/page_alloc.c:4421 [inline] fs_reclaim_acquire+0x117/0x160 mm/page_alloc.c:4435 might_alloc include/linux/sched/mm.h:198 [inline] slab_pre_alloc_hook mm/slab.h:485 [inline] slab_alloc_node mm/slub.c:2875 [inline] slab_alloc mm/slub.c:2962 [inline] kmem_cache_alloc+0x3e/0x4a0 mm/slub.c:2967 kmem_cache_zalloc include/linux/slab.h:710 [inline] __kernfs_new_node+0xd4/0x8b0 fs/kernfs/dir.c:626 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:688 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:317 sysfs_create_file_ns+0x131/0x1c0 fs/sysfs/file.c:343 sysfs_create_file include/linux/sysfs.h:601 [inline] bus_create_file drivers/base/bus.c:135 [inline] bus_create_file drivers/base/bus.c:131 [inline] add_probe_files drivers/base/bus.c:567 [inline] bus_register+0x599/0xc20 drivers/base/bus.c:835 platform_bus_init+0x4d/0x7a drivers/base/platform.c:1557 driver_init+0x28/0x37 drivers/base/init.c:34 do_basic_setup init/main.c:1395 [inline] kernel_init_freeable+0x420/0x6cc init/main.c:1601 kernel_init+0xd/0x1c0 init/main.c:1488 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 irq event stamp: 643823 hardirqs last enabled at (643822): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (643822): [] _raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:191 hardirqs last disabled at (643823): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (596912): [] run_ksoftirqd kernel/softirq.c:921 [inline] softirqs last enabled at (596912): [] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 softirqs last disabled at (596917): [] run_ksoftirqd kernel/softirq.c:921 [inline] softirqs last disabled at (596917): [] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rcu_node_0); lock(rcu_node_0); *** DEADLOCK *** 2 locks held by ksoftirqd/0/13: #0: ffffc90000d27c10 ((&dum_hcd->timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:35 [inline] #0: ffffc90000d27c10 ((&dum_hcd->timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x6b0 kernel/time/timer.c:1407 #1: ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:543 [inline] #1: ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:709 [inline] #1: ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3922 [inline] #1: ffffffff8c183e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0xc63/0x2080 kernel/rcu/tree.c:2641 stack backtrace: CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.13.0-rc2-next-20210518-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+0x13e/0x1d6 lib/dump_stack.c:129 print_usage_bug kernel/locking/lockdep.c:203 [inline] valid_state kernel/locking/lockdep.c:3820 [inline] mark_lock_irq kernel/locking/lockdep.c:4023 [inline] mark_lock.cold+0x61/0x8e kernel/locking/lockdep.c:4480 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4081 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4099 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4167 [inline] lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4119 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:191 Code: 74 24 10 e8 aa 03 3b f8 48 89 ef e8 42 7c 3b f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 13 99 2e f8 65 8b 05 ec 98 e1 76 85 c0 74 0a 5b 5d c3 e8 e0 90 RSP: 0018:ffffc90000d279a8 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff2091aa2 RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000001 RBP: ffff888146bac000 R08: 0000000000000001 R09: ffffffff90440a2f R10: 0000000000000001 R11: 0000000000000000 R12: ffff888146bd7440 R13: ffff8880151cda00 R14: dffffc0000000000 R15: ffff888027612700 spin_unlock_irqrestore include/linux/spinlock.h:414 [inline] dummy_timer+0x12f6/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1992 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731 __run_timers kernel/time/timer.c:1712 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744 __do_softirq+0x29b/0x9fb kernel/softirq.c:559 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:164 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ------------[ cut here ]------------ timer: dummy_timer+0x0/0x32b0 include/linux/list.h:112 preempt leak: 00000100 -> 00000101 WARNING: CPU: 0 PID: 13 at kernel/time/timer.c:1423 call_timer_fn+0x664/0x6b0 kernel/time/timer.c:1423 Modules linked in: CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:call_timer_fn+0x664/0x6b0 kernel/time/timer.c:1423 Code: e8 a1 a4 10 00 89 da 4c 89 f6 48 c7 c7 60 94 8d 89 65 8b 0d 7e c0 9c 7e 81 e1 ff ff ff 7f c6 05 a4 33 70 0c 01 e8 57 90 76 07 <0f> 0b e9 f4 fb ff ff e8 70 a4 10 00 0f 0b e9 6f fd ff ff e8 64 a4 RSP: 0018:ffffc90000d27bd8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000100 RCX: 0000000000000000 RDX: ffff8880123f0000 RSI: ffffffff815dbea5 RDI: fffff520001a4f6d RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815d5cee R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff920001a4f7c R14: ffffffff8597d640 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f296c052028 CR3: 00000000229f0000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731 __run_timers kernel/time/timer.c:1712 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744 __do_softirq+0x29b/0x9fb kernel/softirq.c:559 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:164 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294