mceusb 5-1:0.0: Error: urb status = -71 mceusb 4-1:0.0: Error: urb status = -71 rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=12537, q=140) rcu: All QSes seen, last rcu_preempt kthread activity 10489 (4294997739-4294987250), jiffies_till_next_fqs=1, root ->qsmask 0x0 ================================ WARNING: inconsistent lock state 5.14.0-rc4-syzkaller #0 Not tainted -------------------------------- inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. systemd-udevd/4864 [HC0[0]:SC1[1]:HE0:SE0] takes: ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:543 [inline] ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:709 [inline] ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3922 [inline] ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0xc9a/0x20c0 kernel/rcu/tree.c:2641 {IN-HARDIRQ-W} state was registered at: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __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:646 slab_alloc mm/slab.c:3318 [inline] kmem_cache_alloc+0x18e/0x540 mm/slab.c:3507 kmem_cache_zalloc include/linux/slab.h:711 [inline] __kernfs_new_node+0xd4/0x8b0 fs/kernfs/dir.c:583 kernfs_new_node fs/kernfs/dir.c:645 [inline] kernfs_create_dir_ns+0x9c/0x220 fs/kernfs/dir.c:982 sysfs_create_dir_ns+0x128/0x290 fs/sysfs/dir.c:59 create_dir lib/kobject.c:89 [inline] kobject_add_internal+0x2d2/0xa60 lib/kobject.c:255 kset_register+0x165/0x1e0 lib/kobject.c:878 kset_create_and_add+0x12a/0x190 lib/kobject.c:1015 buses_init+0x6f/0x8c drivers/base/bus.c:1173 driver_init+0x14/0x37 drivers/base/init.c:25 do_basic_setup init/main.c:1387 [inline] kernel_init_freeable+0x495/0x741 init/main.c:1593 kernel_init+0x1a/0x1d0 init/main.c:1485 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 irq event stamp: 786671 hardirqs last enabled at (786670): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (786670): [] _raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:191 hardirqs last disabled at (786671): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (761828): [] sock_orphan include/net/sock.h:1908 [inline] softirqs last enabled at (761828): [] unix_release_sock+0x27a/0xbc0 net/unix/af_unix.c:538 softirqs last disabled at (762479): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (762479): [] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rcu_node_0); lock(rcu_node_0); *** DEADLOCK *** 3 locks held by systemd-udevd/4864: #0: ffffffff8c149c98 (tomoyo_ss){....}-{0:0}, at: tomoyo_path_perm+0x1c1/0x400 security/tomoyo/file.c:847 #1: ffffc90000007d70 ((&dum_hcd->timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:35 [inline] #1: ffffc90000007d70 ((&dum_hcd->timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x6b0 kernel/time/timer.c:1409 #2: ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:543 [inline] #2: ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:709 [inline] #2: ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3922 [inline] #2: ffffffff8b981e58 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0xc9a/0x20c0 kernel/rcu/tree.c:2641 stack backtrace: CPU: 0 PID: 4864 Comm: systemd-udevd Not tainted 5.14.0-rc4-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:105 print_usage_bug kernel/locking/lockdep.c:203 [inline] valid_state kernel/locking/lockdep.c:3933 [inline] mark_lock_irq kernel/locking/lockdep.c:4136 [inline] mark_lock.cold+0x61/0x8e kernel/locking/lockdep.c:4593 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4194 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4212 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4280 [inline] lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4232 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 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 38 2d f8 48 89 ef e8 52 ae 2d 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 93 88 21 f8 65 8b 05 9c df d4 76 85 c0 74 0a 5b 5d c3 e8 30 e4 RSP: 0018:ffffc90000007b08 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1fa52da RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000001 RBP: ffff888146af0000 R08: 0000000000000001 R09: ffffffff8fcda977 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888146baf440 R13: ffff888023c40a00 R14: dffffc0000000000 R15: ffff88801f191200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] dummy_timer+0x12f6/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:2001 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1419 expire_timers kernel/time/timer.c:1464 [inline] __run_timers.part.0+0x675/0xa50 kernel/time/timer.c:1732 __run_timers kernel/time/timer.c:1713 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1745 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x6b/0x70 kernel/kcov.c:286 Code: 00 00 00 48 39 fe 72 22 44 89 c6 48 83 c2 01 48 89 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 0f 1f 40 00 41 57 41 56 49 89 d6 41 55 41 54 55 48 89 fd 53 48 RSP: 0018:ffffc900017a7718 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff89dd3c03 RCX: 00000000fffffffc RDX: 0000000000000000 RSI: ffff888025522100 RDI: 0000000000000003 RBP: ffffc900017a7910 R08: 0000000000000000 R09: 0000000000000074 R10: ffffffff83f2fa71 R11: 0000000000000000 R12: 0000000000000074 R13: ffffc900017a7909 R14: ffffffff89dd3c00 R15: 0000000000000003 string_nocheck lib/vsprintf.c:637 [inline] string+0x191/0x3d0 lib/vsprintf.c:720 vsnprintf+0x71d/0x14f0 lib/vsprintf.c:2797 tomoyo_supervisor+0x10c/0xf00 security/tomoyo/common.c:2069 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1332 vfs_getattr fs/stat.c:139 [inline] vfs_statx+0x164/0x390 fs/stat.c:207 vfs_fstatat fs/stat.c:225 [inline] vfs_stat include/linux/fs.h:3382 [inline] __do_sys_newstat+0x91/0x110 fs/stat.c:367 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:0x7f638cbd0295 Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 0f 1f 84 00 00 00 00 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 d1 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff6b3acb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000055b044012970 RCX: 00007f638cbd0295 RDX: 00007fff6b3acb40 RSI: 00007fff6b3acb40 RDI: 000055b043ff24e3 RBP: 000055b0459caa28 R08: fee2000000000000 R09: 0000000000000003 R10: 00058e3555e47640 R11: 0000000000000246 R12: 00007fff6b3acb40 R13: 0000000000000000 R14: 00007fff6b3acb98 R15: 0000000000000000 ------------[ cut here ]------------ timer: dummy_timer+0x0/0x32b0 include/linux/list.h:112 preempt leak: 00000100 -> 00000101 WARNING: CPU: 0 PID: 4864 at kernel/time/timer.c:1425 call_timer_fn+0x664/0x6b0 kernel/time/timer.c:1425 Modules linked in: CPU: 0 PID: 4864 Comm: systemd-udevd Not tainted 5.14.0-rc4-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:1425 Code: e8 41 ae 10 00 89 da 4c 89 f6 48 c7 c7 a0 9d 8d 89 65 8b 0d 1e cd 9d 7e 81 e1 ff ff ff 7f c6 05 71 b9 f3 0b 01 e8 b7 e8 83 07 <0f> 0b e9 f4 fb ff ff e8 10 ae 10 00 0f 0b e9 6f fd ff ff e8 04 ae RSP: 0018:ffffc90000007d38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000100 RCX: 0000000000000000 RDX: ffff888025522100 RSI: ffffffff815cad15 RDI: fffff52000000f99 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815c4b1e R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92000000fa8 R14: ffffffff859dd850 R15: 0000000000000000 FS: 00007f638dd5e8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff6b3abd7c CR3: 0000000016f86000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: expire_timers kernel/time/timer.c:1464 [inline] __run_timers.part.0+0x675/0xa50 kernel/time/timer.c:1732 __run_timers kernel/time/timer.c:1713 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1745 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x6b/0x70 kernel/kcov.c:286 Code: 00 00 00 48 39 fe 72 22 44 89 c6 48 83 c2 01 48 89 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 0f 1f 40 00 41 57 41 56 49 89 d6 41 55 41 54 55 48 89 fd 53 48 RSP: 0018:ffffc900017a7718 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff89dd3c03 RCX: 00000000fffffffc RDX: 0000000000000000 RSI: ffff888025522100 RDI: 0000000000000003 RBP: ffffc900017a7910 R08: 0000000000000000 R09: 0000000000000074 R10: ffffffff83f2fa71 R11: 0000000000000000 R12: 0000000000000074 R13: ffffc900017a7909 R14: ffffffff89dd3c00 R15: 0000000000000003 string_nocheck lib/vsprintf.c:637 [inline] string+0x191/0x3d0 lib/vsprintf.c:720 vsnprintf+0x71d/0x14f0 lib/vsprintf.c:2797 tomoyo_supervisor+0x10c/0xf00 security/tomoyo/common.c:2069 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1332 vfs_getattr fs/stat.c:139 [inline] vfs_statx+0x164/0x390 fs/stat.c:207 vfs_fstatat fs/stat.c:225 [inline] vfs_stat include/linux/fs.h:3382 [inline] __do_sys_newstat+0x91/0x110 fs/stat.c:367 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:0x7f638cbd0295 Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 0f 1f 84 00 00 00 00 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 d1 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff6b3acb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000055b044012970 RCX: 00007f638cbd0295 RDX: 00007fff6b3acb40 RSI: 00007fff6b3acb40 RDI: 000055b043ff24e3 RBP: 000055b0459caa28 R08: fee2000000000000 R09: 0000000000000003 R10: 00058e3555e47640 R11: 0000000000000246 R12: 00007fff6b3acb40 R13: 0000000000000000 R14: 00007fff6b3acb98 R15: 0000000000000000