rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-...D } 2671 jiffies s: 437 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000001 RBP: 00007f7dac1ec860 R08: 00007fffe4aaa350 R09: 00007fffe4aaa430 R10: 00007fffe4aaa390 R11: 0000000000000246 R12: 0000000000000000 NMI backtrace for cpu 0 CPU: 0 PID: 15 Comm: ksoftirqd/0 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:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:413 Code: 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1c 66 03 5d 40 44 89 e8 89 da ee <5b> 5d 41 5c 41 5d c3 cc cc cc cc e8 d1 90 0b ff eb a0 e8 5a 91 0b RSP: 0018:ffffc90000006f20 EFLAGS: 00000002 RAX: 0000000000000020 RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff829a0e85 RDI: ffffffff8d719be0 RBP: ffffffff8d719ba0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000 R13: 0000000000000020 R14: ffffffff829a0e20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f7760c4d3 CR3: 000000011a024000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_out drivers/tty/serial/8250/8250.h:122 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3322 [inline] serial8250_console_write+0xce7/0x1090 drivers/tty/serial/8250/8250_port.c:3393 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 __show_regs+0x25f/0x750 arch/x86/kernel/process_64.c:89 show_regs_if_on_stack arch/x86/kernel/dumpstack.c:167 [inline] show_regs_if_on_stack+0x8d/0x150 arch/x86/kernel/dumpstack.c:154 show_trace_log_lvl+0x318/0x500 arch/x86/kernel/dumpstack.c:301 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+0x508/0x630 drivers/input/input.c:389 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 hidinput_hid_event+0xa12/0x2410 drivers/hid/hid-input.c:1746 hid_process_event+0x4b7/0x5e0 drivers/hid/hid-core.c:1540 hid_input_array_field+0x535/0x710 drivers/hid/hid-core.c:1652 hid_process_report drivers/hid/hid-core.c:1694 [inline] hid_report_raw_event+0xa02/0x11c0 drivers/hid/hid-core.c:2015 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:finish_task_switch.isra.0+0x1e5/0xa40 kernel/sched/core.c:5282 Code: 0f 85 ad 07 00 00 8b 0d 21 f2 96 08 85 c9 0f 85 cb 02 00 00 48 89 df e8 59 7a 6d 05 e8 74 a2 33 00 fb 65 48 8b 1d 0b e7 dc 7e <48> 8d bb 30 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc900000ffce0 EFLAGS: 00000206 RAX: 0000000000103f8b RBX: ffff8881016a3a00 RCX: 1ffffffff137b0f1 RDX: 0000000000000000 RSI: ffffffff86c7d6e0 RDI: ffffffff86e77840 RBP: ffffc900000ffd28 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff89bdc117 R11: 0000000000000000 R12: ffff8881f643d898 R13: ffff8881161cd700 R14: 0000000000000000 R15: ffff8881f643d898 context_switch kernel/sched/core.c:5411 [inline] __schedule+0xcae/0x3170 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 smpboot_thread_fn+0x2d5/0xa10 kernel/smpboot.c:160 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 R13: 0000000000000001 R14: 00007f7dac1f0658 R15: 0000000000000001 task:kworker/u8:8 state:R running task stack:32568 pid:6068 tgid:6068 ppid:1014 flags:0x00004000 Call Trace: __switch_to_asm+0x70/0x70 task:modprobe state:R running task stack:26464 pid:6070 tgid:6070 ppid:1045 flags:0x00000000 Call Trace: Showing all locks held in the system: 4 locks held by ksoftirqd/0/15: #0: ffff88811c013230 (&dev->event_lock){-.-.}-{2:2}, at: input_event drivers/input/input.c:434 [inline] #0: ffff88811c013230 (&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 2 locks held by kworker/u8:1/28: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900001e7d80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:3/43: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900002d7d80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:4/64: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90000367d80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:8/1014: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90001dbfd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 2 locks held by kworker/u8:10/1045: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc900020bfd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 1 lock held by klogd/2391: #0: ffff8881f653d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline] #0: ffff8881f653d898 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1406 [inline] #0: ffff8881f653d898 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1702 [inline] #0: ffff8881f653d898 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x28e/0x3170 kernel/sched/core.c:6653 2 locks held by getty/2460: #0: ffff8881077370a0 (&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/1:3/4792: #0: ffff8881052c8d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90003be7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff888109bc3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888109bc3190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849 #3: ffff888109b00190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff888109b00190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88810eb9d160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88810eb9d160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff88810eb9d160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 #5: ffff88810eb95a20 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #5: ffff88810eb95a20 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #5: ffff88810eb95a20 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1290 1 lock held by udevd/4809: #0: ffffffff886bfdf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 2 locks held by kworker/0:4/4815: 2 locks held by syz-executor.0/5264: #0: ffff88810af38110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x7d/0x400 drivers/input/evdev.c:441 #1: ffffffff886bfdf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 1 lock held by syz-executor.4/5319: #0: ffff88810af38110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x7d/0x400 drivers/input/evdev.c:441 ========================