syzbot


WARNING in __alloc_pages_slowpath

Status: fixed on 2018/02/04 23:45
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+76e7efc4748495855a4d@syzkaller.appspotmail.com
Fix commit: 0c75f10312a3 staging: android: ion: Add __GFP_NOWARN for system contig heap
First crash: 2368d, last: 2335d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 4.9 000/145] 4.9.84-stable review 153 (153) 2018/04/06 15:55
[PATCH 4.4 000/193] 4.4.118-stable review 227 (227) 2018/03/13 10:51
[PATCH 4.15 00/45] 4.15.6-stable review 53 (53) 2018/02/25 09:59
[PATCH 3.18 00/58] 3.18.96-stable review 64 (64) 2018/02/24 18:38
[PATCH 4.14 000/159] 4.14.22-stable review 164 (164) 2018/02/24 17:57
[PATCH 1/2] staging: android: ion: Add __GFP_NOWARN for system contig heap 4 (4) 2018/01/05 21:46
WARNING in __alloc_pages_slowpath 2 (3) 2018/01/04 18:50
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __alloc_pages_slowpath 1 1506d 1506d 0/1 auto-closed as invalid on 2020/09/07 23:19
android-49 WARNING in __alloc_pages_slowpath C 2412 2428d 2503d 1/3 fixed on 2017/11/01 08:08
android-49 WARNING in __alloc_pages_slowpath (2) C 10224 2309d 2428d 0/3 closed as invalid on 2018/02/27 22:58
android-49 WARNING in __alloc_pages_slowpath (3) C 547 2306d 2309d 2/3 fixed on 2018/03/03 09:02
android-49 WARNING in __alloc_pages_slowpath (4) C 4341 2126d 1902d 0/3 public: reported C repro on 2019/04/11 08:44

Sample crash report:
WARNING: CPU: 0 PID: 11995 at mm/page_alloc.c:3926 __alloc_pages_slowpath+0x1ffc/0x2d00 mm/page_alloc.c:3936
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 11995 Comm: syzkaller595498 Not tainted 4.15.0-rc5+ #244
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1079
RIP: 0010:__alloc_pages_slowpath+0x1ffc/0x2d00 mm/page_alloc.c:3936
RSP: 0018:ffff8801c459f418 EFLAGS: 00010246
RAX: ffffed00388b3ea4 RBX: 1ffff100388b3ea4 RCX: 0000000000000000
RDX: ffff8801c459fa70 RSI: 0000000000000033 RDI: 0000000000000000
RBP: ffff8801c459f908 R08: 0000000000000000 R09: fffffffffff80f8a
R10: 0000000000000033 R11: 0000000000000033 R12: 0000000000000000
R13: ffff8801c459fad0 R14: 00000000014280c2 R15: ffff8801c459fa70
 __alloc_pages_nodemask+0x9fb/0xd80 mm/page_alloc.c:4252
 alloc_pages_current+0xb6/0x1e0 mm/mempolicy.c:2036
 alloc_pages include/linux/gfp.h:492 [inline]
 ion_system_contig_heap_allocate+0x40/0x2c0 drivers/staging/android/ion/ion_system_heap.c:374
 ion_buffer_create drivers/staging/android/ion/ion.c:93 [inline]
 ion_alloc+0x2c1/0x9e0 drivers/staging/android/ion/ion.c:420
 ion_ioctl+0x26d/0x380 drivers/staging/android/ion/ion-ioctl.c:84
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x23/0x9a
RIP: 0033:0x4499c9
RSP: 002b:00007ff588025da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 00000000004499c9
RDX: 0000000020002000 RSI: 00000000c0184900 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dbc20
R13: 6e6f692f7665642f R14: 6273752f7665642f R15: 0000000000000005
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (9435):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/31 19:19 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 17:40 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 13:38 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 13:44 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 13:31 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/28 11:45 upstream c4e0ca7fa241 08d47756 .config console log report ci-upstream-kasan-gce
2018/01/27 17:04 upstream c4e0ca7fa241 08146b1a .config console log report ci-upstream-kasan-gce
2018/01/22 11:55 upstream 0d665e7b109d aeb24072 .config console log report ci-upstream-kasan-gce
2018/01/21 12:28 upstream d517bb79f499 fbbdcd92 .config console log report ci-upstream-kasan-gce
2018/01/04 09:56 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:53 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:34 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:33 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:27 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:24 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:12 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:09 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 09:01 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 08:58 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 08:43 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 08:33 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 08:13 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 07:50 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce
2018/01/04 07:17 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce
2018/01/13 20:29 upstream c92a9a461dff c9e7aeae .config console log report ci-upstream-kasan-gce-386
2018/01/04 09:05 upstream 00a5ae218d57 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/04 07:59 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/04 07:16 upstream d6bbd51587ec 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/04 09:52 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 09:50 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 09:47 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 09:31 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 09:15 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 09:15 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 09:12 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 09:06 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 09:05 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 09:02 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 08:55 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 08:47 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 08:45 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 08:35 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 08:30 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 08:23 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/04 08:23 linux-next 73005e1a35fd 00193447 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.