FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 0
======================================================
WARNING: possible circular locking dependency detected
6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #0 Not tainted
------------------------------------------------------
syz.1.1554/10620 is trying to acquire lock:
ffffffff8dda8018 ((console_sem).lock){-.-.}-{2:2}, at: down_trylock+0x12/0x70 kernel/locking/semaphore.c:139
but task is already holding lock:
ffff88806a83edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline]
ffff88806a83edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #2 (&rq->__lock){-.-.}-{2:2}:
_raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:560
raw_spin_rq_lock kernel/sched/sched.h:1415 [inline]
rq_lock kernel/sched/sched.h:1714 [inline]
task_fork_fair+0x73/0x250 kernel/sched/fair.c:12710
sched_cgroup_fork+0x3cf/0x510 kernel/sched/core.c:4633
copy_process+0x43a1/0x8de0 kernel/fork.c:2483
kernel_clone+0xfd/0x960 kernel/fork.c:2781
user_mode_thread+0xb4/0xf0 kernel/fork.c:2859
rest_init+0x23/0x2b0 init/main.c:712
start_kernel+0x3df/0x4c0 init/main.c:1103
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:507
x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:488
common_startup_64+0x13e/0x148
-> #1 (&p->pi_lock){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline]
try_to_wake_up+0x9a/0x13e0 kernel/sched/core.c:4051
up+0x79/0xb0 kernel/locking/semaphore.c:191
__up_console_sem kernel/printk/printk.c:340 [inline]
__console_unlock kernel/printk/printk.c:2801 [inline]
console_unlock+0x23e/0x290 kernel/printk/printk.c:3120
vga_remove_vgacon drivers/pci/vgaarb.c:186 [inline]
vga_remove_vgacon+0x90/0xd0 drivers/pci/vgaarb.c:167
__aperture_remove_legacy_vga_devices drivers/video/aperture.c:331 [inline]
aperture_remove_conflicting_pci_devices+0x16a/0x1e0 drivers/video/aperture.c:369
virtio_gpu_pci_quirk drivers/gpu/drm/virtio/virtgpu_drv.c:61 [inline]
virtio_gpu_probe+0x408/0x4e0 drivers/gpu/drm/virtio/virtgpu_drv.c:92
virtio_dev_probe+0x586/0x8a0 drivers/virtio/virtio.c:308
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:657
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__driver_attach+0x283/0x580 drivers/base/dd.c:1215
bus_for_each_dev+0x13c/0x1d0 drivers/base/bus.c:368
bus_add_driver+0x2e9/0x690 drivers/base/bus.c:673
driver_register+0x15c/0x4b0 drivers/base/driver.c:246
do_one_initcall+0x128/0x700 init/main.c:1267
do_initcall_level init/main.c:1329 [inline]
do_initcalls init/main.c:1345 [inline]
do_basic_setup init/main.c:1364 [inline]
kernel_init_freeable+0x69d/0xca0 init/main.c:1578
kernel_init+0x1c/0x2b0 init/main.c:1467
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
-> #0 ((console_sem).lock){-.-.}-{2:2}:
check_prev_add kernel/locking/lockdep.c:3133 [inline]
check_prevs_add kernel/locking/lockdep.c:3252 [inline]
validate_chain kernel/locking/lockdep.c:3868 [inline]
__lock_acquire+0x24ed/0x3cb0 kernel/locking/lockdep.c:5142
lock_acquire kernel/locking/lockdep.c:5759 [inline]
lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
down_trylock+0x12/0x70 kernel/locking/semaphore.c:139
__down_trylock_console_sem+0x40/0x140 kernel/printk/printk.c:323
console_trylock kernel/printk/printk.c:2754 [inline]
console_trylock_spinning kernel/printk/printk.c:1958 [inline]
vprintk_emit+0x3d3/0x600 kernel/printk/printk.c:2347
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2373
fail_dump lib/fault-inject.c:45 [inline]
should_fail_ex+0x46c/0x5b0 lib/fault-inject.c:153
strncpy_from_user+0x38/0x320 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:216 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:311 [inline]
bpf_probe_read_compat_str+0xf1/0x170 kernel/trace/bpf_trace.c:307
bpf_prog_e42f6260c1b72fb3+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline]
__bpf_prog_run include/linux/filter.h:691 [inline]
bpf_prog_run include/linux/filter.h:698 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2406 [inline]
bpf_trace_run4+0x245/0x5a0 kernel/trace/bpf_trace.c:2449
__bpf_trace_sched_switch+0x13e/0x190 include/trace/events/sched.h:222
__traceiter_sched_switch+0x6c/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x17cf/0x5490 kernel/sched/core.c:6526
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
seqcount_lockdep_reader_access include/linux/seqlock.h:74 [inline]
read_seqbegin include/linux/seqlock.h:772 [inline]
zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
page_outside_zone_boundaries mm/page_alloc.c:434 [inline]
bad_range+0xcd/0x440 mm/page_alloc.c:453
rmqueue mm/page_alloc.c:3060 [inline]
get_page_from_freelist+0x1331/0x2e50 mm/page_alloc.c:3443
__alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4702
alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263
pagetable_alloc_noprof include/linux/mm.h:2872 [inline]
__pte_alloc_one_noprof include/asm-generic/pgalloc.h:70 [inline]
pte_alloc_one+0x20/0x370 arch/x86/mm/pgtable.c:33
do_fault_around mm/memory.c:5013 [inline]
do_read_fault mm/memory.c:5052 [inline]
do_fault mm/memory.c:5191 [inline]
do_pte_missing mm/memory.c:3947 [inline]
handle_pte_fault mm/memory.c:5521 [inline]
__handle_mm_fault+0x3be6/0x5660 mm/memory.c:5664
handle_mm_fault+0x498/0xa60 mm/memory.c:5832
do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389
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
__get_user_4+0x11/0x20 arch/x86/lib/getuser.S:81
vhost_get_vq_from_user drivers/vhost/vhost.c:830 [inline]
vhost_vring_ioctl+0xc8/0x1390 drivers/vhost/vhost.c:1969
vhost_vsock_dev_ioctl+0x8c4/0xb50 drivers/vhost/vsock.c:877
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
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
other info that might help us debug this:
Chain exists of:
(console_sem).lock --> &p->pi_lock --> &rq->__lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&rq->__lock);
lock(&p->pi_lock);
lock(&rq->__lock);
lock((console_sem).lock);
*** DEADLOCK ***
4 locks held by syz.1.1554/10620:
#0: ffff88804a990070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x3a2/0xb50 drivers/vhost/vsock.c:874
#1: ffff888032af3a98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline]
#1: ffff888032af3a98 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5869 [inline]
#1: ffff888032af3a98 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x35/0x6a0 mm/memory.c:5929
#2: ffff88806a83edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline]
#2: ffff88806a83edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553
#3: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#3: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#3: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2405 [inline]
#3: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x1d6/0x5a0 kernel/trace/bpf_trace.c:2449
stack backtrace:
CPU: 2 UID: 0 PID: 10620 Comm: syz.1.1554 Not tainted 6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
check_noncircular+0x31a/0x400 kernel/locking/lockdep.c:2186
check_prev_add kernel/locking/lockdep.c:3133 [inline]
check_prevs_add kernel/locking/lockdep.c:3252 [inline]
validate_chain kernel/locking/lockdep.c:3868 [inline]
__lock_acquire+0x24ed/0x3cb0 kernel/locking/lockdep.c:5142
lock_acquire kernel/locking/lockdep.c:5759 [inline]
lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
down_trylock+0x12/0x70 kernel/locking/semaphore.c:139
__down_trylock_console_sem+0x40/0x140 kernel/printk/printk.c:323
console_trylock kernel/printk/printk.c:2754 [inline]
console_trylock_spinning kernel/printk/printk.c:1958 [inline]
vprintk_emit+0x3d3/0x600 kernel/printk/printk.c:2347
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2373
fail_dump lib/fault-inject.c:45 [inline]
should_fail_ex+0x46c/0x5b0 lib/fault-inject.c:153
strncpy_from_user+0x38/0x320 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:216 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:311 [inline]
bpf_probe_read_compat_str+0xf1/0x170 kernel/trace/bpf_trace.c:307
bpf_prog_e42f6260c1b72fb3+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline]
__bpf_prog_run include/linux/filter.h:691 [inline]
bpf_prog_run include/linux/filter.h:698 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2406 [inline]
bpf_trace_run4+0x245/0x5a0 kernel/trace/bpf_trace.c:2449
__bpf_trace_sched_switch+0x13e/0x190 include/trace/events/sched.h:222
__traceiter_sched_switch+0x6c/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x17cf/0x5490 kernel/sched/core.c:6526
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline]
RIP: 0010:read_seqbegin include/linux/seqlock.h:772 [inline]
RIP: 0010:zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
RIP: 0010:page_outside_zone_boundaries mm/page_alloc.c:434 [inline]
RIP: 0010:bad_range+0xcd/0x440 mm/page_alloc.c:453
Code: 89 ef e8 e6 7d 8c ff 48 8b 74 24 70 4c 89 ef e8 59 6e 8c ff 9c 5a 49 bb 00 00 00 00 00 fc ff df 80 e6 02 58 0f 85 2e 02 00 00 <41> 0f b6 16 41 38 d7 7c 08 84 d2 0f 85 57 02 00 00 8b 93 c8 00 00
RSP: 0018:ffffc90023a274a8 EFLAGS: 00000246
RAX: 000000000000035f RBX: ffff88807ffd7740 RCX: ffffffff81de4171
RDX: 0000000000000006 RSI: ffffffff8b4cd740 RDI: ffffffff8bb0fb40
RBP: 0000000000024867 R08: 0000000000000001 R09: fffffbfff2d248e7
R10: ffffffff9692473f R11: dffffc0000000000 R12: ffffea00009219c0
R13: ffff88807ffd7810 R14: ffffed100fffaf01 R15: 0000000000000003
rmqueue mm/page_alloc.c:3060 [inline]
get_page_from_freelist+0x1331/0x2e50 mm/page_alloc.c:3443
__alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4702
alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263
pagetable_alloc_noprof include/linux/mm.h:2872 [inline]
__pte_alloc_one_noprof include/asm-generic/pgalloc.h:70 [inline]
pte_alloc_one+0x20/0x370 arch/x86/mm/pgtable.c:33
do_fault_around mm/memory.c:5013 [inline]
do_read_fault mm/memory.c:5052 [inline]
do_fault mm/memory.c:5191 [inline]
do_pte_missing mm/memory.c:3947 [inline]
handle_pte_fault mm/memory.c:5521 [inline]
__handle_mm_fault+0x3be6/0x5660 mm/memory.c:5664
handle_mm_fault+0x498/0xa60 mm/memory.c:5832
do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389
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: 0010:__get_user_4+0x11/0x20 arch/x86/lib/getuser.S:83
Code: 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 c2 48 c1 fa 3f 48 09 d0 0f 01 cb <8b> 10 31 c0 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90
RSP: 0018:ffffc90023a27ca8 EFLAGS: 00050206
RAX: 00000000200001c0 RBX: 00000000c008af12 RCX: ffffc90023a27c10
RDX: 0000000000000000 RSI: ffffffff887db1a0 RDI: ffffffff8bb0fb40
RBP: ffff88804a990000 R08: 0000000000000000 R09: fffffbfff202898b
R10: ffffffff90144c5f R11: 0000000000000000 R12: 00000000c008af12
R13: 1ffff92004744f99 R14: dffffc0000000000 R15: 00000000200001c0
vhost_get_vq_from_user drivers/vhost/vhost.c:830 [inline]
vhost_vring_ioctl+0xc8/0x1390 drivers/vhost/vhost.c:1969
vhost_vsock_dev_ioctl+0x8c4/0xb50 drivers/vhost/vsock.c:877
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
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:0x7f780bb7cef9
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:00007f780c9da038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f780bd35f80 RCX: 00007f780bb7cef9
RDX: 00000000200001c0 RSI: 00000000c008af12 RDI: 0000000000000003
RBP: 00007f780c9da090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f780bd35f80 R15: 00007ffdf25706d8
CPU: 2 UID: 0 PID: 10620 Comm: syz.1.1554 Not tainted 6.11.0-rc6-syzkaller-00326-gd1f2d51b711a #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
fail_dump lib/fault-inject.c:52 [inline]
should_fail_ex+0x497/0x5b0 lib/fault-inject.c:153
strncpy_from_user+0x38/0x320 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:216 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:311 [inline]
bpf_probe_read_compat_str+0xf1/0x170 kernel/trace/bpf_trace.c:307
bpf_prog_e42f6260c1b72fb3+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline]
__bpf_prog_run include/linux/filter.h:691 [inline]
bpf_prog_run include/linux/filter.h:698 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2406 [inline]
bpf_trace_run4+0x245/0x5a0 kernel/trace/bpf_trace.c:2449
__bpf_trace_sched_switch+0x13e/0x190 include/trace/events/sched.h:222
__traceiter_sched_switch+0x6c/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x17cf/0x5490 kernel/sched/core.c:6526
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline]
RIP: 0010:read_seqbegin include/linux/seqlock.h:772 [inline]
RIP: 0010:zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
RIP: 0010:page_outside_zone_boundaries mm/page_alloc.c:434 [inline]
RIP: 0010:bad_range+0xcd/0x440 mm/page_alloc.c:453
Code: 89 ef e8 e6 7d 8c ff 48 8b 74 24 70 4c 89 ef e8 59 6e 8c ff 9c 5a 49 bb 00 00 00 00 00 fc ff df 80 e6 02 58 0f 85 2e 02 00 00 <41> 0f b6 16 41 38 d7 7c 08 84 d2 0f 85 57 02 00 00 8b 93 c8 00 00
RSP: 0018:ffffc90023a274a8 EFLAGS: 00000246
RAX: 000000000000035f RBX: ffff88807ffd7740 RCX: ffffffff81de4171
RDX: 0000000000000006 RSI: ffffffff8b4cd740 RDI: ffffffff8bb0fb40
RBP: 0000000000024867 R08: 0000000000000001 R09: fffffbfff2d248e7
R10: ffffffff9692473f R11: dffffc0000000000 R12: ffffea00009219c0
R13: ffff88807ffd7810 R14: ffffed100fffaf01 R15: 0000000000000003
rmqueue mm/page_alloc.c:3060 [inline]
get_page_from_freelist+0x1331/0x2e50 mm/page_alloc.c:3443
__alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4702
alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263
pagetable_alloc_noprof include/linux/mm.h:2872 [inline]
__pte_alloc_one_noprof include/asm-generic/pgalloc.h:70 [inline]
pte_alloc_one+0x20/0x370 arch/x86/mm/pgtable.c:33
do_fault_around mm/memory.c:5013 [inline]
do_read_fault mm/memory.c:5052 [inline]
do_fault mm/memory.c:5191 [inline]
do_pte_missing mm/memory.c:3947 [inline]
handle_pte_fault mm/memory.c:5521 [inline]
__handle_mm_fault+0x3be6/0x5660 mm/memory.c:5664
handle_mm_fault+0x498/0xa60 mm/memory.c:5832
do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389
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: 0010:__get_user_4+0x11/0x20 arch/x86/lib/getuser.S:83
Code: 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 c2 48 c1 fa 3f 48 09 d0 0f 01 cb <8b> 10 31 c0 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90
RSP: 0018:ffffc90023a27ca8 EFLAGS: 00050206
RAX: 00000000200001c0 RBX: 00000000c008af12 RCX: ffffc90023a27c10
RDX: 0000000000000000 RSI: ffffffff887db1a0 RDI: ffffffff8bb0fb40
RBP: ffff88804a990000 R08: 0000000000000000 R09: fffffbfff202898b
R10: ffffffff90144c5f R11: 0000000000000000 R12: 00000000c008af12
R13: 1ffff92004744f99 R14: dffffc0000000000 R15: 00000000200001c0
vhost_get_vq_from_user drivers/vhost/vhost.c:830 [inline]
vhost_vring_ioctl+0xc8/0x1390 drivers/vhost/vhost.c:1969
vhost_vsock_dev_ioctl+0x8c4/0xb50 drivers/vhost/vsock.c:877
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
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:0x7f780bb7cef9
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:00007f780c9da038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f780bd35f80 RCX: 00007f780bb7cef9
RDX: 00000000200001c0 RSI: 00000000c008af12 RDI: 0000000000000003
RBP: 00007f780c9da090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f780bd35f80 R15: 00007ffdf25706d8
----------------
Code disassembly (best guess):
0: 89 ef mov %ebp,%edi
2: e8 e6 7d 8c ff call 0xff8c7ded
7: 48 8b 74 24 70 mov 0x70(%rsp),%rsi
c: 4c 89 ef mov %r13,%rdi
f: e8 59 6e 8c ff call 0xff8c6e6d
14: 9c pushf
15: 5a pop %rdx
16: 49 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%r11
1d: fc ff df
20: 80 e6 02 and $0x2,%dh
23: 58 pop %rax
24: 0f 85 2e 02 00 00 jne 0x258
* 2a: 41 0f b6 16 movzbl (%r14),%edx <-- trapping instruction
2e: 41 38 d7 cmp %dl,%r15b
31: 7c 08 jl 0x3b
33: 84 d2 test %dl,%dl
35: 0f 85 57 02 00 00 jne 0x292
3b: 8b .byte 0x8b
3c: 93 xchg %eax,%ebx
3d: c8 .byte 0xc8