rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: {
1-...D
} 2672 jiffies s: 95741 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 1754 Comm: sh Not tainted 6.12.0-rc3-syzkaller-00051-g07b887f8236e #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: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 b1 ef 0d ff eb a0 e8 3a f0 0d
RSP: 0000:ffffc900001b8108 EFLAGS: 00000002
RAX: 000000000000002e RBX: 00000000000003f8 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: ffffffff82a06b75 RDI: ffffffff93635660
RBP: ffffffff93635620 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000002e R14: ffffffff82a06b10 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f5900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9b08f2f200 CR3: 0000000120db4000 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:3322 [inline]
serial8250_console_write+0xf9e/0x17c0 drivers/tty/serial/8250/8250_port.c:3393
console_emit_next_record kernel/printk/printk.c:3092 [inline]
console_flush_all+0x800/0xc60 kernel/printk/printk.c:3180
__console_flush_and_unlock kernel/printk/printk.c:3239 [inline]
console_unlock+0xd9/0x210 kernel/printk/printk.c:3279
vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2407
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:68
_printk+0xc8/0x100 kernel/printk/printk.c:2432
printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline]
show_trace_log_lvl+0x21f/0x3d0 arch/x86/kernel/dumpstack.c:285
sched_show_task kernel/sched/core.c:7589 [inline]
sched_show_task+0x3f0/0x5f0 kernel/sched/core.c:7564
show_state_filter+0xee/0x320 kernel/sched/core.c:7634
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_handler_events_default+0x116/0x1b0 drivers/input/input.c:2549
input_pass_values+0x777/0x8e0 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:451 [inline]
hidinput_report_event+0xb2/0x100 drivers/hid/hid-input.c:1736
hid_report_raw_event+0x274/0x11c0 drivers/hid/hid-core.c:2047
__hid_input_report.constprop.0+0x341/0x440 drivers/hid/hid-core.c:2110
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+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1772
handle_softirqs+0x206/0x8d0 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xac/0x110 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:xas_descend lib/xarray.c:209 [inline]
RIP: 0010:xas_load+0x1be/0x5b0 lib/xarray.c:245
Code: 7b 6d fa 45 85 ff 0f 85 d2 01 00 00 e8 cb 78 6d fa 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 8c 03 00 00 49 89 de 4c 89 6d 18 bf 02 00 00 00 41 83 e6 03
RSP: 0000:ffffc90001dafa20 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff88811341f182 RCX: ffffffff86e86860
RDX: 1ffff920003b5f90 RSI: ffffffff86e86655 RDI: ffffc90001dafc80
RBP: ffffc90001dafc68 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88811341f440 R14: 0000000000000001 R15: 0000000000000001
xas_find+0x60f/0x870 lib/xarray.c:1266
xas_next_entry+0x267/0x3c0 include/linux/xarray.h:1714
next_uptodate_folio+0x29/0x4b0 mm/filemap.c:3493
filemap_map_pages+0x1b1/0x13d0 mm/filemap.c:3645
do_fault_around mm/memory.c:5240 [inline]
do_read_fault mm/memory.c:5273 [inline]
do_fault mm/memory.c:5416 [inline]
do_pte_missing mm/memory.c:3965 [inline]
handle_pte_fault mm/memory.c:5751 [inline]
__handle_mm_fault+0x1df2/0x3390 mm/memory.c:5894
handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6062
do_user_addr_fault+0x613/0x12c0 arch/x86/mm/fault.c:1338
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f9b09001614
Code: 01 00 e9 0b 05 00 00 41 0f b7 9c 24 b8 02 00 00 48 6b db 38 49 03 9c 24 a8 02 00 00 49 39 9c 24 a8 02 00 00 0f 84 1f 02 00 00 <8b> 43 c8 48 83 eb 38 83 f8 04 74 1a 3d 53 e5 74 64 75 df 8b b5 2c
RSP: 002b:00007ffd2377bf00 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00007f9b08f2f238 RCX: 00007f9b09021350
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f9b0901d326
RBP: 00007ffd2377c060 R08: 000000006ffffdff R09: 000000006ffffeff
R10: 000000006fffff41 R11: 000000006ffffe35 R12: 00007f9b08ff20c0
R13: 00007ffd2377c0e8 R14: 0000000070000022 R15: 00000000effffef5
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:syz-executor state:S stack:25408 pid:363 tgid:363 ppid:2642 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
do_wait+0x1dd/0x570 kernel/exit.c:1697
kernel_wait4+0x16c/0x280 kernel/exit.c:1851
__do_sys_wait4+0x15f/0x170 kernel/exit.c:1879
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:0x7efe30834213
RSP: 002b:00007ffc89ee0a68 EFLAGS: 00000202
ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 000000000000016f RCX: 00007efe30834213
RDX: 0000000040000000 RSI: 00007ffc89ee0a7c RDI: 00000000ffffffff
RBP: 00007ffc89ee0a7c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
task:syz-executor state:S stack:24784 pid:367 tgid:367 ppid:363 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
do_wait+0x1dd/0x570 kernel/exit.c:1697
kernel_wait4+0x16c/0x280 kernel/exit.c:1851
__do_sys_wait4+0x15f/0x170 kernel/exit.c:1879
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:0x7efe30834213
RSP: 002b:00007ffc89ee08a8 EFLAGS: 00000202
ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 000000000000003e RCX: 00007efe30834213
RDX: 0000000040000000 RSI: 00007ffc89ee08dc RDI: 00000000ffffffff
RBP: 00007ffc89ee08dc R08: 000000000009206c R09: 00007efe31536080
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00000000002f6e0f R15: 00007ffc89ee0930
task:syz-executor state:S stack:25408 pid:924 tgid:924 ppid:2642 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
do_wait+0x1dd/0x570 kernel/exit.c:1697
kernel_wait4+0x16c/0x280 kernel/exit.c:1851
__do_sys_wait4+0x15f/0x170 kernel/exit.c:1879
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:0x7f606e5a4213
RSP: 002b:00007fffdc392d68 EFLAGS: 00000202
ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 000000000000039d RCX: 00007f606e5a4213
RDX: 0000000040000000 RSI: 00007fffdc392d7c RDI: 00000000ffffffff
RBP: 00007fffdc392d7c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
task:syz-executor state:S stack:23680 pid:925 tgid:925 ppid:924 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
do_wait+0x1dd/0x570 kernel/exit.c:1697
kernel_wait4+0x16c/0x280 kernel/exit.c:1851
__do_sys_wait4+0x15f/0x170 kernel/exit.c:1879
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:0x7f606e5a4213
RSP: 002b:00007fffdc392ba8 EFLAGS: 00000202
ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00007f606e5a4213
RDX: 0000000040000000 RSI: 00007fffdc392bdc RDI: 00000000ffffffff
RBP: 00007fffdc392bdc R08: 00000000000920f2 R09: 00007f606e42a080
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00000000002f7210 R15: 00007fffdc392c30
task:kworker/u8:1 state:I
stack:30928 pid:987 tgid:987 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
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:syz.3.6503 state:D stack:27200 pid:1715 tgid:1715 ppid:367 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
exp_funnel_lock+0x344/0x3b0 kernel/rcu/tree_exp.h:320
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976
module_remove_driver+0x2e/0x260 drivers/base/module.c:106
bus_remove_driver+0x143/0x2c0 drivers/base/bus.c:745
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x3f6/0xb60 fs/file_table.c:431
task_work_run+0x14e/0x250 kernel/task_work.c:228
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xadd/0x2ce0 kernel/exit.c:939
do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
get_signal+0x25fb/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efe3083dff9
RSP: 002b:00007ffc89ee0678 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007ffc89ee07a0 RCX: 00007efe3083dff9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007efe309f5f8c
RBP: 00007efe309f5f8c R08: 00007efe31536080 R09: 00007ffc89ee096f
R10: 00007ffc89ee0780 R11: 0000000000000246 R12: 00000000002f789f
R13: 00007ffc89ee0780 R14: 000000000000015e R15: 00000000002f7741
task:syz.0.6504 state:D stack:28032 pid:1726 tgid:1725 ppid:32247 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
exp_funnel_lock+0x344/0x3b0 kernel/rcu/tree_exp.h:320
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976
module_remove_driver+0x2e/0x260 drivers/base/module.c:106
bus_remove_driver+0x143/0x2c0 drivers/base/bus.c:745
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x3f6/0xb60 fs/file_table.c:431
task_work_run+0x14e/0x250 kernel/task_work.c:228
get_signal+0x1ca/0x2770 kernel/signal.c:2690
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f50073ddbfb
RSP: 002b:00007f500604ff70 EFLAGS: 00000246
RAX: fffffffffffffffc RBX: 00000000ffffff75 RCX: 00007f50073ddbfb
RDX: 00007f500604fff0 RSI: 0000000040085507 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007f50076c0320 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 00000000200002c0
R13: 0000000000000000 R14: 00007f5007595f80 R15: 00007ffda7f96408
task:syz.2.6505 state:D
stack:27856 pid:1740 tgid:1739 ppid:925 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976
module_remove_driver+0x2e/0x260 drivers/base/module.c:106
bus_remove_driver+0x143/0x2c0 drivers/base/bus.c:745
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x3f6/0xb60 fs/file_table.c:431
task_work_run+0x14e/0x250 kernel/task_work.c:228
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xadd/0x2ce0 kernel/exit.c:939
do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
get_signal+0x25fb/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f606e5adbfb
RSP: 002b:00007f606d21ef10 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000004 RCX: 00007f606e5adbfb
RDX: 00007f606d21ffe0 RSI: 0000000080085502 RDI: 0000000000000004
RBP: 00007f606d21ffe0 R08: 0000000000000000 R09: 00322e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000020000600 R15: 00007f606e62a273
task:syz.4.6506 state:D stack:27728 pid:1744 tgid:1744 ppid:19181 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
exp_funnel_lock+0x344/0x3b0 kernel/rcu/tree_exp.h:320
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976
module_remove_driver+0x2e/0x260 drivers/base/module.c:106
bus_remove_driver+0x143/0x2c0 drivers/base/bus.c:745
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x3f6/0xb60 fs/file_table.c:431
task_work_run+0x14e/0x250 kernel/task_work.c:228
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xadd/0x2ce0 kernel/exit.c:939
do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
get_signal+0x25fb/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fae76a5dff9
RSP: 002b:00007ffdde226568 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007ffdde226690 RCX: 00007fae76a5dff9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fae76c15f8c
RBP: 00007fae76c15f8c R08: 00007fae7774f080 R09: 00007ffdde22685f
R10: 00007ffdde226670 R11: 0000000000000246 R12: 00000000002f82c5
R13: 00007ffdde226670 R14: 0000000000000bea R15: 00000000002f76db
task:syz.1.6507 state:D
stack:27200 pid:1752 tgid:1752 ppid:31563 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6774
exp_funnel_lock+0x344/0x3b0 kernel/rcu/tree_exp.h:320
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976
module_remove_driver+0x2e/0x260 drivers/base/module.c:106
bus_remove_driver+0x143/0x2c0 drivers/base/bus.c:745
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
task_work_run+0x14e/0x250 kernel/task_work.c:228
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xadd/0x2ce0 kernel/exit.c:939
do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
get_signal+0x25fb/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6a6a62dff9
RSP: 002b:00007ffe9759aa38 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007ffe9759ab60 RCX: 00007f6a6a62dff9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6a6a7e5f8c
RBP: 00007f6a6a7e5f8c R08: 00007f6a6a4aa080 R09: 00007ffe9759ad2f
R10: 00007ffe9759ab40 R11: 0000000000000246 R12: 00000000002f839b
R13: 00007ffe9759ab40 R14: 0000000000000bea R15: 00000000002f77b1
task:sh state:R
running task
stack:26144 pid:1754 tgid:1754 ppid:2534 flags:0x00000008
Call Trace:
sched_show_task kernel/sched/core.c:7589 [inline]
sched_show_task+0x3f0/0x5f0 kernel/sched/core.c:7564
show_state_filter+0xee/0x320 kernel/sched/core.c:7634
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_handler_events_default+0x116/0x1b0 drivers/input/input.c:2549
input_pass_values+0x777/0x8e0 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:451 [inline]
hidinput_report_event+0xb2/0x100 drivers/hid/hid-input.c:1736
hid_report_raw_event+0x274/0x11c0 drivers/hid/hid-core.c:2047
__hid_input_report.constprop.0+0x341/0x440 drivers/hid/hid-core.c:2110
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+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1772
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xac/0x110 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1037
RIP: 0010:xas_descend lib/xarray.c:209 [inline]
RIP: 0010:xas_load+0x1be/0x5b0 lib/xarray.c:245
Code: 7b 6d fa 45 85 ff 0f 85 d2 01 00 00 e8 cb 78 6d fa 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 8c 03 00 00 49 89 de 4c 89 6d 18 bf 02 00 00 00 41 83 e6 03
RSP: 0000:ffffc90001dafa20 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff88811341f182 RCX: ffffffff86e86860
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88811341f440 R14: 0000000000000001 R15: 0000000000000001
xas_find+0x60f/0x870 lib/xarray.c:1266
xas_next_entry+0x267/0x3c0 include/linux/xarray.h:1714
next_uptodate_folio+0x29/0x4b0 mm/filemap.c:3493
do_fault_around mm/memory.c:5240 [inline]
do_read_fault mm/memory.c:5273 [inline]
do_fault mm/memory.c:5416 [inline]
do_pte_missing mm/memory.c:3965 [inline]
handle_pte_fault mm/memory.c:5751 [inline]
__handle_mm_fault+0x1df2/0x3390 mm/memory.c:5894
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f9b09001614
RSP: 002b:00007ffd2377bf00 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00007f9b08f2f238 RCX: 00007f9b09021350
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f9b0901d326
RBP: 00007ffd2377c060 R08: 000000006ffffdff R09: 000000006ffffeff
R10: 000000006fffff41 R11: 000000006ffffe35 R12: 00007f9b08ff20c0
R13: 00007ffd2377c0e8 R14: 0000000070000022 R15: 00000000effffef5
Showing all locks held in the system:
(wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1:
ffffc90000547d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2:
ffff8881093fa190
(&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
(&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849
1 lock held by dhcpcd/2587:
2 locks held by getty/2607:
#0: ffff888113f820a0 (&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+0xfba/0x1480 drivers/tty/n_tty.c:2211
4 locks held by kworker/0:4/4929:
6 locks held by kworker/1:8/14974:
1 lock held by udevd/21666:
#0:
7 locks held by kworker/0:7/24510:
6 locks held by kworker/1:2/28159:
#0: ffff888105ef6d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}
, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90003aa7d80 (
(work_completion)(&hub->events)
){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2:
ffff8881093eb190 (&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:1014 [inline]
, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849
#3: ffff8881093ed508 (&port_dev->status_lock){+.+.}-{3:3}
, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline]
, at: hub_port_connect drivers/usb/core/hub.c:5418 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
, at: port_event drivers/usb/core/hub.c:5821 [inline]
, at: hub_event+0x28aa/0x4f40 drivers/usb/core/hub.c:5903
#4: ffff88810f686168 (
hcd->address0_mutex
){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5419 [inline]
){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline]
){+.+.}-{3:3}, at: hub_event+0x28d0/0x4f40 drivers/usb/core/hub.c:5903
#5: ffffffff899cc810 (
ehci_cf_port_reset_rwsem
){.+.+}-{3:3}, at: hub_port_reset+0x1a7/0x1e60 drivers/usb/core/hub.c:3021
2 locks held by kworker/1:0/30608:
#0: ffff888100080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1:
ffffc9000b037d80
(
console_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
6 locks held by kworker/0:6/32716:
#0:
ffff888105ef6d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90005887d80 ((work_completion)(&hub->events)){+.+.}-{0:0}
, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffff888109b02190
(
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849
#3:
ffff888119df9190
(&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
(&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295
#4:
ffff8881151f9160
(&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:1014 [inline]
, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293
#5: ffffffff8a1a2368 (rtnl_mutex){+.+.}-{3:3}
, at: unregister_netdev+0x12/0x30 net/core/dev.c:11482
1 lock held by syz.2.6505/1740:
#0:
ffffffff88ec69f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
7 locks held by sh/1754:
#0:
ffff888121f06220
(&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
(&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
, at: do_fault_around mm/memory.c:5239 [inline]
, at: do_read_fault mm/memory.c:5273 [inline]
, at: do_fault mm/memory.c:5416 [inline]
, at: do_pte_missing mm/memory.c:3965 [inline]
, at: handle_pte_fault mm/memory.c:5751 [inline]
, at: __handle_mm_fault+0x1d61/0x3390 mm/memory.c:5894
#2:
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: filemap_map_pages+0x170/0x13d0 mm/filemap.c:3644
#3: ffff888121ebd230 (&dev->event_lock){..-.}-{2:2}, at: input_event drivers/input/input.c:397 [inline]
#3: ffff888121ebd230 (&dev->event_lock){..-.}-{2:2}, at: input_event+0x70/0xa0 drivers/input/input.c:390
#4:
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: input_pass_values+0x8b/0x8e0 drivers/input/input.c:118
#5: ffffffff893879d8 (kbd_event_lock){..-.}-{2:2}
, at: spin_lock include/linux/spinlock.h:351 [inline]
, at: kbd_event+0x8a/0x17a0 drivers/tty/vt/keyboard.c:1535
#6: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#6: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#6: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720
=============================================