------------[ cut here ]------------
WARNING: CPU: 0 PID: 7509 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 7509 Comm: syz.5.601 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed f7 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 70 f4 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe
RSP: 0018:ffffc90000007930 EFLAGS: 00010046
======================================================
WARNING: possible circular locking dependency detected
5.15.189-syzkaller #0 Not tainted
------------------------------------------------------
syz.5.601/7509 is trying to acquire lock:
ffffffff8c110da0 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0x150/0x350 kernel/printk/printk.c:1879
but task is already holding lock:
ffff8880b9039b18 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x595/0xd50 kernel/workqueue.c:-1
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #3 (&pool->lock){-.-.}-{2:2}:
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
__queue_work+0x413/0xd50 kernel/workqueue.c:1477
queue_work_on+0x11d/0x1d0 kernel/workqueue.c:1559
queue_work include/linux/workqueue.h:512 [inline]
schedule_work include/linux/workqueue.h:573 [inline]
p9_pollwake+0x142/0x160 net/9p/trans_fd.c:542
__wake_up_common+0x2a4/0x4e0 kernel/sched/wait.c:108
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x108/0x180 kernel/sched/wait.c:157
n_tty_set_termios+0xc24/0x1090 drivers/tty/n_tty.c:1817
tty_set_termios+0xd64/0x1760 drivers/tty/tty_ioctl.c:365
set_termios+0x83c/0x870 drivers/tty/tty_ioctl.c:454
tty_mode_ioctl+0x667/0x870 drivers/tty/tty_ioctl.c:-1
tty_ioctl+0x8e7/0xc20 drivers/tty/tty_io.c:2819
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
-> #2 (&tty->write_wait){-...}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:137 [inline]
__wake_up+0xed/0x180 kernel/sched/wait.c:157
tty_port_default_wakeup+0xa5/0xf0 drivers/tty/tty_port.c:51
serial8250_tx_chars+0x629/0x830 drivers/tty/serial/8250/8250_port.c:1828
serial8250_handle_irq+0x519/0x610 drivers/tty/serial/8250/8250_port.c:1924
serial8250_default_handle_irq+0xb4/0x1a0 drivers/tty/serial/8250/8250_port.c:1941
serial8250_interrupt+0x9b/0x1c0 drivers/tty/serial/8250/8250_core.c:127
__handle_irq_event_percpu+0x291/0x9b0 kernel/irq/handle.c:156
handle_irq_event_percpu kernel/irq/handle.c:196 [inline]
handle_irq_event+0xa5/0x220 kernel/irq/handle.c:213
handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819
generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
handle_irq arch/x86/kernel/irq.c:233 [inline]
__common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252
common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242
asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
uart_write+0x62f/0x880 drivers/tty/serial/serial_core.c:592
process_output_block drivers/tty/n_tty.c:592 [inline]
n_tty_write+0xd21/0x1210 drivers/tty/n_tty.c:2339
do_tty_write drivers/tty/tty_io.c:1038 [inline]
file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110
call_write_iter include/linux/fs.h:2172 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x712/0xd00 fs/read_write.c:594
ksys_write+0x14d/0x250 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
-> #1 (&port_lock_key){-...}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162
serial8250_console_write+0x170/0xf80 drivers/tty/serial/8250/8250_port.c:3363
call_console_drivers kernel/printk/printk.c:-1 [inline]
console_unlock+0xc86/0x1200 kernel/printk/printk.c:2744
vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
_printk+0xcc/0x110 kernel/printk/printk.c:2299
register_console+0x682/0x960 kernel/printk/printk.c:3107
univ8250_console_init+0x41/0x50 drivers/tty/serial/8250/8250_core.c:690
console_init+0x177/0x5d0 kernel/printk/printk.c:3207
start_kernel+0x2f9/0x530 init/main.c:1076
secondary_startup_64_no_verify+0xb1/0xbb
-> #0 (console_owner){..-.}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3053 [inline]
check_prevs_add kernel/locking/lockdep.c:3172 [inline]
validate_chain kernel/locking/lockdep.c:3788 [inline]
__lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
console_trylock_spinning+0x170/0x350 kernel/printk/printk.c:1896
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xcc/0x110 kernel/printk/printk.c:2299
__show_regs+0x57/0x500 arch/x86/kernel/process_64.c:79
show_regs+0x32/0x60 arch/x86/kernel/dumpstack.c:471
__warn+0x15e/0x2b0 kernel/panic.c:678
report_bug+0x1b7/0x2e0 lib/bug.c:199
handle_bug+0x3a/0x70 arch/x86/kernel/traps.c:239
exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:259
asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:604
copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_8fc34fd13f997abc+0x3d/0x6a4
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run1+0x153/0x2d0 kernel/trace/bpf_trace.c:1914
trace_workqueue_activate_work+0x13e/0x1a0 include/trace/events/workqueue.h:59
__queue_work+0x8ec/0xd50 kernel/workqueue.c:1521
rcu_work_rcufn+0xcf/0x110 kernel/workqueue.c:1768
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627
local_lock_acquire+0x34/0x170 include/linux/local_lock_internal.h:29
lru_cache_add+0x3bc/0x750 mm/swap.c:450
wp_page_copy+0xde8/0x1fd0 mm/memory.c:3117
handle_pte_fault mm/memory.c:4668 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x1eca/0x43c0 mm/memory.c:4883
do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1357
handle_page_fault arch/x86/mm/fault.c:1445 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
__put_user_nocheck_4+0x3/0x11
____sys_recvmsg+0x35d/0x580 net/socket.c:2668
___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697
do_recvmmsg+0x344/0x7a0 net/socket.c:2791
__sys_recvmmsg net/socket.c:2870 [inline]
__do_sys_recvmmsg net/socket.c:2893 [inline]
__se_sys_recvmmsg net/socket.c:2886 [inline]
__x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
other info that might help us debug this:
Chain exists of:
console_owner --> &tty->write_wait --> &pool->lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&pool->lock);
lock(&tty->write_wait);
lock(&pool->lock);
lock(console_owner);
*** DEADLOCK ***
7 locks held by syz.5.601/7509:
#0: ffff888060328f28 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888060328f28 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault+0x2b9/0xc80 arch/x86/mm/fault.c:1298
#1: ffff88802c23eaf8 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline]
#1: ffff88802c23eaf8 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: wp_page_copy+0x6d0/0x1fd0 mm/memory.c:3092
#2: ffff8880b9035528 (lock#5){+.+.}-{2:2}, at: local_lock_acquire+0xe/0x170 include/linux/local_lock_internal.h:28
#3: ffffffff8c11c480 (rcu_callback){....}-{0:0}, at: rcu_lock_acquire+0x0/0x20
#4: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
#5: ffff8880b9039b18 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x595/0xd50 kernel/workqueue.c:-1
#6: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
stack backtrace:
CPU: 0 PID: 7509 Comm: syz.5.601 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
check_noncircular+0x274/0x310 kernel/locking/lockdep.c:2133
check_prev_add kernel/locking/lockdep.c:3053 [inline]
check_prevs_add kernel/locking/lockdep.c:3172 [inline]
validate_chain kernel/locking/lockdep.c:3788 [inline]
__lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
console_trylock_spinning+0x170/0x350 kernel/printk/printk.c:1896
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xcc/0x110 kernel/printk/printk.c:2299
__show_regs+0x57/0x500 arch/x86/kernel/process_64.c:79
show_regs+0x32/0x60 arch/x86/kernel/dumpstack.c:471
__warn+0x15e/0x2b0 kernel/panic.c:678
report_bug+0x1b7/0x2e0 lib/bug.c:199
handle_bug+0x3a/0x70 arch/x86/kernel/traps.c:239
exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:259
asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:604
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed f7 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 70 f4 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe
RSP: 0018:ffffc90000007930 EFLAGS: 00010046
RAX: ffffffff819ecfb0 RBX: 0000000000000000 RCX: ffff88801d4dbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003a9b771
R10: ffffed1003a9b771 R11: 1ffff11003a9b770 R12: ffff88801d4dd308
R13: 00007ffffffff000 R14: ffffc90000007968 R15: 0000000020000000
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_8fc34fd13f997abc+0x3d/0x6a4
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run1+0x153/0x2d0 kernel/trace/bpf_trace.c:1914
trace_workqueue_activate_work+0x13e/0x1a0 include/trace/events/workqueue.h:59
__queue_work+0x8ec/0xd50 kernel/workqueue.c:1521
rcu_work_rcufn+0xcf/0x110 kernel/workqueue.c:1768
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc900031df280 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: acbafdf2b2f60200
RDX: 0000000000000000 RSI: ffffffff8a0b2860 RDI: ffffffff8a599340
RBP: ffffc900031df3a0 R08: dffffc0000000000 R09: fffffbfff1ff6e21
R10: fffffbfff1ff6e21 R11: 1ffffffff1ff6e20 R12: ffff8880b9035528
R13: 1ffff9200063be5c R14: 0000000000000246 R15: dffffc0000000000
local_lock_acquire+0x34/0x170 include/linux/local_lock_internal.h:29
lru_cache_add+0x3bc/0x750 mm/swap.c:450
wp_page_copy+0xde8/0x1fd0 mm/memory.c:3117
handle_pte_fault mm/memory.c:4668 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x1eca/0x43c0 mm/memory.c:4883
do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1357
handle_page_fault arch/x86/mm/fault.c:1445 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 90 90 90 90 90 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 90 90 90 90 90 90 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc900031df8f8 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 000020000088c030
RDX: ffffc900031dfd90 RSI: 0000000000000002 RDI: 00000000ffffffff
RBP: ffffc900031dfa90 R08: dffffc0000000000 R09: fffff5200063bedd
R10: fffff5200063bedd R11: 1ffff9200063bedc R12: dffffc0000000000
R13: 000020000088c000 R14: 0000000000000000 R15: 0000000000000000
____sys_recvmsg+0x35d/0x580 net/socket.c:2668
___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697
do_recvmmsg+0x344/0x7a0 net/socket.c:2791
__sys_recvmmsg net/socket.c:2870 [inline]
__do_sys_recvmmsg net/socket.c:2893 [inline]
__se_sys_recvmmsg net/socket.c:2886 [inline]
__x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd5a094ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd59eb95038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fd5a0b76090 RCX: 00007fd5a094ebe9
RDX: 03fffffffffffcb5 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007fd5a09d1e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd5a0b76128 R14: 00007fd5a0b76090 R15: 00007fff4dc90ff8
RAX: ffffffff819ecfb0 RBX: 0000000000000000 RCX: ffff88801d4dbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003a9b771
R10: ffffed1003a9b771 R11: 1ffff11003a9b770 R12: ffff88801d4dd308
R13: 00007ffffffff000 R14: ffffc90000007968 R15: 0000000020000000
FS: 00007fd59eb956c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000088c030 CR3: 00000000625fd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_8fc34fd13f997abc+0x3d/0x6a4
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run1+0x153/0x2d0 kernel/trace/bpf_trace.c:1914
trace_workqueue_activate_work+0x13e/0x1a0 include/trace/events/workqueue.h:59
__queue_work+0x8ec/0xd50 kernel/workqueue.c:1521
rcu_work_rcufn+0xcf/0x110 kernel/workqueue.c:1768
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc900031df280 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: acbafdf2b2f60200
RDX: 0000000000000000 RSI: ffffffff8a0b2860 RDI: ffffffff8a599340
RBP: ffffc900031df3a0 R08: dffffc0000000000 R09: fffffbfff1ff6e21
R10: fffffbfff1ff6e21 R11: 1ffffffff1ff6e20 R12: ffff8880b9035528
R13: 1ffff9200063be5c R14: 0000000000000246 R15: dffffc0000000000
local_lock_acquire+0x34/0x170 include/linux/local_lock_internal.h:29
lru_cache_add+0x3bc/0x750 mm/swap.c:450
wp_page_copy+0xde8/0x1fd0 mm/memory.c:3117
handle_pte_fault mm/memory.c:4668 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x1eca/0x43c0 mm/memory.c:4883
do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1357
handle_page_fault arch/x86/mm/fault.c:1445 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 90 90 90 90 90 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 90 90 90 90 90 90 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc900031df8f8 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 000020000088c030
RDX: ffffc900031dfd90 RSI: 0000000000000002 RDI: 00000000ffffffff
RBP: ffffc900031dfa90 R08: dffffc0000000000 R09: fffff5200063bedd
R10: fffff5200063bedd R11: 1ffff9200063bedc R12: dffffc0000000000
R13: 000020000088c000 R14: 0000000000000000 R15: 0000000000000000
____sys_recvmsg+0x35d/0x580 net/socket.c:2668
___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697
do_recvmmsg+0x344/0x7a0 net/socket.c:2791
__sys_recvmmsg net/socket.c:2870 [inline]
__do_sys_recvmmsg net/socket.c:2893 [inline]
__se_sys_recvmmsg net/socket.c:2886 [inline]
__x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd5a094ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd59eb95038 EFLAGS: 00000246
ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fd5a0b76090 RCX: 00007fd5a094ebe9
RDX: 03fffffffffffcb5 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007fd5a09d1e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd5a0b76128 R14: 00007fd5a0b76090 R15: 00007fff4dc90ff8
irq event stamp: 493993
hardirqs last enabled at (493992): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last enabled at (493992): [] _raw_spin_unlock_irqrestore+0x82/0x100 kernel/locking/spinlock.c:194
hardirqs last disabled at (493993): [] rcu_work_rcufn+0xa1/0x110 kernel/workqueue.c:1767
softirqs last enabled at (489688): [] __do_softirq kernel/softirq.c:610 [inline]
softirqs last enabled at (489688): [] invoke_softirq kernel/softirq.c:450 [inline]
softirqs last enabled at (489688): [] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
softirqs last disabled at (493937): [] __do_softirq kernel/softirq.c:610 [inline]
softirqs last disabled at (493937): [] invoke_softirq kernel/softirq.c:450 [inline]
softirqs last disabled at (493937): [] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
---[ end trace 615c51fce8145949 ]---
----------------
Code disassembly (best guess):
0: 00 9c 8f 84 24 80 00 add %bl,0x802484(%rdi,%rcx,4)
7: 00 00 add %al,(%rax)
9: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp)
10: 02
11: 0f 85 f6 00 00 00 jne 0x10d
17: 41 f7 c6 00 02 00 00 test $0x200,%r14d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction
31: 00 00
33: 66 43 c7 44 3d 09 00 movw $0x0,0x9(%r13,%r15,1)
3a: 00
3b: 43 rex.XB
3c: c6 .byte 0xc6
3d: 44 rex.R
3e: 3d .byte 0x3d
3f: 0b .byte 0xb