rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...0: (7 ticks this GP) idle=71ec/1/0x4000000000000000 softirq=57066/57070 fqs=5069 rcu: hardirqs softirqs csw/system rcu: number: 0 0 0 rcu: cputime: 0 0 0 ==> 52500(ms) rcu: (detected by 1, t=10502 jiffies, g=61325, q=435840 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 2948 Comm: syz-executor Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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 31 29 0c ff eb a0 e8 ba 29 0c RSP: 0018:ffffc90000007100 EFLAGS: 00000002 RAX: 000000000000005b RBX: 00000000000003f8 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: ffffffff82a90575 RDI: ffffffff93644920 RBP: ffffffff936448e0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000010 R12: 0000000000000000 R13: 000000000000005b R14: ffffffff82a90510 R15: 0000000000000000 FS: 000055557d98b500(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3758010d58 CR3: 0000000117b0c000 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 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x1b7/0x3d0 arch/x86/kernel/dumpstack.c:285 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_event drivers/input/input.c:398 [inline] input_event+0x83/0xa0 drivers/input/input.c:390 input_sync include/linux/input.h:464 [inline] hidinput_report_event+0xb2/0x100 drivers/hid/hid-input.c:1736 hid_report_raw_event+0x268/0x1280 drivers/hid/hid-core.c:2053 __hid_input_report.constprop.0+0x341/0x440 drivers/hid/hid-core.c:2116 hid_irq_in+0x35e/0x870 drivers/hid/usbhid/hid-core.c:285 __usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17f7/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1993 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820 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:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5814 Code: b8 ff ff ff ff 65 0f c1 05 90 3a ca 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc9000188f600 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff92000311ec1 RCX: 00000000d5849f75 RDX: 0000000000000001 RSI: ffffffff872801e0 RDI: ffffffff874735a0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff1f57bc4 R10: ffffffff8fabde27 R11: 0000000000000007 R12: 0000000000000000 R13: ffffffff88ebc880 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] page_ext_get+0x3a/0x310 mm/page_ext.c:525 page_table_check_set mm/page_table_check.c:114 [inline] page_table_check_set+0x285/0x9c0 mm/page_table_check.c:102 __page_table_check_ptes_set+0x44c/0x710 mm/page_table_check.c:225 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:288 [inline] __copy_present_ptes mm/memory.c:967 [inline] copy_present_ptes mm/memory.c:1050 [inline] copy_pte_range mm/memory.c:1173 [inline] copy_pmd_range mm/memory.c:1261 [inline] copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0x17e7/0x5420 mm/memory.c:1420 dup_mmap kernel/fork.c:748 [inline] dup_mm kernel/fork.c:1691 [inline] copy_mm kernel/fork.c:1743 [inline] copy_process+0x7c16/0x8c00 kernel/fork.c:2394 kernel_clone+0xfd/0x960 kernel/fork.c:2806 __do_sys_clone+0xba/0x100 kernel/fork.c:2949 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:0x7f081296c593 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffd4bca2b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f081296c593 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 000055557d98b7d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000071921 R14: 00007ffd4bca2cb0 R15: 00000000000000bd task:kworker/u8:9 state:I stack:29344 pid:11814 tgid:11814 ppid:2 flags:0x00004000 Workqueue: 0x0 (events_unbound) Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 worker_thread+0x2de/0xf00 kernel/workqueue.c:3406 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 task:kworker/u8:10 state:I stack:29680 pid:11816 tgid:11816 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 worker_thread+0x2de/0xf00 kernel/workqueue.c:3406 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 task:kworker/u8:11 state:I stack:30928 pid:11819 tgid:11819 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 worker_thread+0x2de/0xf00 kernel/workqueue.c:3406 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 Showing all locks held in the system: 5 locks held by kworker/0:1/9: 2 locks held by kworker/u8:2/37: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000277d80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 2 locks held by klogd/2834: 2 locks held by getty/2903: #0: ffff8881121d50a0 (&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 12 locks held by syz-executor/2948: #0: ffffffff88fd2290 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1690 [inline] #0: ffffffff88fd2290 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm kernel/fork.c:1743 [inline] #0: ffffffff88fd2290 (dup_mmap_sem){.+.+}-{0:0}, at: copy_process+0x658b/0x8c00 kernel/fork.c:2394 #1: ffff88811782e0e0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff88811782e0e0 (&mm->mmap_lock){++++}-{4:4}, at: dup_mmap kernel/fork.c:642 [inline] #1: ffff88811782e0e0 (&mm->mmap_lock){++++}-{4:4}, at: dup_mm kernel/fork.c:1691 [inline] #1: ffff88811782e0e0 (&mm->mmap_lock){++++}-{4:4}, at: copy_mm kernel/fork.c:1743 [inline] #1: ffff88811782e0e0 (&mm->mmap_lock){++++}-{4:4}, at: copy_process+0x65e7/0x8c00 kernel/fork.c:2394 #2: ffff888116a75760 (&mm->mmap_lock/1){+.+.}-{4:4}, at: mmap_write_lock_nested include/linux/mmap_lock.h:113 [inline] #2: ffff888116a75760 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mmap kernel/fork.c:649 [inline] #2: ffff888116a75760 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mm kernel/fork.c:1691 [inline] #2: ffff888116a75760 (&mm->mmap_lock/1){+.+.}-{4:4}, at: copy_mm kernel/fork.c:1743 [inline] #2: ffff888116a75760 (&mm->mmap_lock/1){+.+.}-{4:4}, at: copy_process+0x6647/0x8c00 kernel/fork.c:2394 #3: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #3: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: ___pte_offset_map+0x3c/0x340 mm/pgtable-generic.c:287 #4: ffff88811aa82558 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #4: ffff88811aa82558 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: __pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:402 #5: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #5: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: ___pte_offset_map+0x3c/0x340 mm/pgtable-generic.c:287 #6: ffff888130329378 (ptlock_ptr(ptdesc)#2/1){+.+.}-{3:3}, at: copy_pte_range mm/memory.c:1125 [inline] #6: ffff888130329378 (ptlock_ptr(ptdesc)#2/1){+.+.}-{3:3}, at: copy_pmd_range mm/memory.c:1261 [inline] #6: ffff888130329378 (ptlock_ptr(ptdesc)#2/1){+.+.}-{3:3}, at: copy_pud_range mm/memory.c:1298 [inline] #6: ffff888130329378 (ptlock_ptr(ptdesc)#2/1){+.+.}-{3:3}, at: copy_p4d_range mm/memory.c:1322 [inline] #6: ffff888130329378 (ptlock_ptr(ptdesc)#2/1){+.+.}-{3:3}, at: copy_page_range+0xaa5/0x5420 mm/memory.c:1420 #7: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #7: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #7: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: page_ext_get+0x34/0x310 mm/page_ext.c:525 #8: ffff888116b21230 (&dev->event_lock){..-.}-{3:3}, at: input_event drivers/input/input.c:397 [inline] #8: ffff888116b21230 (&dev->event_lock){..-.}-{3:3}, at: input_event+0x70/0xa0 drivers/input/input.c:390 #9: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #9: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #9: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: input_pass_values+0x8b/0x880 drivers/input/input.c:118 #10: ffffffff89393778 (kbd_event_lock){..-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #10: ffffffff89393778 (kbd_event_lock){..-.}-{3:3}, at: kbd_event+0x8a/0x17a0 drivers/tty/vt/keyboard.c:1535 #11: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #11: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #11: ffffffff88ebc880 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 1 lock held by syz-executor/2950: #0: ffffffff88ec81b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 6 locks held by kworker/1:2/5212: #0: ffff888106687548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90001f3fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88810b3b2190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88810b3b2190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff88810c33e190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88810c33e190 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff888131e31160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff888131e31160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888131e31160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 #5: ffff88811a9a9a20 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #5: ffff88811a9a9a20 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #5: ffff88811a9a9a20 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 6 locks held by kworker/0:4/5239: 4 locks held by udevd/8140: #0: ffff888109b3a540 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888113e45c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888104a8b878 (kn->active){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811b63a190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88811b63a190 (&dev->mutex){....}-{4:4}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 2 locks held by kworker/u8:0/8239: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90012357d80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 1 lock held by syz.1.937/8609: #0: ffffffff88ec81b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 ============================================= keytouch 0003:0926:3333.008A: can't resubmit intr, dummy_hcd.0-1/input0, status -19