syzbot


BUG: unable to handle kernel paging request in copy_huge_pmd

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

Sample crash report:
BUG: unable to handle kernel paging request at ffffeafff8f08000
IP: [<ffffffff8154a430>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
IP: [<ffffffff8154a430>] PageHead include/linux/page-flags.h:473 [inline]
IP: [<ffffffff8154a430>] copy_huge_pmd+0x260/0x550 mm/huge_memory.c:854
PGD 0 [   36.351569] 
Oops: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 6191 Comm: syz-executor166 Not tainted 4.9.120-gf85543b #28
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d4994800 task.stack: ffff8801d4a60000
RIP: 0010:[<ffffffff8154a430>]  [<ffffffff8154a430>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
RIP: 0010:[<ffffffff8154a430>]  [<ffffffff8154a430>] PageHead include/linux/page-flags.h:473 [inline]
RIP: 0010:[<ffffffff8154a430>]  [<ffffffff8154a430>] copy_huge_pmd+0x260/0x550 mm/huge_memory.c:854
RSP: 0018:ffff8801d4a679d8  EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffeafff8f08000 RCX: 0000000000000000
RDX: 1ffffd5fff1e1000 RSI: ffffffff8154a3f5 RDI: 00003ffe3c2001e0
RBP: ffff8801d4a67a30 R08: ffffffff855f2a20 R09: 0000000000000001
R10: ffff8801d4994800 R11: ffff8801d4a676f7 R12: ffff8801d4aeef40
R13: ffff8801da2fd800 R14: 00003ffe3c2001e0 R15: ffff8801d9043800
FS:  0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f7762b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffeafff8f08000 CR3: 00000001da0e6000 CR4: 00000000001606f0
Stack:
 00003ffe3c2001e0 ffff8801d8a66898 ffff8801d84a2370 ffffea00072df900
 00003fffffe00000 0000000020000000 ffff8801d9043800 ffff8801d9043800
 00000001d9043067 000000003fffffff dffffc0000000000 ffff8801d4a67bf8
Call Trace:
 [<ffffffff814cf17e>] copy_pmd_range mm/memory.c:1003 [inline]
 [<ffffffff814cf17e>] copy_pud_range mm/memory.c:1035 [inline]
 [<ffffffff814cf17e>] copy_page_range+0x71e/0x19f0 mm/memory.c:1097
 [<ffffffff8113315b>] dup_mmap kernel/fork.c:674 [inline]
 [<ffffffff8113315b>] dup_mm kernel/fork.c:1156 [inline]
 [<ffffffff8113315b>] copy_mm kernel/fork.c:1210 [inline]
 [<ffffffff8113315b>] copy_process.part.51+0x3d6b/0x6330 kernel/fork.c:1678
 [<ffffffff81135ba0>] copy_process kernel/fork.c:1503 [inline]
 [<ffffffff81135ba0>] _do_fork+0x1b0/0xdd0 kernel/fork.c:1963
 [<ffffffff81136897>] SYSC_clone kernel/fork.c:2075 [inline]
 [<ffffffff81136897>] SyS_clone+0x37/0x50 kernel/fork.c:2069
 [<ffffffff81006da7>] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline]
 [<ffffffff81006da7>] do_fast_syscall_32+0x2f7/0x870 arch/x86/entry/common.c:387
 [<ffffffff83a013d0>] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137
Code: 00 ea ff ff 48 23 45 c8 48 c1 e8 06 48 8d 1c 10 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 80 3c 02 00 0f 85 4c 02 00 00 <48> 8b 03 f6 c4 40 0f 84 c7 01 00 00 e8 af 63 e1 ff 48 8d 7b 20 
RIP  [<ffffffff8154a430>] constant_test_bit arch/x86/include/asm/bitops.h:311 [inline]
RIP  [<ffffffff8154a430>] PageHead include/linux/page-flags.h:473 [inline]
RIP  [<ffffffff8154a430>] copy_huge_pmd+0x260/0x550 mm/huge_memory.c:854
 RSP <ffff8801d4a679d8>
CR2: ffffeafff8f08000
---[ end trace 2230ed0f58b5be13 ]---

Crashes (433):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/16 01:39 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 9ccc1d45 .config console log report syz C ci-android-49-kasan-gce-386
2018/08/22 06:33 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/22 05:03 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/22 03:58 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/22 00:43 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 23:29 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 21:58 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 20:56 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 18:58 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 17:43 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 15:34 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 14:18 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 13:08 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 10:43 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 08:05 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 06:49 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 05:46 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 01:22 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/21 00:27 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/20 22:21 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-root
2018/08/20 21:19 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/20 20:18 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/20 19:15 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce
2018/08/20 18:20 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 15:48 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 14:46 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 12:59 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 11:47 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 10:31 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 07:37 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 06:29 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 05:27 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce
2018/08/20 04:38 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce-root
2018/08/15 17:30 https://android.googlesource.com/kernel/common android-4.9 f85543ba3c54 9ccc1d45 .config console log report ci-android-49-kasan-gce
2018/08/22 02:49 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/22 00:34 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 20:05 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 15:27 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 12:03 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 09:23 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 05:04 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 03:45 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/21 02:41 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 95b5c82b .config console log report ci-android-49-kasan-gce-386
2018/08/20 16:51 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce-386
2018/08/20 09:05 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce-386
2018/08/20 03:05 https://android.googlesource.com/kernel/common android-4.9 54068d61e7d8 2dc4378f .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.