syzbot


WARNING in ion_buffer_destroy

Status: fixed on 2018/07/09 18:05
Subsystems: staging
[Documentation on labels]
Reported-by: syzbot+cd8bcd40cb049efa2770@syzkaller.appspotmail.com
Fix commit: 45ad559a2962 staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy
First crash: 2388d, last: 2237d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 3.16 000/366] 3.16.61-rc1 review 375 (376) 2019/01/02 17:44
[PATCH 4.17 00/45] 4.17.2-stable review 46 (46) 2018/06/15 16:19
[PATCH 4.16 00/43] 4.16.16-stable review 41 (41) 2018/06/15 15:19
[PATCH 4.14 00/36] 4.14.50-stable review 34 (34) 2018/06/15 15:19
[PATCH 4.9 00/30] 4.9.109-stable review 36 (36) 2018/06/15 15:18
[PATCH] staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy 1 (1) 2018/05/14 21:35
WARNING in ion_buffer_destroy 3 (4) 2018/05/14 20:37

Sample crash report:
WARNING: CPU: 0 PID: 1465 at drivers/staging/android/ion/ion.c:132 ion_buffer_destroy+0xd4/0x190 drivers/staging/android/ion/ion.c:132
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 1465 Comm: ion_system_heap Not tainted 4.15.0-rc7+ #255
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:ion_buffer_destroy+0xd4/0x190 drivers/staging/android/ion/ion.c:132
RSP: 0018:ffff8801d3a1fd28 EFLAGS: 00010293
RAX: ffff8801d3a44680 RBX: ffff8801c0341700 RCX: ffffffff8410f1e4
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d3fe95f8
RBP: ffff8801d3a1fd50 R08: 0000000000000000 R09: 1ffff1003a743f8a
R10: ffff8801d3a1fc18 R11: 0000000000000000 R12: ffffffff86e47780
R13: ffff8801d3fe95c0 R14: ffff8801c0341720 R15: 0000000000000001
 ion_heap_deferred_free+0x290/0x650 drivers/staging/android/ion/ion_heap.c:245
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7901):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/09 23:17 upstream d476c5334f1d 1f60c828 .config console log report syz C ci-upstream-kasan-gce
2018/01/09 22:49 upstream d476c5334f1d 1f60c828 .config console log report syz C ci-upstream-kasan-gce
2018/01/09 22:37 upstream d476c5334f1d 1f60c828 .config console log report syz C ci-upstream-kasan-gce
2018/01/09 23:09 linux-next 06d41862286a 1f60c828 .config console log report syz C ci-upstream-next-kasan-gce
2018/01/09 23:08 mmots 69eed2290e1d 1f60c828 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/09 22:56 linux-next 06d41862286a 1f60c828 .config console log report syz C ci-upstream-next-kasan-gce
2018/01/09 22:47 mmots 69eed2290e1d 1f60c828 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/09 22:34 mmots 69eed2290e1d 1f60c828 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/09 22:33 linux-next 06d41862286a 1f60c828 .config console log report syz C ci-upstream-next-kasan-gce
2018/06/09 22:03 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 21:45 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 19:05 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 17:21 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 13:01 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 11:31 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 08:20 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 08:19 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 05:26 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce
2018/06/09 00:22 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce
2018/06/08 22:53 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/08 19:34 upstream 68abbe729567 866118af .config console log report ci-upstream-kasan-gce
2018/06/08 16:08 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-root
2018/06/08 09:04 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-root
2018/06/08 06:49 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-root
2018/06/08 01:21 upstream 1c8c5a9d38f6 645e75f8 .config console log report ci-upstream-kasan-gce
2018/06/07 23:22 upstream 1c8c5a9d38f6 645e75f8 .config console log report ci-upstream-kasan-gce
2018/06/07 20:51 upstream 1c8c5a9d38f6 645e75f8 .config console log report ci-upstream-kasan-gce
2018/06/07 15:23 upstream 1c8c5a9d38f6 645e75f8 .config console log report ci-upstream-kasan-gce
2018/06/06 22:39 upstream 0ad39cb3d70f e0e534c6 .config console log report ci-upstream-kasan-gce
2018/06/06 17:38 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce-root
2018/06/06 11:59 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce
2018/06/06 10:45 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce
2018/06/06 03:19 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce-root
2018/06/05 23:47 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce
2018/06/05 22:06 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce
2018/06/05 16:49 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce
2018/06/05 14:51 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce
2018/06/05 11:22 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce
2018/06/05 00:21 upstream 910470e03f34 a50d873b .config console log report ci-upstream-kasan-gce-root
2018/06/04 16:10 upstream 29dcea88779c 6cbe7c26 .config console log report ci-upstream-kasan-gce
2018/06/09 20:15 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-386
2018/06/09 14:30 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-386
2018/06/09 02:18 upstream 410feb75de24 866118af .config console log report ci-upstream-kasan-gce-386
2018/06/08 10:12 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-386
2018/06/08 05:02 upstream 68abbe729567 645e75f8 .config console log report ci-upstream-kasan-gce-386
2018/06/06 18:52 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce-386
2018/06/06 16:13 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce-386
2018/06/05 18:11 upstream 716a685fdb89 a316ff92 .config console log report ci-upstream-kasan-gce-386
2018/06/04 22:51 upstream 910470e03f34 a50d873b .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.