syzbot


WARNING in ion_ioctl

Status: fixed on 2018/02/04 23:45
Subsystems: staging
[Documentation on labels]
Reported-by: syzbot+fa2d5f63ee5904a0115a@syzkaller.appspotmail.com
Fix commit: e4e179a844f5 staging: android: ion: Switch from WARN to pr_warn
First crash: 2361d, last: 2328d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
suspicious RCU usage at drivers/staging/android/ion/ion-ioctl.c:LINE staging 4 2351d 2351d 0/27 closed as dup on 2018/01/10 18:17
Discussions (5)
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.15 00/45] 4.15.6-stable review 53 (53) 2018/02/25 09:59
[PATCH 4.14 000/159] 4.14.22-stable review 164 (164) 2018/02/24 17:57
WARNING in ion_ioctl 7 (8) 2018/01/07 09:06
[PATCH 1/2] staging: android: ion: Add __GFP_NOWARN for system contig heap 4 (4) 2018/01/05 21:46

Sample crash report:
audit: type=1400 audit(1515542959.208:7): avc:  denied  { map } for  pid=3498 comm="syzkaller645651" path="/root/syzkaller645651766" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
WARNING: CPU: 1 PID: 3498 at drivers/staging/android/ion/ion-ioctl.c:73 ion_ioctl+0x2db/0x380 drivers/staging/android/ion/ion-ioctl.c:73
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 3498 Comm: syzkaller645651 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_ioctl+0x2db/0x380 drivers/staging/android/ion/ion-ioctl.c:73
RSP: 0018:ffff8801bffc7ce0 EFLAGS: 00010293
RAX: ffff8801c0110640 RBX: 0000000000000018 RCX: ffffffff8411053b
RDX: 0000000000000000 RSI: 0000000020003018 RDI: ffff8801bffc7d14
RBP: ffff8801bffc7d78 R08: d7987b3bb57b3c72 R09: ffffed0037ff8fa5
R10: 0000000000000003 R11: ffffed0037ff8fa4 R12: 1ffff10037ff8f9e
R13: 00000000c0184908 R14: ffff8801bffc7d50 R15: dffffc0000000000
 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:0x43fca9
RSP: 002b:00007ffca0efdac8 EFLAGS: 00000203 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9
RDX: 0000000020003000 RSI: 00000000c0184908 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000401610
R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8888):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/10 00:11 upstream d476c5334f1d 1f60c828 .config console log report syz C ci-upstream-kasan-gce
2018/01/08 00:05 upstream b84449dc14d2 19c05fff .config console log report syz C ci-upstream-kasan-gce
2018/01/07 06:47 upstream 3219e264b984 19c05fff .config console log report syz C ci-upstream-kasan-gce
2017/12/31 19:07 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 13:53 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2018/01/10 00:17 upstream d476c5334f1d 1f60c828 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/08 00:03 upstream b84449dc14d2 19c05fff .config console log report syz C ci-upstream-kasan-gce-386
2018/01/07 06:48 upstream 3219e264b984 19c05fff .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 16:13 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 15:41 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 13:55 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/10 00:11 linux-next 06d41862286a 1f60c828 .config console log report syz C ci-upstream-next-kasan-gce
2018/01/09 23:35 mmots 69eed2290e1d 1f60c828 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/08 00:03 mmots 69eed2290e1d 19c05fff .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/07 23:53 linux-next 990b6a07d18c 19c05fff .config console log report syz C ci-upstream-next-kasan-gce
2018/01/07 12:44 mmots 69eed2290e1d 19c05fff .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/07 06:31 linux-next 990b6a07d18c 19c05fff .config console log report syz C ci-upstream-next-kasan-gce
2018/01/28 12:42 upstream c4e0ca7fa241 08d47756 .config console log report ci-upstream-kasan-gce
2018/01/27 20:02 upstream c4e0ca7fa241 08146b1a .config console log report ci-upstream-kasan-gce
2018/01/18 20:08 upstream dda3e15231b3 161c1d64 .config console log report ci-upstream-kasan-gce
2018/01/05 18:46 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 18:38 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 18:31 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 18:28 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 18:11 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 18:01 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:58 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:55 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:42 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:33 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:31 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:29 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:27 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 17:11 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 16:51 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 16:37 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 16:35 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/19 20:35 upstream ec835f8104a2 fbbdcd92 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:56 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:42 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:34 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:26 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:18 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:11 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 16:28 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 15:58 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 18:58 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:54 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:41 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:39 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:28 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:11 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 18:08 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:06 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 18:01 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 17:44 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 17:31 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.