syzbot


BUG: unable to handle kernel paging request in copy_huge_pmd

Status: fixed on 2018/08/22 06:46
Fix commit: x86/mm: Simplify p[g4um]d_page() macros
First crash: 2290d, last: 2284d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 BUG: unable to handle kernel paging request in copy_huge_pmd C 433 2284d 2290d 3/3 fixed on 2018/08/22 06:57

Sample crash report:
BUG: unable to handle kernel paging request at ffffeafff8d20000
IP: [<ffffffff815086f5>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
IP: [<ffffffff815086f5>] PageHead include/linux/page-flags.h:396 [inline]
IP: [<ffffffff815086f5>] copy_huge_pmd+0x235/0x710 mm/huge_memory.c:968
PGD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 8044 Comm: syz-executor589 Not tainted 4.4.148-gf057ff9 #81
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d1bdb000 task.stack: ffff8801d1920000
RIP: 0010:[<ffffffff815086f5>]  [<ffffffff815086f5>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
RIP: 0010:[<ffffffff815086f5>]  [<ffffffff815086f5>] PageHead include/linux/page-flags.h:396 [inline]
RIP: 0010:[<ffffffff815086f5>]  [<ffffffff815086f5>] copy_huge_pmd+0x235/0x710 mm/huge_memory.c:968
RSP: 0018:ffff8801d1927a00  EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffeafff8d20000 RCX: 00003fffffe00000
RDX: 1ffffd5fff1a4000 RSI: ffffffff815086cf RDI: 00003ffe348001e0
RBP: ffff8801d1927a70 R08: ffffffff853f0840 R09: 0000000000000000
R10: 0000000000000001 R11: ffff8801d1bdb000 R12: ffff8800b7b12800
R13: ffff8801ce435400 R14: ffffea0000000000 R15: 00003ffe348001e0
FS:  00007f119a63d700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffeafff8d20000 CR3: 00000000b1873000 CR4: 00000000001606f0
Stack:
 00003ffe348001e0 0000000000000080 ffff8800b5850500 ffff8801d4992c60
 ffff8800b67c8738 ffff8801d4e7f800 ffffea0007397780 00000000d1bdb8e0
 0000000020000000 ffff8800b7b12800 ffff8800b7b12800 dffffc0000000000
Call Trace:
 [<ffffffff8149bdb1>] copy_pmd_range mm/memory.c:1007 [inline]
 [<ffffffff8149bdb1>] copy_pud_range mm/memory.c:1039 [inline]
 [<ffffffff8149bdb1>] copy_page_range+0x721/0x1480 mm/memory.c:1101
 [<ffffffff8112df03>] dup_mmap kernel/fork.c:517 [inline]
 [<ffffffff8112df03>] dup_mm kernel/fork.c:985 [inline]
 [<ffffffff8112df03>] copy_mm kernel/fork.c:1039 [inline]
 [<ffffffff8112df03>] copy_process+0x3f03/0x63f0 kernel/fork.c:1507
 [<ffffffff81130806>] _do_fork+0x146/0xe20 kernel/fork.c:1788
 [<ffffffff811315b7>] SYSC_clone kernel/fork.c:1899 [inline]
 [<ffffffff811315b7>] SyS_clone+0x37/0x50 kernel/fork.c:1893
 [<ffffffff838ca6a5>] entry_SYSCALL_64_fastpath+0x22/0x9e
Code: e8 71 b8 e4 ff 48 23 5d 90 48 b8 00 00 00 00 00 fc ff df 48 c1 eb 06 4c 01 f3 48 89 da 48 c1 ea 03 80 3c 02 00 0f 85 3f 04 00 00 <48> 8b 03 f6 c4 40 0f 84 79 03 00 00 e8 3a b8 e4 ff 48 8d 7b 20 
RIP  [<ffffffff815086f5>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
RIP  [<ffffffff815086f5>] PageHead include/linux/page-flags.h:396 [inline]
RIP  [<ffffffff815086f5>] copy_huge_pmd+0x235/0x710 mm/huge_memory.c:968
 RSP <ffff8801d1927a00>
CR2: ffffeafff8d20000
---[ end trace 2e0c7b82525af853 ]---

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/16 17:14 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report syz C ci-android-44-kasan-gce
2018/08/16 10:32 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report syz C ci-android-44-kasan-gce-386
2018/08/21 17:15 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 04:00 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/20 15:23 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/20 09:05 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/20 01:22 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/19 03:30 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce
2018/08/18 07:25 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce
2018/08/17 21:05 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce
2018/08/15 18:19 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce
2018/08/22 03:49 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/22 00:37 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 23:24 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 16:01 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 14:28 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 10:14 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 09:03 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/20 22:09 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/20 07:53 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 06:30 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 04:04 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 00:35 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 00:31 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/19 07:25 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce-386
2018/08/19 03:31 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce-386
2018/08/18 23:37 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce-386
2018/08/18 17:28 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 13:02 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 12:53 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 09:16 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 05:10 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/17 22:21 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce-386
2018/08/17 21:03 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce-386
2018/08/17 13:04 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/17 07:25 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/17 03:58 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/17 03:46 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/17 03:32 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/17 01:56 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/16 21:42 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/16 21:17 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/16 20:54 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.