rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...0: (5 ticks this GP) idle=936c/1/0x4000000000000000 softirq=160239/160240 fqs=993 rcu: hardirqs softirqs csw/system rcu: number: 0 0 0 rcu: cputime: 0 0 0 ==> 47470(ms) rcu: (detected by 1, t=10506 jiffies, g=172689, q=160016 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13887 Comm: kworker/0:5 Not tainted 6.13.0-rc7-syzkaller-g70cd0576aa39 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events console_callback RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:416 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 e1 0e 0c ff eb a0 e8 6a 0f 0c RSP: 0018:ffffc90000007390 EFLAGS: 00000002 RAX: 0000000000000020 RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff82a91545 RDI: ffffffff93644920 RBP: ffffffff936448e0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 000000000000000b R12: 0000000000000000 R13: 0000000000000020 R14: ffffffff82a914e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffff7fbd6b8 CR3: 00000001167a8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_out drivers/tty/serial/8250/8250.h:142 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3342 [inline] serial8250_console_write+0xf9e/0x17c0 drivers/tty/serial/8250/8250_port.c:3413 console_emit_next_record kernel/printk/printk.c:3122 [inline] console_flush_all+0x800/0xc60 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2432 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:86 _printk+0xc8/0x100 kernel/printk/printk.c:2457 show_trace_log_lvl+0x8f/0x3d0 arch/x86/kernel/dumpstack.c:195 sched_show_task kernel/sched/core.c:7711 [inline] sched_show_task+0x3f0/0x5f0 kernel/sched/core.c:7686 show_state_filter+0xee/0x320 kernel/sched/core.c:7756 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:1522 [inline] kbd_event+0xcbd/0x17a0 drivers/tty/vt/keyboard.c:1541 input_handle_events_default+0x116/0x1b0 drivers/input/input.c:2646 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_repeat_key+0x251/0x340 drivers/input/input.c:2321 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2418 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2422 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x206/0x8d0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9a4/0xc60 kernel/printk/printk.c:3211 Code: 00 e8 10 cc 27 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 9e 30 20 00 48 85 db 0f 85 55 01 00 00 e8 60 35 20 00 fb 4c 89 e0 <48> c1 e8 03 42 80 3c 38 00 0f 84 11 ff ff ff 4c 89 e7 e8 c5 ef 79 RSP: 0018:ffffc9000667fa70 EFLAGS: 00000293 RAX: ffffffff893a9718 RBX: 0000000000000000 RCX: ffffffff813b3502 RDX: ffff888111753a80 RSI: ffffffff813b3510 RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: ffffffff893a9718 R13: ffffffff893a96c0 R14: ffffc9000667fb00 R15: dffffc0000000000 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 console_callback+0x27d/0x4c0 drivers/tty/vt/vt.c:3150 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 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 context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6935 __cond_resched+0x1b/0x30 kernel/sched/core.c:7280 _cond_resched include/linux/sched.h:2057 [inline] change_pmd_range mm/mprotect.c:423 [inline] change_pud_range mm/mprotect.c:480 [inline] change_p4d_range mm/mprotect.c:506 [inline] change_protection_range mm/mprotect.c:534 [inline] change_protection+0x1409/0x24e0 mm/mprotect.c:568 mprotect_fixup+0x5e6/0xbe0 mm/mprotect.c:684 do_mprotect_pkey+0x981/0xcf0 mm/mprotect.c:840 Showing all locks held in the system: 5 locks held by kworker/0:1/9: #0: ffff8881066aed48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000009fd80 ((work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810b3a2190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88810b3a2190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88810b3a5508 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3209 [inline] ffff88810b3a5508 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x5c4/0x4f40 drivers/usb/core/hub.c:5904 #4: ffff88810b3a4098 (&hub->status_mutex){+.+.}-{4:4} , at: hub_ext_port_status+0x5e/0x670 drivers/usb/core/hub.c:621 2 locks held by getty/2902: #0: ffff8881122fe0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/7504: #0: ffffffff88ec81b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 4 locks held by kworker/1:8/11132: 7 locks held by kworker/0:5/13887: #0: ffff888100080948 ((wq_completion)events ){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000667fd80 (console_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffc90000007ca8 ((&dev->timer)){+.-.}-{0:0}, at: call_timer_fn+0x11a/0x610 kernel/time/timer.c:1790 #3: ffff8881062a3230 (&dev->event_lock){..-.}-{3:3}, at: input_repeat_key+0x29/0x340 drivers/input/input.c:2313 #4: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #4: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #4: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: input_pass_values+0x8b/0x880 drivers/input/input.c:118 #5: ffffffff89393a38 (kbd_event_lock){..-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffffffff89393a38 (kbd_event_lock){..-.}-{3:3}, at: kbd_event+0x8a/0x17a0 drivers/tty/vt/keyboard.c:1535 #6: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #6: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #6: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 5 locks held by kworker/1:3/16441: #0: ffff8881066aed48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc900062afd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff88810b36e190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5851 #3: ffff88811b26a190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] ffff88811b26a190 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2296 #4: ffff888123d20160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff888123d20160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888123d20160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 1 lock held by syz.6.3185/18492: #0: ffffffff88ec81b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 ============================================= keytouch 0003:0926:3333.01B6: usb_submit_urb(ctrl) failed: -19