syzbot


BUG: unable to handle kernel paging request in __split_huge_page_pmd

Status: fixed on 2018/08/22 06:46
Fix commit: x86/mm: Simplify p[g4um]d_page() macros
First crash: 2241d, last: 2235d

Sample crash report:
BUG: unable to handle kernel paging request at ffffeafff9218020
IP: [<ffffffff8150e8f8>] __read_once_size include/linux/compiler.h:218 [inline]
IP: [<ffffffff8150e8f8>] compound_head include/linux/page-flags.h:415 [inline]
IP: [<ffffffff8150e8f8>] page_count include/linux/mm.h:470 [inline]
IP: [<ffffffff8150e8f8>] __split_huge_page_pmd+0x2c8/0x820 mm/huge_memory.c:3029
PGD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 7441 Comm: syz-executor2 Not tainted 4.4.150-g5541782 #83
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801bb728000 task.stack: ffff8801c7fe0000
RIP: 0010:[<ffffffff8150e8f8>]  [<ffffffff8150e8f8>] __read_once_size include/linux/compiler.h:218 [inline]
RIP: 0010:[<ffffffff8150e8f8>]  [<ffffffff8150e8f8>] compound_head include/linux/page-flags.h:415 [inline]
RIP: 0010:[<ffffffff8150e8f8>]  [<ffffffff8150e8f8>] page_count include/linux/mm.h:470 [inline]
RIP: 0010:[<ffffffff8150e8f8>]  [<ffffffff8150e8f8>] __split_huge_page_pmd+0x2c8/0x820 mm/huge_memory.c:3029
RSP: 0018:ffff8801c7fe79f8  EFLAGS: 00010246
RAX: 1ffffd5fff243004 RBX: ffffeafff9218020 RCX: ffffc90002649000
RDX: 00000000000000c7 RSI: ffffffff8150e8c0 RDI: 00003ffe486001e0
RBP: ffff8801c7fe7b00 R08: ffffffff8533b500 R09: 0000000000000000
R10: 0000000000000001 R11: ffff8801bb728000 R12: ffffeafff9218000
R13: dffffc0000000000 R14: ffff8800bb8c1800 R15: ffff8800bb8c1800
FS:  00007fb00e184700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffeafff9218020 CR3: 00000000aec46000 CR4: 00000000001606f0
Stack:
 ffffffff814b30fb ffff8801bb728920 ffffffff853d1f10 fffffbfff0882602
 ffff8801bb7288d8 ffff8801bb728928 ffff8801bb7288e0 ffff8800ad288580
 1ffff10038ffcf4f ffff88013b8c1000 0000000000000000 0000000020200000
Call Trace:
 [<ffffffff815104aa>] split_huge_page_pmd_mm+0x7a/0x90 mm/huge_memory.c:3058
 [<ffffffff81510691>] split_huge_page_address+0x1d1/0x220 mm/huge_memory.c:3085
 [<ffffffff815108c6>] vma_adjust_trans_huge+0x1e6/0x2c0 mm/huge_memory.c:3101
 [<ffffffff814ab4b0>] vma_adjust+0xd50/0x13d0 mm/mmap.c:833
 [<ffffffff814abf92>] __split_vma.isra.40+0x462/0x750 mm/mmap.c:2581
 [<ffffffff814b30fb>] split_vma+0x5b/0x80 mm/mmap.c:2613
 [<ffffffff814b6f67>] mprotect_fixup+0x6a7/0x8d0 mm/mprotect.c:355
 [<ffffffff814b7483>] SYSC_mprotect mm/mprotect.c:476 [inline]
 [<ffffffff814b7483>] SyS_mprotect+0x2f3/0x640 mm/mprotect.c:397
 [<ffffffff838cb0a5>] entry_SYSCALL_64_fastpath+0x22/0x9e
Code: 48 c1 eb 06 48 01 d8 48 8d 58 20 48 89 85 68 ff ff ff 48 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 fd 04 00 00 4c 8b a5 68 ff ff ff <4d> 8b 74 24 20 41 f6 c6 01 0f 85 b1 03 00 00 e8 d4 5b e4 ff 49 
RIP  [<ffffffff8150e8f8>] __read_once_size include/linux/compiler.h:218 [inline]
RIP  [<ffffffff8150e8f8>] compound_head include/linux/page-flags.h:415 [inline]
RIP  [<ffffffff8150e8f8>] page_count include/linux/mm.h:470 [inline]
RIP  [<ffffffff8150e8f8>] __split_huge_page_pmd+0x2c8/0x820 mm/huge_memory.c:3029
 RSP <ffff8801c7fe79f8>
CR2: ffffeafff9218020
---[ end trace 8ee8e3806b1b821c ]---

Crashes (74):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/22 04:27 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 17:26 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 16:05 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 13:01 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 09:25 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 01:40 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/20 18:36 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/20 10:53 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/19 12:23 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/19 03:44 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce
2018/08/18 20:51 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce
2018/08/18 20:01 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce
2018/08/18 18:47 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce
2018/08/18 18:18 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce
2018/08/18 13:55 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce
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
2018/08/18 10:25 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce
2018/08/17 23:04 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce
2018/08/17 20:04 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce
2018/08/17 17:18 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 738da825 .config console log report ci-android-44-kasan-gce
2018/08/15 17:49 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce
2018/08/22 01:22 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 19:19 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:11 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 11:45 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 05:41 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/21 00:33 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:34 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/20 16:17 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:28 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 05:24 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/20 03:46 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/19 21:51 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/19 17:13 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/19 09:15 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce-386
2018/08/18 20:55 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb de20bcbb .config console log report ci-android-44-kasan-gce-386
2018/08/18 18:17 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 17:13 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 10:21 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/18 06:27 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d db1858f6 .config console log report ci-android-44-kasan-gce-386
2018/08/17 21:40 https://android.googlesource.com/kernel/common android-4.4 f76bdbdd516d 738da825 .config console log report ci-android-44-kasan-gce-386
2018/08/17 17:44 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 738da825 .config console log report ci-android-44-kasan-gce-386
2018/08/17 17:17 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 738da825 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.