syzbot


WARNING in get_q_data

Status: fixed on 2019/03/28 12:00
Subsystems: media
[Documentation on labels]
Reported-by: syzbot+44b24cff6bf96006ecfa@syzkaller.appspotmail.com
Fix commit: db9a01b32ca9 media: vicodec: check type in g/s_selection
First crash: 2136d, last: 2125d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] vicodec: check type in g/s_selection 1 (1) 2019/01/30 07:33
WARNING in get_q_data 0 (1) 2019/01/29 16:43

Sample crash report:
WARNING: CPU: 1 PID: 7479 at drivers/media/platform/vicodec/vicodec-core.c:151 get_q_data drivers/media/platform/vicodec/vicodec-core.c:151 [inline]
WARNING: CPU: 1 PID: 7479 at drivers/media/platform/vicodec/vicodec-core.c:151 get_q_data+0x53/0x80 drivers/media/platform/vicodec/vicodec-core.c:140
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 7479 Comm: syz-executor073 Not tainted 5.0.0-rc4-next-20190129 #21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x48 kernel/panic.c:571
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:get_q_data drivers/media/platform/vicodec/vicodec-core.c:151 [inline]
RIP: 0010:get_q_data+0x53/0x80 drivers/media/platform/vicodec/vicodec-core.c:140
Code: 74 3a 83 fb 02 75 1e e8 eb 6e 33 fc 49 81 c4 70 02 00 00 e8 df 6e 33 fc 4c 89 e0 5b 41 5c 5d c3 83 fb 0a 74 e2 e8 cd 6e 33 fc <0f> 0b e8 c6 6e 33 fc 45 31 e4 5b 4c 89 e0 41 5c 5d c3 e8 b6 6e 33
RSP: 0018:ffff88808638f758 EFLAGS: 00010293
RAX: ffff888097a02400 RBX: 000000000000000c RCX: ffffffff854eab2f
RDX: 0000000000000000 RSI: ffffffff854eab63 RDI: 0000000000000005
RBP: ffff88808638f768 R08: ffff888097a02400 R09: ffffed10136ec909
R10: ffffed10136ec908 R11: ffff88809b764843 R12: ffff888098c484c0
R13: 0000000000000002 R14: ffff888098c484c0 R15: ffff88808638f7e4
 vidioc_s_selection+0x9b/0x3e0 drivers/media/platform/vicodec/vicodec-core.c:997
 v4l_s_selection drivers/media/v4l2-core/v4l2-ioctl.c:2245 [inline]
 v4l_s_crop+0x32a/0x510 drivers/media/v4l2-core/v4l2-ioctl.c:2302
 __video_do_ioctl+0x805/0xd80 drivers/media/v4l2-core/v4l2-ioctl.c:2872
 video_usercopy+0x460/0x16b0 drivers/media/v4l2-core/v4l2-ioctl.c:3054
 video_ioctl2+0x2d/0x35 drivers/media/v4l2-core/v4l2-ioctl.c:3098
 v4l2_ioctl+0x156/0x1b0 drivers/media/v4l2-core/v4l2-dev.c:364
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440089
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe747247e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440089
RDX: 0000000020000100 RSI: 000000004014563c RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401910
R13: 00000000004019a0 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (649):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/29 09:44 linux-next 39ad1c1b6bb8 aa432daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/02/08 10:39 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 09:05 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 07:04 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 05:53 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 04:38 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 03:27 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 02:06 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/08 01:04 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 23:18 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 22:07 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 20:25 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 19:24 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 18:05 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 17:43 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 16:30 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 14:56 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 14:16 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 12:20 linux-next 1bd831d68d55 aa4feb03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 08:55 linux-next 1bd831d68d55 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 06:18 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 05:10 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 03:56 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 02:20 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 01:18 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/07 00:16 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 23:06 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 21:32 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 21:28 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 20:16 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 18:45 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 17:34 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 15:55 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 14:39 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 14:01 linux-next 1a82ba1c69e3 d25487bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 11:49 linux-next 1a82ba1c69e3 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 10:47 linux-next 1a82ba1c69e3 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 09:03 linux-next 1a82ba1c69e3 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 08:01 linux-next 1a82ba1c69e3 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 06:09 linux-next 1ff540338564 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 05:05 linux-next 1ff540338564 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 03:50 linux-next 1ff540338564 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 02:44 linux-next 1ff540338564 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/06 01:41 linux-next 1ff540338564 d672172c .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.