general protection fault in copy_page_range

13 views
Skip to first unread message

syzbot

unread,
Sep 20, 2020, 2:52:14 PM9/20/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: fc4f28bb Merge tag 'for-5.9-rc5-tag' of git://git.kernel.o..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11e2c58b900000
kernel config: https://syzkaller.appspot.com/x/.config?x=993a2a46a24f47e3
dashboard link: https://syzkaller.appspot.com/bug?extid=9948b95abb8683262e2d
compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81)
CC: [ak...@linux-foundation.org chri...@brauner.io chri...@kellner.me kees...@chromium.org linux-...@vger.kernel.org lu...@amacapital.net mi...@kernel.org pet...@infradead.org shak...@google.com w...@chromium.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9948b9...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0011212328: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000089091940-0x0000000089091947]
CPU: 0 PID: 13009 Comm: syz-executor.0 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:strlen+0x27/0x60 lib/string.c:544
Code: 44 00 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 00 fc ff df 48 89 fb 90 66 2e 0f 1f 84 00 00 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 0b 80 3b 00 48 8d 5b 01 75 e7 eb 13 89 d9
RSP: 0018:ffffc900094e7830 EFLAGS: 00010206
RAX: 0000000011212328 RBX: 0000000089091942 RCX: ffffffff815a32e4
RDX: ffffffff81a53477 RSI: ffff888000104258 RDI: 0000000089091942
RBP: ffffc900094e78c0 R08: dffffc0000000000 R09: fffffbfff131e2d6
R10: fffffbfff131e2d6 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffffff894fb740 R14: 0000000089091942 R15: dffffc0000000000
FS: 0000000002958940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a3b73 CR3: 000000000dc85000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline]
perf_trace_lock+0x67/0x360 include/trace/events/lock.h:39
trace_lock_release+0xc5/0x1a0 include/trace/events/lock.h:58
lock_release+0x31/0x750 kernel/locking/lockdep.c:5017
__raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline]
_raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:183
spin_unlock include/linux/spinlock.h:394 [inline]
copy_pte_range mm/memory.c:862 [inline]
copy_pmd_range mm/memory.c:905 [inline]
copy_pud_range mm/memory.c:939 [inline]
copy_p4d_range mm/memory.c:961 [inline]
copy_page_range+0x23c7/0x2950 mm/memory.c:1023
dup_mmap+0x982/0xd60 kernel/fork.c:592
dup_mm+0x98/0x320 kernel/fork.c:1354
copy_mm kernel/fork.c:1410 [inline]
copy_process+0x1fdc/0x5200 kernel/fork.c:2069
_do_fork+0x1ab/0x6d0 kernel/fork.c:2428
__do_sys_clone kernel/fork.c:2545 [inline]
__se_sys_clone kernel/fork.c:2529 [inline]
__x64_sys_clone+0x1e9/0x230 kernel/fork.c:2529
do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45bbca
Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00
RSP: 002b:00007fff4f030c90 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fff4f030c90 RCX: 000000000045bbca
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fff4f030cd0 R08: 0000000000000001 R09: 0000000002958940
R10: 0000000002958c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff4f030d20
Modules linked in:
---[ end trace 9a99d793239a6823 ]---
RIP: 0010:strlen+0x27/0x60 lib/string.c:544
Code: 44 00 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 00 fc ff df 48 89 fb 90 66 2e 0f 1f 84 00 00 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 0b 80 3b 00 48 8d 5b 01 75 e7 eb 13 89 d9
RSP: 0018:ffffc900094e7830 EFLAGS: 00010206
RAX: 0000000011212328 RBX: 0000000089091942 RCX: ffffffff815a32e4
RDX: ffffffff81a53477 RSI: ffff888000104258 RDI: 0000000089091942
RBP: ffffc900094e78c0 R08: dffffc0000000000 R09: fffffbfff131e2d6
R10: fffffbfff131e2d6 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffffff894fb740 R14: 0000000089091942 R15: dffffc0000000000
FS: 0000000002958940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a3b73 CR3: 000000000dc85000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 15, 2020, 1:47:08 PM12/15/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages