rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2673 jiffies s: 4377 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: DMA32 free:2879700kB boost:0kB min:4380kB low:7256kB high:10132kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129332kB managed:2883252kB mlocked:0kB bounce:0kB free_pcp:3552kB local_pcp:3552kB free_cma:0kB NMI backtrace for cpu 0 CPU: 0 PID: 10326 Comm: syz-executor.2 Not tainted 6.5.0-rc4-syzkaller-00118-g55c3e571d2a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:io_serial_in+0x87/0xa0 drivers/tty/serial/8250/8250_port.c:410 Code: 93 cb fe 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 16 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 e8 1c 44 16 ff eb a6 e8 75 44 16 ff eb e3 RSP: 0018:ffffc900000072d8 EFLAGS: 00000002 RAX: dffffc0000000060 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff8280b800 RDI: ffffffff8c1dac20 RBP: ffffffff8c1dabe0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 205d304320202020 R12: 0000000000000000 R13: 0000000000000020 R14: fffffbfff183b5d6 R15: dffffc0000000000 FS: 00007f961a6af6c0(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f961b571000 CR3: 0000000140d5d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr+0xd7/0x180 drivers/tty/serial/8250/8250_port.c:2082 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3366 [inline] serial8250_console_write+0xce5/0x1060 drivers/tty/serial/8250/8250_port.c:3444 console_emit_next_record kernel/printk/printk.c:2877 [inline] console_flush_all+0x4c8/0xf50 kernel/printk/printk.c:2933 console_unlock+0xc6/0x1f0 kernel/printk/printk.c:3007 vprintk_emit+0x1c5/0x640 kernel/printk/printk.c:2307 vprintk+0x89/0xa0 kernel/printk/printk_safe.c:50 _printk+0xc8/0x100 kernel/printk/printk.c:2328 __show_free_areas+0x11ee/0x2140 mm/show_mem.c:308 __show_mem+0x34/0x140 mm/show_mem.c:409 k_spec drivers/tty/vt/keyboard.c:667 [inline] k_spec+0xea/0x140 drivers/tty/vt/keyboard.c:656 kbd_keycode drivers/tty/vt/keyboard.c:1524 [inline] kbd_event+0xcc8/0x17c0 drivers/tty/vt/keyboard.c:1543 input_to_handler+0x382/0x4c0 drivers/input/input.c:132 input_pass_values.part.0+0x536/0x7a0 drivers/input/input.c:161 input_pass_values drivers/input/input.c:148 [inline] input_event_dispose+0x5ee/0x770 drivers/input/input.c:378 input_handle_event+0x11c/0xd80 drivers/input/input.c:406 input_repeat_key+0x251/0x340 drivers/input/input.c:2263 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb10 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x20b/0x94e kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xa7/0x110 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x8e/0xb0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_flush_all+0x9b6/0xf50 kernel/printk/printk.c:2939 Code: 30 c7 22 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 8e 21 1c 00 48 85 db 0f 85 94 03 00 00 e8 f0 25 1c 00 fb 48 8b 44 24 08 <48> 8b 14 24 0f b6 00 83 e2 07 38 d0 7f 08 84 c0 0f 85 9d 04 00 00 RSP: 0018:ffffc90006e97af0 EFLAGS: 00000293 RAX: fffff52000dd2f89 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888103e40000 RSI: ffffffff81302560 RDI: 0000000000000007 RBP: ffffffff88346900 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 205d304320202020 R12: 0000000000000001 R13: ffffffff88346958 R14: dffffc0000000000 R15: 0000000000000001 console_unlock+0xc6/0x1f0 kernel/printk/printk.c:3007 vprintk_emit+0x1c5/0x640 kernel/printk/printk.c:2307 vprintk+0x89/0xa0 kernel/printk/printk_safe.c:50 _printk+0xc8/0x100 kernel/printk/printk.c:2328 usb_gadget_register_driver_owner+0x1c2/0x2d0 drivers/usb/gadget/udc/core.c:1675 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:548 [inline] raw_ioctl+0x172f/0x2b80 drivers/usb/gadget/legacy/raw_gadget.c:1255 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f961b32c84b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f961a6acfa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f961b32c84b RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004 RBP: 00007f961a6ae070 R08: 0000000000000010 R09: 00322e6364755f79 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f961a6ad040 R14: 0000000020000080 R15: 00007f961b570b88 lowmem_reserve[]: 0 0 3923 3923 Node 0 Normal free:2811296kB boost:0kB min:6112kB low:10128kB high:14144kB reserved_highatomic:0KB active_anon:1596kB inactive_anon:45540kB active_file:18232kB inactive_file:162244kB unevictable:0kB writepending:0kB present:5242880kB managed:4018128kB mlocked:0kB bounce:0kB free_pcp:6188kB local_pcp:4072kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15360kB Node 0 DMA32: 5*4kB (M) 2*8kB (M) 3*16kB (M) 4*32kB (M) 4*64kB (M) 2*128kB (M) 2*256kB (M) 2*512kB (M) 2*1024kB (M) 2*2048kB (M) 701*4096kB (M) = 2879700kB Node 0 Normal: 618*4kB (UME) 789*8kB (UME) 583*16kB (ME) 425*32kB (UME) 229*64kB (UM) 117*128kB (UME) 66*256kB (ME) 46*512kB (UME) 34*1024kB (UME) 18*2048kB (UM) 644*4096kB (M) = 2811296kB Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB 45646 total pagecache pages 0 pages in swap cache Free swap = 124996kB Total swap = 124996kB 2097051 pages RAM 0 pages HighMem/MovableOnly 367866 pages reserved raw-gadget.4 gadget.5: ignoring, device is not running usb 4-1: USB disconnect, device number 25 Mem-Info: active_anon:398 inactive_anon:11117 isolated_anon:0 active_file:4558 inactive_file:40561 isolated_file:0 unevictable:0 dirty:0 writeback:0 slab_reclaimable:9494 slab_unreclaimable:96842 mapped:17568 shmem:528 pagetables:450 sec_pagetables:0 bounce:0 kernel_misc_reclaimable:0 free:1428878 free_pcp:2865 free_cma:0 Node 0 active_anon:1592kB inactive_anon:44468kB active_file:18232kB inactive_file:162244kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:70272kB dirty:0kB writeback:0kB shmem:2112kB writeback_tmp:0kB kernel_stack:4352kB pagetables:1800kB sec_pagetables:0kB all_unreclaimable? no Node 0 DMA free:15360kB boost:0kB min:20kB low:32kB high:44kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2812 6735 6735 Node 0 DMA32 free:2879700kB boost:0kB min:4380kB low:7256kB high:10132kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129332kB managed:2883252kB mlocked:0kB bounce:0kB free_pcp:3552kB local_pcp:3552kB free_cma:0kB lowmem_reserve[]: 0 0 3923 3923 Node 0 Normal free:2820452kB boost:0kB min:6112kB low:10128kB high:14144kB reserved_highatomic:0KB active_anon:1592kB inactive_anon:44468kB active_file:18232kB inactive_file:162244kB unevictable:0kB writepending:0kB present:5242880kB managed:4018128kB mlocked:0kB bounce:0kB free_pcp:7908kB local_pcp:2896kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15360kB Node 0 DMA32: 5*4kB (M) 2*8kB (M) 3*16kB (M) 4*32kB (M) 4*64kB (M) 2*128kB (M) 2*256kB (M) 2*512kB (M) 2*1024kB (M) 2*2048kB (M) 701*4096kB (M) = 2879700kB Node 0 Normal: 823*4kB (UME) 1024*8kB (UME) 664*16kB (UME) 460*32kB (UME) 246*64kB (UM) 137*128kB (UME) 70*256kB (UME) 45*512kB (ME) 34*1024kB (UME) 18*2048kB (UM) 644*4096kB (M) = 2820572kB Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB 45647 total pagecache pages 0 pages in swap cache Free swap = 124996kB Total swap = 124996kB 2097051 pages RAM 0 pages HighMem/MovableOnly 367866 pages reserved