rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2645 jiffies s: 37625 root: 0x2/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5877 Comm: udevd Not tainted 6.10.0-rc4-syzkaller-00025-gb0fc24f36191 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x111/0x1a0 mm/kasan/generic.c:189 Code: 44 89 c2 e8 01 eb ff ff 83 f0 01 5b 5d 41 5c c3 cc cc cc cc 48 85 d2 74 4f 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 41 80 38 00 <74> f2 eb b2 41 bc 08 00 00 00 45 29 dc 49 8d 14 2c eb 0c 48 83 c0 RSP: 0018:ffffc900001b7f10 EFLAGS: 00000046 RAX: fffffbfff1997d9c RBX: fffffbfff1997d9d RCX: ffffffff8130811e RDX: fffffbfff1997d9d RSI: 0000000000000008 RDI: ffffffff8ccbece0 RBP: fffffbfff1997d9c R08: 0000000000000000 R09: fffffbfff1997d9c R10: ffffffff8ccbece7 R11: 0000000000000007 R12: ffffed102357e152 R13: 0000000000000058 R14: ffff88811abf0bb0 R15: 0000000000000002 FS: 00007f00f800dc80(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bfc24719c CR3: 0000000113d68000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 __lock_acquire+0x136f/0x3b30 kernel/locking/lockdep.c:5133 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 uart_port_lock_irqsave include/linux/serial_core.h:618 [inline] serial8250_console_write+0xaa6/0x1090 drivers/tty/serial/8250/8250_port.c:3352 console_emit_next_record kernel/printk/printk.c:2928 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2994 console_unlock+0xae/0x290 kernel/printk/printk.c:3063 vprintk_emit kernel/printk/printk.c:2345 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2300 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2370 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x211/0x500 arch/x86/kernel/dumpstack.c:285 sched_show_task kernel/sched/core.c:9191 [inline] sched_show_task+0x42e/0x650 kernel/sched/core.c:9165 show_state_filter+0xee/0x320 kernel/sched/core.c:9236 k_spec drivers/tty/vt/keyboard.c:667 [inline] k_spec+0xed/0x150 drivers/tty/vt/keyboard.c:656 kbd_keycode drivers/tty/vt/keyboard.c:1524 [inline] kbd_event+0xcbd/0x17a0 drivers/tty/vt/keyboard.c:1543 input_to_handler+0x38f/0x4d0 drivers/input/input.c:132 input_pass_values+0x5c9/0x840 drivers/input/input.c:161 input_event_dispose+0x37a/0x630 drivers/input/input.c:378 input_handle_event+0x11c/0xd80 drivers/input/input.c:406 input_event drivers/input/input.c:435 [inline] input_event+0x83/0xa0 drivers/input/input.c:427 input_sync include/linux/input.h:450 [inline] hidinput_report_event+0xb2/0x100 drivers/hid/hid-input.c:1763 hid_report_raw_event+0x274/0x11c0 drivers/hid/hid-core.c:2022 hid_input_report+0x345/0x440 drivers/hid/hid-core.c:2089 hid_irq_in+0x35e/0x870 drivers/hid/usbhid/hid-core.c:284 __usb_hcd_giveback_urb+0x466/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17f6/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:340 Code: 41 bd 03 00 00 00 4c 8b 75 00 31 db 4d 85 f6 74 1e 48 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 48 8b 4c 24 28 e8 8c fd ff ff <49> 39 de 75 e2 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc 48 83 f8 40 RSP: 0018:ffffc9000df3f858 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000006 RCX: ffffffff81153d61 RDX: ffff88811abf0000 RSI: 0000000000000007 RDI: 0000000000000001 RBP: ffffffff86c5aec0 R08: 0000000000000001 R09: 0000000000000007 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc9000df3f93d unwind_next_frame+0x6c1/0x23a0 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_noprof+0x11c/0x2b0 mm/slub.c:4008 getname_flags.part.0+0x50/0x4f0 fs/namei.c:139 getname_flags+0x9b/0xf0 include/linux/audit.h:322 user_path_at_empty+0x2c/0x60 fs/namei.c:2928 user_path_at include/linux/namei.h:58 [inline] do_utimes_path+0xf4/0x1c0 fs/utimes.c:95 do_utimes+0x34/0x100 fs/utimes.c:145 __do_sys_utimensat fs/utimes.c:164 [inline] __se_sys_utimensat fs/utimes.c:148 [inline] __x64_sys_utimensat+0x1c7/0x290 fs/utimes.c:148 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f00f813bfcc Code: d8 64 89 02 48 83 c8 ff 89 ef 48 89 44 24 08 e8 99 00 fa ff 48 8b 44 24 08 48 83 c4 30 5d c3 c3 41 89 ca b8 18 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 2d 6e 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe6e2432b8 EFLAGS: 00000202 ORIG_RAX: 0000000000000118 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f00f813bfcc RDX: 0000000000000000 RSI: 0000557e013e5be0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000557e013ea640 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000021b4 R13: 0000000000000000 R14: 0000557e013e5be0 R15: 0000557e013ed2b0 task:kworker/u8:5 state:R running task stack:28816 pid:3842 tgid:3842 ppid:2548 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6924 __cond_resched+0x1b/0x30 kernel/sched/core.c:8589 _cond_resched include/linux/sched.h:1992 [inline] stop_one_cpu+0x112/0x190 kernel/stop_machine.c:151 sched_exec+0x1db/0x270 kernel/sched/core.c:5539 bprm_execve fs/exec.c:1884 [inline] bprm_execve+0x46c/0x19a0 fs/exec.c:1867 kernel_execve+0x3cf/0x4e0 fs/exec.c:2058 call_usermodehelper_exec_async+0x255/0x4c0 kernel/umh.c:110 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f2f22d16b74 RSP: 002b:00007ffdc719f7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: fffffffffffffffe RBX: 00007f2f22cf3050 RCX: 00007f2f22d168a9 RDX: 00007ffdc719f880 RSI: 00007ffdc719f7e0 RDI: 00000000ffffff9c RBP: 00007ffdc719f7d0 R08: 0000000000080000 R09: 00007ffdc719f7e0 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f2f22cf4570 R13: 00007ffdc719f988 R14: 000000000002d9c6 R15: 0000000000000000 task:kworker/u8:0 state:R running task stack:32568 pid:3848 tgid:3848 ppid:21078 flags:0x00004000 Call Trace: __switch_to_asm+0x70/0x70 task:modprobe state:R running task stack:26464 pid:3852 tgid:3852 ppid:2536 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 task:kworker/u8:3 state:R running task stack:32568 pid:3853 tgid:3853 ppid:17030 flags:0x00004000 Call Trace: __switch_to_asm+0x70/0x70 task:modprobe state:R running task stack:24544 pid:3856 tgid:3856 ppid:2548 flags:0x00000000 Call Trace: task:modprobe state:R running task stack:27568 pid:3858 tgid:3858 ppid:2525 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 task:modprobe state:R running task stack:26416 pid:3859 tgid:3859 ppid:2548 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 do_task_dead+0xd6/0x110 kernel/sched/core.c:6761 do_exit+0x1d2f/0x2b20 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 __do_sys_exit_group kernel/exit.c:1034 [inline] __se_sys_exit_group kernel/exit.c:1032 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51b1452a90 RSP: 002b:00007ffd20e5ca78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f51b1543860 RCX: 00007f51b1452a90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000001 RBP: 00007f51b1543860 R08: 00007ffd20e5c8f0 R09: 00007ffd20e5c9d0 R10: 00007ffd20e5c930 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f51b1547658 R15: 0000000000000001 task:modprobe state:R running task stack:25912 pid:3860 tgid:3860 ppid:2525 flags:0x00000002 Call Trace: task:kworker/u8:5 state:R running task stack:32568 pid:3861 tgid:3861 ppid:2548 flags:0x00004000 Call Trace: __switch_to_asm+0x70/0x70 task:kworker/u8:2 state:R running task stack:32568 pid:3865 tgid:3865 ppid:2525 flags:0x00004000 Call Trace: __switch_to_asm+0x70/0x70 task:modprobe state:R running task stack:25816 pid:3866 tgid:3866 ppid:2536 flags:0x00000000 Call Trace: task:modprobe state:R running task stack:26416 pid:3868 tgid:3868 ppid:21078 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 Showing all locks held in the system: 1 lock held by klogd/2389: 2 locks held by getty/2458: #0: ffff88811391a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 6 locks held by kworker/0:5/5170: #0: ffff8881052ccd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc9000baf7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff888109b70190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888109b70190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff888135d8c190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff888135d8c190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff888138639160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff888138639160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff888138639160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffff888140ad9a20 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #5: ffff888140ad9a20 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #5: ffff888140ad9a20 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 4 locks held by udevd/5877: #0: ffff88813863d230 (&dev->event_lock){-.-.}-{2:2}, at: input_event drivers/input/input.c:434 [inline] #0: ffff88813863d230 (&dev->event_lock){-.-.}-{2:2}, at: input_event+0x70/0xa0 drivers/input/input.c:427 #1: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #1: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #1: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: input_pass_values+0xb2/0x840 drivers/input/input.c:153 #2: ffffffff88b69cf8 (kbd_event_lock){-.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffffffff88b69cf8 (kbd_event_lock){-.-.}-{2:2}, at: kbd_event+0x8a/0x17a0 drivers/tty/vt/keyboard.c:1537 #3: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #3: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #3: ffffffff886b4660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by syz-executor.4/21033: #0: ffffffff886bfdf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 2 locks held by kworker/u8:2/2525: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900035cfd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:4/2536: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90007fdfd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:5/2548: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900035afd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 1 lock held by syz-executor.4/3166: #0: ffffffff886bfdf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 1 lock held by kworker/u8:2/3865: 1 lock held by modprobe/3874: ============================================= keytouch 0003:0926:3333.02B8: can't resubmit intr, dummy_hcd.4-1/input0, status -19 keytouch 0003:0926:3333.02B8: usb_submit_urb(ctrl) failed: -19