syzbot


WARNING in __alloc_pages_slowpath (3)

Status: fixed on 2018/03/03 09:02
Fix commit: f67385227a42 ANDROID: keychord: Check for write data size
First crash: 2471d, last: 2467d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __alloc_pages_slowpath 1 1668d 1668d 0/1 auto-closed as invalid on 2020/09/07 23:19
android-49 WARNING in __alloc_pages_slowpath C 2412 2589d 2664d 1/3 fixed on 2017/11/01 08:08
android-49 WARNING in __alloc_pages_slowpath (2) C 10224 2471d 2589d 0/3 closed as invalid on 2018/02/27 22:58
upstream WARNING in __alloc_pages_slowpath mm C 9435 2496d 2525d 4/28 fixed on 2018/02/04 23:45
android-49 WARNING in __alloc_pages_slowpath (4) C 4341 2288d 2063d 0/3 public: reported C repro on 2019/04/11 08:44

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3800 at mm/page_alloc.c:3544 __alloc_pages_slowpath+0x1136/0x1d90 mm/page_alloc.c:3544
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 3800 Comm: syzkaller510881 Not tainted 4.9.84-ge7f51a5 #53
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d745f668 ffffffff81d956b9 ffffffff83a480c0 ffff8801d745f740
 ffffffff83aa5400 ffffffff81452f46 0000000000000009 ffff8801d745f730
 ffffffff8142f571 0000000041b58ab3 ffffffff8418b2c0 ffffffff8142f3b5
Call Trace:
 [<ffffffff81d956b9>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d956b9>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8142f571>] panic+0x1bc/0x3a8 kernel/panic.c:179
 [<ffffffff811311c4>] __warn+0x1c4/0x1e0 kernel/panic.c:542
 [<ffffffff8113142c>] warn_slowpath_null+0x2c/0x40 kernel/panic.c:585
 [<ffffffff81452f46>] __alloc_pages_slowpath+0x1136/0x1d90 mm/page_alloc.c:3544
 [<ffffffff81453edb>] __alloc_pages_nodemask+0x33b/0x6b0 mm/page_alloc.c:3851
 [<ffffffff814a76ba>] __alloc_pages include/linux/gfp.h:433 [inline]
 [<ffffffff814a76ba>] __alloc_pages_node include/linux/gfp.h:446 [inline]
 [<ffffffff814a76ba>] alloc_pages_node include/linux/gfp.h:460 [inline]
 [<ffffffff814a76ba>] kmalloc_order+0x2a/0x70 mm/slab_common.c:1043
 [<ffffffff814a771f>] kmalloc_order_trace+0x1f/0x190 mm/slab_common.c:1054
 [<ffffffff815398bd>] kmalloc_large include/linux/slab.h:422 [inline]
 [<ffffffff815398bd>] __kmalloc+0x19d/0x310 mm/slub.c:3730
 [<ffffffff82a7d06e>] kmalloc include/linux/slab.h:495 [inline]
 [<ffffffff82a7d06e>] kzalloc include/linux/slab.h:636 [inline]
 [<ffffffff82a7d06e>] keychord_write+0xce/0xbc0 drivers/input/misc/keychord.c:281
 [<ffffffff8156e5f3>] __vfs_write+0x103/0x680 fs/read_write.c:510
 [<ffffffff815702d9>] vfs_write+0x189/0x530 fs/read_write.c:560
 [<ffffffff81573dc9>] SYSC_write fs/read_write.c:607 [inline]
 [<ffffffff81573dc9>] SyS_write+0xd9/0x1b0 fs/read_write.c:599
 [<ffffffff81006f95>] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline]
 [<ffffffff81006f95>] do_fast_syscall_32+0x2f5/0x870 arch/x86/entry/common.c:387
 [<ffffffff838b6b10>] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (547):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/27 23:16 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report syz C ci-android-49-kasan-gce-386
2018/03/03 08:28 https://android.googlesource.com/kernel/common android-4.9 f67385227a42 2c6f473e .config console log report ci-android-49-kasan-gce
2018/03/03 04:44 https://android.googlesource.com/kernel/common android-4.9 f67385227a42 2c6f473e .config console log report ci-android-49-kasan-gce
2018/03/03 02:40 https://android.googlesource.com/kernel/common android-4.9 f67385227a42 2c6f473e .config console log report ci-android-49-kasan-gce
2018/03/03 00:10 https://android.googlesource.com/kernel/common android-4.9 f67385227a42 2c6f473e .config console log report ci-android-49-kasan-gce
2018/02/28 23:35 https://android.googlesource.com/kernel/common android-4.9 6e463bb69c99 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 02:28 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 02:20 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 02:06 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:59 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:38 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:27 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:21 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:12 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 01:02 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 00:55 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 00:47 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 00:30 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 00:28 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/28 19:16 https://android.googlesource.com/kernel/common android-4.9 6e463bb69c99 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 02:27 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 02:10 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:53 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:52 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:50 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:39 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:34 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:26 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:07 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:06 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 01:03 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:51 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:41 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:38 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:25 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:23 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:22 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:19 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:11 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:02 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/28 00:00 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/27 23:51 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/27 23:43 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/27 23:00 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.