------------[ cut here ]------------
======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Not tainted
------------------------------------------------------
syz.2.1769/12994 is trying to acquire lock:
ffffffff8e126640 (console_owner){-...}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline]
ffffffff8e126640 (console_owner){-...}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline]
ffffffff8e126640 (console_owner){-...}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline]
ffffffff8e126640 (console_owner){-...}-{0:0}, at: console_flush_all+0x10b/0xcf0 kernel/printk/printk.c:2992
but task is already holding lock:
ffff8880b8c3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x9c/0x130 kernel/sched/core.c:578
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&rq->__lock){-.-.}-{2:2}:
_raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:570
raw_spin_rq_lock kernel/sched/sched.h:1380 [inline]
rq_lock kernel/sched/sched.h:1689 [inline]
task_fork_fair+0x62/0x1f0 kernel/sched/fair.c:12738
sched_cgroup_fork+0x352/0x3e0 kernel/sched/core.c:4829
copy_process+0x21fd/0x3da0 kernel/fork.c:2622
kernel_clone+0x24b/0x8a0 kernel/fork.c:2922
user_mode_thread+0x111/0x180 kernel/fork.c:3000
rest_init+0x27/0x300 init/main.c:675
arch_call_rest_init+0xe/0x10 init/main.c:806
start_kernel+0x461/0x4e0 init/main.c:1051
x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
copy_bootdata+0x0/0xd0 arch/x86/kernel/head64.c:536
secondary_startup_64_no_verify+0x179/0x17b
-> #3 (&p->pi_lock){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:523 [inline]
try_to_wake_up+0x5b/0x10e0 kernel/sched/core.c:4244
__wake_up_common+0x28e/0x4d0 kernel/sched/wait.c:107
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x125/0x1a0 kernel/sched/wait.c:160
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x6a2/0x8b0 drivers/tty/serial/8250/8250_port.c:1837
serial8250_handle_irq+0x6c3/0x8c0 drivers/tty/serial/8250/8250_port.c:1951
serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1971
serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127
__handle_irq_event_percpu+0x271/0x940 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+0x246/0xb20 kernel/irq/chip.c:831
generic_handle_irq_desc include/linux/irqdesc.h:161 [inline]
handle_irq arch/x86/kernel/irq.c:240 [inline]
__common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259
common_interrupt+0x5d/0xd0 arch/x86/kernel/irq.c:249
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678
native_irq_enable arch/x86/include/asm/irqflags.h:-1 [inline]
arch_local_irq_enable arch/x86/include/asm/irqflags.h:99 [inline]
handle_softirqs+0x1ab/0x820 kernel/softirq.c:562
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
pv_native_safe_halt+0xf/0x10 arch/x86/kernel/paravirt.c:147
arch_safe_halt arch/x86/include/asm/paravirt.h:108 [inline]
default_idle+0x13/0x20 arch/x86/kernel/process.c:753
default_idle_call+0x6c/0xa0 kernel/sched/idle.c:97
cpuidle_idle_call kernel/sched/idle.c:178 [inline]
do_idle+0x334/0x5c0 kernel/sched/idle.c:302
cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:401
start_secondary+0xee/0xf0 arch/x86/kernel/smpboot.c:323
secondary_startup_64_no_verify+0x179/0x17b
-> #2 (&tty->write_wait){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:137 [inline]
__wake_up+0x10b/0x1a0 kernel/sched/wait.c:160
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x6a2/0x8b0 drivers/tty/serial/8250/8250_port.c:1837
serial8250_handle_irq+0x6c3/0x8c0 drivers/tty/serial/8250/8250_port.c:1951
serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1971
serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127
__handle_irq_event_percpu+0x271/0x940 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+0x246/0xb20 kernel/irq/chip.c:831
generic_handle_irq_desc include/linux/irqdesc.h:161 [inline]
handle_irq arch/x86/kernel/irq.c:240 [inline]
__common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259
common_interrupt+0x5d/0xd0 arch/x86/kernel/irq.c:249
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678
native_irq_enable arch/x86/include/asm/irqflags.h:-1 [inline]
arch_local_irq_enable arch/x86/include/asm/irqflags.h:99 [inline]
handle_softirqs+0x1ab/0x820 kernel/softirq.c:562
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
pv_native_safe_halt+0xf/0x10 arch/x86/kernel/paravirt.c:147
arch_safe_halt arch/x86/include/asm/paravirt.h:108 [inline]
default_idle+0x13/0x20 arch/x86/kernel/process.c:753
default_idle_call+0x6c/0xa0 kernel/sched/idle.c:97
cpuidle_idle_call kernel/sched/idle.c:178 [inline]
do_idle+0x334/0x5c0 kernel/sched/idle.c:302
cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:401
start_secondary+0xee/0xf0 arch/x86/kernel/smpboot.c:323
secondary_startup_64_no_verify+0x179/0x17b
-> #1 (&port_lock_key){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162
serial8250_console_write+0x181/0x18b0 drivers/tty/serial/8250/8250_port.c:3446
console_emit_next_record kernel/printk/printk.c:2944 [inline]
console_flush_all+0x6ad/0xcf0 kernel/printk/printk.c:3000
console_unlock+0xad/0x350 kernel/printk/printk.c:3069
vprintk_emit+0x497/0x610 kernel/printk/printk.c:2341
_printk+0xde/0x130 kernel/printk/printk.c:2366
register_console+0xb96/0xf00 kernel/printk/printk.c:3583
univ8250_console_init+0x45/0x50 drivers/tty/serial/8250/8250_core.c:717
console_init+0x17b/0x5d0 kernel/printk/printk.c:3726
start_kernel+0x2c8/0x4e0 init/main.c:987
x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
copy_bootdata+0x0/0xd0 arch/x86/kernel/head64.c:536
secondary_startup_64_no_verify+0x179/0x17b
-> #0 (console_owner){-...}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3162 [inline]
check_prevs_add kernel/locking/lockdep.c:3281 [inline]
validate_chain kernel/locking/lockdep.c:3897 [inline]
__lock_acquire+0x3a07/0x7eb0 kernel/locking/lockdep.c:5171
lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5790
console_lock_spinning_enable kernel/printk/printk.c:1871 [inline]
console_emit_next_record kernel/printk/printk.c:2938 [inline]
console_flush_all+0x676/0xcf0 kernel/printk/printk.c:3000
console_unlock+0xad/0x350 kernel/printk/printk.c:3069
vprintk_emit+0x497/0x610 kernel/printk/printk.c:2341
_printk+0xde/0x130 kernel/printk/printk.c:2366
__report_bug lib/bug.c:195 [inline]
report_bug+0x34e/0x4f0 lib/bug.c:219
handle_bug+0xcf/0x120 arch/x86/kernel/traps.c:310
exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:345
asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:606
update_rq_clock+0x32e/0x4b0 kernel/sched/core.c:783
pick_next_task kernel/sched/core.c:6200 [inline]
__schedule+0x2cb2/0x4720 kernel/sched/core.c:6684
preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032
irqentry_exit+0x67/0x70 kernel/entry/common.c:441
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:694
check_kcov_mode kernel/kcov.c:178 [inline]
__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:212
fatal_signal_pending include/linux/sched/signal.h:434 [inline]
__get_user_pages+0x513/0x1580 mm/gup.c:1159
__get_user_pages_locked mm/gup.c:1431 [inline]
get_dump_page+0x10c/0x200 mm/gup.c:1939
dump_user_range+0x12c/0x7c0 fs/coredump.c:983
elf_core_dump+0x320e/0x37c0 fs/binfmt_elf.c:2184
do_coredump+0x19b8/0x2960 fs/coredump.c:834
get_signal+0x10da/0x1390 kernel/signal.c:2913
arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
irqentry_exit_to_user_mode+0x9/0x30 kernel/entry/common.c:318
exc_page_fault+0x8c/0x100 arch/x86/mm/fault.c:1519
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
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 ***
5 locks held by syz.2.1769/12994:
#0: ffff888078ff6418 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x198b/0x2960 fs/coredump.c:833
#1: ffff888025e027a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:155 [inline]
#1: ffff888025e027a0 (&mm->mmap_lock){++++}-{3:3}, at: __get_user_pages_locked mm/gup.c:1406 [inline]
#1: ffff888025e027a0 (&mm->mmap_lock){++++}-{3:3}, at: get_dump_page+0xb6/0x200 mm/gup.c:1939
#2: ffff8880b8c3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x9c/0x130 kernel/sched/core.c:578
#3: ffffffff8e126720 (console_lock){+.+.}-{0:0}, at: _printk+0xde/0x130 kernel/printk/printk.c:2366
#4: ffffffff8e00df30 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline]
#4: ffffffff8e00df30 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline]
#4: ffffffff8e00df30 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline]
#4: ffffffff8e00df30 (console_srcu){....}-{0:0}, at: console_flush_all+0x10b/0xcf0 kernel/printk/printk.c:2992
stack backtrace:
CPU: 0 PID: 12994 Comm: syz.2.1769 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
check_noncircular+0x2fc/0x400 kernel/locking/lockdep.c:2215
check_prev_add kernel/locking/lockdep.c:3162 [inline]
check_prevs_add kernel/locking/lockdep.c:3281 [inline]
validate_chain kernel/locking/lockdep.c:3897 [inline]
__lock_acquire+0x3a07/0x7eb0 kernel/locking/lockdep.c:5171
lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5790
console_lock_spinning_enable kernel/printk/printk.c:1871 [inline]
console_emit_next_record kernel/printk/printk.c:2938 [inline]
console_flush_all+0x676/0xcf0 kernel/printk/printk.c:3000
console_unlock+0xad/0x350 kernel/printk/printk.c:3069
vprintk_emit+0x497/0x610 kernel/printk/printk.c:2341
_printk+0xde/0x130 kernel/printk/printk.c:2366
__report_bug lib/bug.c:195 [inline]
report_bug+0x34e/0x4f0 lib/bug.c:219
handle_bug+0xcf/0x120 arch/x86/kernel/traps.c:310
exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:345
asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:606
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1371 [inline]
RIP: 0010:update_rq_clock+0x32e/0x4b0 kernel/sched/core.c:767
Code: 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 a0 83 00 48 01 2b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e9 62 fd ff ff 48 89 df 48 83 c4 08 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc90004f46e60 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880b8d3c240 RCX: 9dbc21bbf32a7f00
RDX: 0000000000000003 RSI: ffffffff8aeae2c0 RDI: ffffffff8b3c5260
RBP: ffffc90004f470b0 R08: ffffffff8f8dda6f R09: 1ffffffff1f1bb4d
R10: dffffc0000000000 R11: fffffbfff1f1bb4e R12: ffffffff8ccbca38
R13: dffffc0000000000 R14: ffff8880b8d3cf88 R15: ffff8880b8d3c240
pick_next_task kernel/sched/core.c:6200 [inline]
__schedule+0x2cb2/0x4720 kernel/sched/core.c:6684
preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032
irqentry_exit+0x67/0x70 kernel/entry/common.c:441
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:694
RIP: 0010:check_kcov_mode kernel/kcov.c:180 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:212
Code: 04 24 65 48 8b 0d 50 d9 7b 7e 65 8b 15 51 d9 7b 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 24 16 00 00 00 74 2c <8b> 91 00 16 00 00 83 fa 02 75 21 48 8b 91 08 16 00 00 48 8b 32 48
RSP: 0018:ffffc90004f47238 EFLAGS: 00000246
RAX: ffffffff81c952c3 RBX: 0000000000000000 RCX: ffff888029c05a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004f473b0 R08: ffff888029c05a07 R09: 1ffff11005380b40
R10: dffffc0000000000 R11: ffffed1005380b41 R12: ffff88806b2ac300
R13: ffff888029c06350 R14: ffff888029c05a00 R15: 000000000000000e
fatal_signal_pending include/linux/sched/signal.h:434 [inline]
__get_user_pages+0x513/0x1580 mm/gup.c:1159
__get_user_pages_locked mm/gup.c:1431 [inline]
get_dump_page+0x10c/0x200 mm/gup.c:1939
dump_user_range+0x12c/0x7c0 fs/coredump.c:983
elf_core_dump+0x320e/0x37c0 fs/binfmt_elf.c:2184
do_coredump+0x19b8/0x2960 fs/coredump.c:834
get_signal+0x10da/0x1390 kernel/signal.c:2913
arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
irqentry_exit_to_user_mode+0x9/0x30 kernel/entry/common.c:318
exc_page_fault+0x8c/0x100 arch/x86/mm/fault.c:1519
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f15017a8fe1
Code: 00 00 00 00 0f 1f 44 00 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 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffe70 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f1501a26090 RCX: 00007f15017a8fd9
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f1501837fed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f1501a26128 R14: 00007f1501a26090 R15: 00007ffe30935cc8
WARNING: CPU: 0 PID: 12994 at kernel/sched/sched.h:1371 update_rq_clock+0x32e/0x4b0 kernel/sched/core.c:783
Modules linked in:
CPU: 0 PID: 12994 Comm: syz.2.1769 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1371 [inline]
RIP: 0010:update_rq_clock+0x32e/0x4b0 kernel/sched/core.c:767
Code: 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 a0 83 00 48 01 2b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e9 62 fd ff ff 48 89 df 48 83 c4 08 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc90004f46e60 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880b8d3c240 RCX: 9dbc21bbf32a7f00
RDX: 0000000000000003 RSI: ffffffff8aeae2c0 RDI: ffffffff8b3c5260
RBP: ffffc90004f470b0 R08: ffffffff8f8dda6f R09: 1ffffffff1f1bb4d
R10: dffffc0000000000 R11: fffffbfff1f1bb4e R12: ffffffff8ccbca38
R13: dffffc0000000000 R14: ffff8880b8d3cf88 R15: ffff8880b8d3c240
FS: 00007f15026fc6c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8e731556c8 CR3: 000000005e2f5000 CR4: 00000000003506f0
Call Trace:
pick_next_task kernel/sched/core.c:6200 [inline]
__schedule+0x2cb2/0x4720 kernel/sched/core.c:6684
preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032
irqentry_exit+0x67/0x70 kernel/entry/common.c:441
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:694
RIP: 0010:check_kcov_mode kernel/kcov.c:180 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:212
Code: 04 24 65 48 8b 0d 50 d9 7b 7e 65 8b 15 51 d9 7b 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 24 16 00 00 00 74 2c <8b> 91 00 16 00 00 83 fa 02 75 21 48 8b 91 08 16 00 00 48 8b 32 48
RSP: 0018:ffffc90004f47238 EFLAGS: 00000246
RAX: ffffffff81c952c3 RBX: 0000000000000000 RCX: ffff888029c05a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004f473b0 R08: ffff888029c05a07 R09: 1ffff11005380b40
R10: dffffc0000000000 R11: ffffed1005380b41 R12: ffff88806b2ac300
R13: ffff888029c06350 R14: ffff888029c05a00 R15: 000000000000000e
fatal_signal_pending include/linux/sched/signal.h:434 [inline]
__get_user_pages+0x513/0x1580 mm/gup.c:1159
__get_user_pages_locked mm/gup.c:1431 [inline]
get_dump_page+0x10c/0x200 mm/gup.c:1939
dump_user_range+0x12c/0x7c0 fs/coredump.c:983
elf_core_dump+0x320e/0x37c0 fs/binfmt_elf.c:2184
do_coredump+0x19b8/0x2960 fs/coredump.c:834
get_signal+0x10da/0x1390 kernel/signal.c:2913
arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
irqentry_exit_to_user_mode+0x9/0x30 kernel/entry/common.c:318
exc_page_fault+0x8c/0x100 arch/x86/mm/fault.c:1519
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f15017a8fe1
Code: 00 00 00 00 0f 1f 44 00 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 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffe70 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f1501a26090 RCX: 00007f15017a8fd9
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f1501837fed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f1501a26128 R14: 00007f1501a26090 R15: 00007ffe30935cc8
----------------
Code disassembly (best guess):
0: 04 24 add $0x24,%al
2: 65 48 8b 0d 50 d9 7b mov %gs:0x7e7bd950(%rip),%rcx # 0x7e7bd95a
9: 7e
a: 65 8b 15 51 d9 7b 7e mov %gs:0x7e7bd951(%rip),%edx # 0x7e7bd962
11: 81 e2 00 01 ff 00 and $0xff0100,%edx
17: 74 11 je 0x2a
19: 81 fa 00 01 00 00 cmp $0x100,%edx
1f: 75 35 jne 0x56
21: 83 b9 24 16 00 00 00 cmpl $0x0,0x1624(%rcx)
28: 74 2c je 0x56
* 2a: 8b 91 00 16 00 00 mov 0x1600(%rcx),%edx <-- trapping instruction
30: 83 fa 02 cmp $0x2,%edx
33: 75 21 jne 0x56
35: 48 8b 91 08 16 00 00 mov 0x1608(%rcx),%rdx
3c: 48 8b 32 mov (%rdx),%rsi
3f: 48 rex.W