FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 0
======================================================
WARNING: possible circular locking dependency detected
6.17.0-rc1-next-20250812-syzkaller #0 Not tainted
------------------------------------------------------
syz.2.668/8611 is trying to acquire lock:
ffffffff8e12e120 (console_owner){-.-.}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline]
ffffffff8e12e120 (console_owner){-.-.}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:319 [inline]
ffffffff8e12e120 (console_owner){-.-.}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:288 [inline]
ffffffff8e12e120 (console_owner){-.-.}-{0:0}, at: console_flush_all+0x13a/0xc40 kernel/printk/printk.c:3203
but task is already holding lock:
ffff8880b8739f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&rq->__lock){-.-.}-{2:2}:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
_raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
raw_spin_rq_lock kernel/sched/sched.h:1519 [inline]
task_rq_lock+0xbc/0x470 kernel/sched/core.c:736
cgroup_move_task+0x92/0x2a0 kernel/sched/psi.c:1170
css_set_move_task+0x658/0x9e0 kernel/cgroup/cgroup.c:918
cgroup_post_fork+0x1ef/0x790 kernel/cgroup/cgroup.c:6759
copy_process+0x3862/0x3c00 kernel/fork.c:2419
kernel_clone+0x21e/0x840 kernel/fork.c:2605
user_mode_thread+0xdd/0x140 kernel/fork.c:2683
rest_init+0x23/0x300 init/main.c:709
start_kernel+0x3a9/0x410 init/main.c:1097
x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:307
x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:288
common_startup_64+0x13e/0x147
-> #3 (&p->pi_lock){-.-.}-{2:2}:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
try_to_wake_up+0x67/0x12b0 kernel/sched/core.c:4216
__wake_up_common kernel/sched/wait.c:108 [inline]
__wake_up_common_lock+0x134/0x1f0 kernel/sched/wait.c:125
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x72e/0x970 drivers/tty/serial/8250/8250_port.c:1728
serial8250_handle_irq+0x633/0xbb0 drivers/tty/serial/8250/8250_port.c:1836
serial8250_default_handle_irq+0xbf/0x1e0 drivers/tty/serial/8250/8250_port.c:1856
serial8250_interrupt+0x8a/0x160 drivers/tty/serial/8250/8250_core.c:82
__handle_irq_event_percpu+0x28c/0x980 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x23b/0xa10 kernel/irq/chip.c:855
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:-1 [inline]
__common_interrupt+0x141/0x1f0 arch/x86/kernel/irq.c:325
common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
unwind_next_frame+0x17c4/0x2390 arch/x86/kernel/unwind_orc.c:-1
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
save_stack+0xf5/0x1f0 mm/page_owner.c:156
__set_page_owner+0x8d/0x4a0 mm/page_owner.c:329
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148
alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416
folio_alloc_mpol_noprof mm/mempolicy.c:2435 [inline]
vma_alloc_folio_noprof+0xe4/0x200 mm/mempolicy.c:2470
folio_prealloc+0x30/0x180 mm/memory.c:-1
wp_page_copy mm/memory.c:3552 [inline]
do_wp_page+0x1231/0x5800 mm/memory.c:4013
handle_pte_fault mm/memory.c:6068 [inline]
__handle_mm_fault+0x1033/0x5440 mm/memory.c:6195
handle_mm_fault+0x40a/0x8e0 mm/memory.c:6364
do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1336
handle_page_fault arch/x86/mm/fault.c:1476 [inline]
exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
-> #2 (&tty->write_wait){-.-.}-{3:3}:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
__wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:124
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x72e/0x970 drivers/tty/serial/8250/8250_port.c:1728
serial8250_handle_irq+0x633/0xbb0 drivers/tty/serial/8250/8250_port.c:1836
serial8250_default_handle_irq+0xbf/0x1e0 drivers/tty/serial/8250/8250_port.c:1856
serial8250_interrupt+0x8a/0x160 drivers/tty/serial/8250/8250_core.c:82
__handle_irq_event_percpu+0x28c/0x980 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x23b/0xa10 kernel/irq/chip.c:855
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:-1 [inline]
__common_interrupt+0x141/0x1f0 arch/x86/kernel/irq.c:325
common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
uart_port_unlock_irqrestore include/linux/serial_core.h:788 [inline]
uart_port_unlock_deref+0x111/0x2f0 drivers/tty/serial/serial_core.c:91
uart_write+0xe8/0x130 drivers/tty/serial/serial_core.c:637
process_output_block drivers/tty/n_tty.c:561 [inline]
n_tty_write+0xd29/0x1200 drivers/tty/n_tty.c:2377
iterate_tty_write drivers/tty/tty_io.c:1006 [inline]
file_tty_write+0x551/0xa20 drivers/tty/tty_io.c:1081
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x5c9/0xb30 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
-> #1 (&port_lock_key){-.-.}-{3:3}:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
uart_port_lock_irqsave include/linux/serial_core.h:717 [inline]
serial8250_console_write+0x17e/0x1ba0 drivers/tty/serial/8250/8250_port.c:3355
console_emit_next_record kernel/printk/printk.c:3138 [inline]
console_flush_all+0x728/0xc40 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xc4/0x270 kernel/printk/printk.c:3325
vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450
_printk+0xcf/0x120 kernel/printk/printk.c:2475
register_console+0xa8b/0xf90 kernel/printk/printk.c:4126
univ8250_console_init+0x3a/0x70 drivers/tty/serial/8250/8250_core.c:516
console_init+0x10e/0x430 kernel/printk/printk.c:4325
start_kernel+0x254/0x410 init/main.c:1035
x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:307
x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:288
common_startup_64+0x13e/0x147
-> #0 (console_owner){-.-.}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain+0xb9b/0x2140 kernel/locking/lockdep.c:3908
__lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
console_lock_spinning_enable kernel/printk/printk.c:1924 [inline]
console_emit_next_record kernel/printk/printk.c:3132 [inline]
console_flush_all+0x6d2/0xc40 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xc4/0x270 kernel/printk/printk.c:3325
vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450
_printk+0xcf/0x120 kernel/printk/printk.c:2475
fail_dump lib/fault-inject.c:66 [inline]
should_fail_ex+0x3f5/0x560 lib/fault-inject.c:174
strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:192
bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline]
bpf_bprintf_prepare+0xbbc/0x13d0 kernel/bpf/helpers.c:976
____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline]
bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363
bpf_prog_7c77c7e0f6645ad8+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2298
__bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95
__do_trace_contention_begin include/trace/events/lock.h:95 [inline]
trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95
__pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline]
queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
raw_spin_rq_lock kernel/sched/sched.h:1519 [inline]
rq_lock kernel/sched/sched.h:1841 [inline]
__schedule+0x36b/0x4cc0 kernel/sched/core.c:6865
preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7288
irqentry_exit+0x6f/0x90 kernel/entry/common.c:197
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
schedule+0x80/0x360 kernel/sched/core.c:7056
exit_to_user_mode_loop+0x4c/0x110 kernel/entry/common.c:31
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
other info that might help us debug this:
Chain exists of:
console_owner --> &p->pi_lock --> &rq->__lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&rq->__lock);
lock(&p->pi_lock);
lock(&rq->__lock);
lock(console_owner);
*** DEADLOCK ***
4 locks held by syz.2.668/8611:
#0: ffff8880b8739f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
#1: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#1: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#1: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2256 [inline]
#1: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run2+0x186/0x4b0 kernel/trace/bpf_trace.c:2298
#2: ffffffff8e12e180 (console_lock){+.+.}-{0:0}, at: _printk+0xcf/0x120 kernel/printk/printk.c:2475
#3: ffffffff8e015a50 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline]
#3: ffffffff8e015a50 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:319 [inline]
#3: ffffffff8e015a50 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:288 [inline]
#3: ffffffff8e015a50 (console_srcu){....}-{0:0}, at: console_flush_all+0x13a/0xc40 kernel/printk/printk.c:3203
stack backtrace:
CPU: 1 UID: 0 PID: 8611 Comm: syz.2.668 Not tainted 6.17.0-rc1-next-20250812-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
print_circular_bug+0x2ee/0x310 kernel/locking/lockdep.c:2043
check_noncircular+0x134/0x160 kernel/locking/lockdep.c:2175
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain+0xb9b/0x2140 kernel/locking/lockdep.c:3908
__lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
console_lock_spinning_enable kernel/printk/printk.c:1924 [inline]
console_emit_next_record kernel/printk/printk.c:3132 [inline]
console_flush_all+0x6d2/0xc40 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xc4/0x270 kernel/printk/printk.c:3325
vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450
_printk+0xcf/0x120 kernel/printk/printk.c:2475
fail_dump lib/fault-inject.c:66 [inline]
should_fail_ex+0x3f5/0x560 lib/fault-inject.c:174
strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:192
bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline]
bpf_bprintf_prepare+0xbbc/0x13d0 kernel/bpf/helpers.c:976
____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline]
bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363
bpf_prog_7c77c7e0f6645ad8+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2298
__bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95
__do_trace_contention_begin include/trace/events/lock.h:95 [inline]
trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95
__pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline]
queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
raw_spin_rq_lock kernel/sched/sched.h:1519 [inline]
rq_lock kernel/sched/sched.h:1841 [inline]
__schedule+0x36b/0x4cc0 kernel/sched/core.c:6865
preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7288
irqentry_exit+0x6f/0x90 kernel/entry/common.c:197
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:schedule+0x80/0x360 kernel/sched/core.c:7056
Code: c0 0f 85 67 02 00 00 41 f6 06 02 0f 85 e9 01 00 00 4c 8d 7b 18 4c 89 fd 48 c1 ed 03 42 0f b6 44 2d 00 84 c0 0f 85 08 02 00 00 <41> 83 3f 00 0f 84 b8 00 00 00 4c 8d 35 00 00 00 00 48 c7 c7 80 64
RSP: 0018:ffffc9001c26fe98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888033e73c00 RCX: 76b50c6fbaa60600
RDX: 0000000000000000 RSI: ffffffff8d9b97b0 RDI: ffffffff8be34b80
RBP: 1ffff110067ce783 R08: ffffffff8fa3a137 R09: 1ffffffff1f47426
R10: dffffc0000000000 R11: fffffbfff1f47427 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888033e74190 R15: ffff888033e73c18
exit_to_user_mode_loop+0x4c/0x110 kernel/entry/common.c:31
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f04ddb8d69f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f04dbdf6030 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: 0000000000000001 RBX: 0000000000000009 RCX: 00007f04ddb8d69f
RDX: 0000000000000001 RSI: 00007f04dbdf6090 RDI: 0000000000000009
RBP: 00007f04dbdf6090 R08: 0000000000000000 R09: 00007f04dbdf5df7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007f04dddb6218 R14: 00007f04dddb6180 R15: 00007ffd8d98d558
CPU: 1 UID: 0 PID: 8611 Comm: syz.2.668 Not tainted 6.17.0-rc1-next-20250812-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x414/0x560 lib/fault-inject.c:174
strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:192
bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline]
bpf_bprintf_prepare+0xbbc/0x13d0 kernel/bpf/helpers.c:976
____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline]
bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363
bpf_prog_7c77c7e0f6645ad8+0x3e/0x44
bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline]
__bpf_prog_run include/linux/filter.h:718 [inline]
bpf_prog_run include/linux/filter.h:725 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline]
bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2298
__bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95
__do_trace_contention_begin include/trace/events/lock.h:95 [inline]
trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95
__pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline]
queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:636
raw_spin_rq_lock kernel/sched/sched.h:1519 [inline]
rq_lock kernel/sched/sched.h:1841 [inline]
__schedule+0x36b/0x4cc0 kernel/sched/core.c:6865
preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7288
irqentry_exit+0x6f/0x90 kernel/entry/common.c:197
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:schedule+0x80/0x360 kernel/sched/core.c:7056
Code: c0 0f 85 67 02 00 00 41 f6 06 02 0f 85 e9 01 00 00 4c 8d 7b 18 4c 89 fd 48 c1 ed 03 42 0f b6 44 2d 00 84 c0 0f 85 08 02 00 00 <41> 83 3f 00 0f 84 b8 00 00 00 4c 8d 35 00 00 00 00 48 c7 c7 80 64
RSP: 0018:ffffc9001c26fe98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888033e73c00 RCX: 76b50c6fbaa60600
RDX: 0000000000000000 RSI: ffffffff8d9b97b0 RDI: ffffffff8be34b80
RBP: 1ffff110067ce783 R08: ffffffff8fa3a137 R09: 1ffffffff1f47426
R10: dffffc0000000000 R11: fffffbfff1f47427 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888033e74190 R15: ffff888033e73c18
exit_to_user_mode_loop+0x4c/0x110 kernel/entry/common.c:31
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f04ddb8d69f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007f04dbdf6030 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: 0000000000000001 RBX: 0000000000000009 RCX: 00007f04ddb8d69f
RDX: 0000000000000001 RSI: 00007f04dbdf6090 RDI: 0000000000000009
RBP: 00007f04dbdf6090 R08: 0000000000000000 R09: 00007f04dbdf5df7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007f04dddb6218 R14: 00007f04dddb6180 R15: 00007ffd8d98d558
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 0f 85 67 02 00 00 jne 0x26d
6: 41 f6 06 02 testb $0x2,(%r14)
a: 0f 85 e9 01 00 00 jne 0x1f9
10: 4c 8d 7b 18 lea 0x18(%rbx),%r15
14: 4c 89 fd mov %r15,%rbp
17: 48 c1 ed 03 shr $0x3,%rbp
1b: 42 0f b6 44 2d 00 movzbl 0x0(%rbp,%r13,1),%eax
21: 84 c0 test %al,%al
23: 0f 85 08 02 00 00 jne 0x231
* 29: 41 83 3f 00 cmpl $0x0,(%r15) <-- trapping instruction
2d: 0f 84 b8 00 00 00 je 0xeb
33: 4c 8d 35 00 00 00 00 lea 0x0(%rip),%r14 # 0x3a
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: c7 .byte 0xc7
3d: 80 .byte 0x80
3e: 64 fs