linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WARNING in media_create_pad_link
@ 2020-05-14 20:18 syzbot
  2020-05-21 19:38 ` syzbot
  2020-09-13 23:28 ` syzbot
  0 siblings, 2 replies; 3+ messages in thread
From: syzbot @ 2020-05-14 20:18 UTC (permalink / raw)
  To: andreyknvl, laurent.pinchart, linux-kernel, linux-media,
	linux-usb, mchehab, sakari.ailus, syzkaller-bugs

Hello,

syzbot found the following crash on:

HEAD commit:    059e7e0f usb: raw-gadget: fix typo in uapi headers
git tree:       https://github.com/google/kasan.git usb-fuzzer
console output: https://syzkaller.appspot.com/x/log.txt?x=10e77dfa100000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b484a6e53b2b06ad
dashboard link: https://syzkaller.appspot.com/bug?extid=dd320d114deb3f5bb79b
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=16cd44ac100000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17b12b92100000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+dd320d114deb3f5bb79b@syzkaller.appspotmail.com

uvcvideo 1-1:0.0: Entity type for entity Processing 1 was not initialized!
uvcvideo 1-1:0.0: Entity type for entity Input 255 was not initialized!
------------[ cut here ]------------
WARNING: CPU: 0 PID: 163 at drivers/media/mc/mc-entity.c:669 media_create_pad_link+0x500/0x650 drivers/media/mc/mc-entity.c:669
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 163 Comm: kworker/0:3 Not tainted 5.7.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xef/0x16e lib/dump_stack.c:118
 panic+0x2aa/0x6e1 kernel/panic.c:221
 __warn.cold+0x2f/0x30 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:175 [inline]
 fixup_bug arch/x86/kernel/traps.c:170 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:media_create_pad_link+0x500/0x650 drivers/media/mc/mc-entity.c:669
Code: bc ea ff ff ff eb da e8 ee e0 37 fd 0f 0b 41 bc ea ff ff ff eb cb e8 df e0 37 fd 0f 0b 41 bc ea ff ff ff eb bc e8 d0 e0 37 fd <0f> 0b 41 bc ea ff ff ff eb ad e8 c1 e0 37 fd 0f 0b 41 bc ea ff ff
RSP: 0018:ffff8881ce48ef70 EFLAGS: 00010293
RAX: ff


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING in media_create_pad_link
  2020-05-14 20:18 WARNING in media_create_pad_link syzbot
@ 2020-05-21 19:38 ` syzbot
  2020-09-13 23:28 ` syzbot
  1 sibling, 0 replies; 3+ messages in thread
From: syzbot @ 2020-05-21 19:38 UTC (permalink / raw)
  To: andreyknvl, balbi, gregkh, laurent.pinchart, linux-kernel,
	linux-media, linux-usb, mchehab, sakari.ailus, syzkaller-bugs

syzbot has bisected this bug to:

commit f2c2e717642c66f7fe7e5dd69b2e8ff5849f4d10
Author: Andrey Konovalov <andreyknvl@google.com>
Date:   Mon Feb 24 16:13:03 2020 +0000

    usb: gadget: add raw-gadget interface

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=126d2b81100000
start commit:   b85051e7 Merge tag 'fixes-for-5.7-rc6' of git://git.kernel..
git tree:       upstream
final crash:    https://syzkaller.appspot.com/x/report.txt?x=116d2b81100000
console output: https://syzkaller.appspot.com/x/log.txt?x=166d2b81100000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c33c7f7c5471fd39
dashboard link: https://syzkaller.appspot.com/bug?extid=dd320d114deb3f5bb79b
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=16accd06100000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1680ce5e100000

Reported-by: syzbot+dd320d114deb3f5bb79b@syzkaller.appspotmail.com
Fixes: f2c2e717642c ("usb: gadget: add raw-gadget interface")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING in media_create_pad_link
  2020-05-14 20:18 WARNING in media_create_pad_link syzbot
  2020-05-21 19:38 ` syzbot
@ 2020-09-13 23:28 ` syzbot
  1 sibling, 0 replies; 3+ messages in thread
From: syzbot @ 2020-09-13 23:28 UTC (permalink / raw)
  To: andreyknvl, balbi, dominik, gregkh, hadess, laurent.pinchart,
	linux-kernel, linux-media, linux-usb, mchehab, sakari.ailus,
	stern, syzkaller-bugs

syzbot suspects this issue was fixed by commit:

commit adb6e6ac20eedcf1dce19dc75b224e63c0828ea1
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Aug 18 11:04:43 2020 +0000

    USB: Also match device drivers using the ->match vfunc

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=14ed5f35900000
start commit:   75caf310 Merge branch 'akpm' (patches from Andrew)
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=129ea1e5950835e5
dashboard link: https://syzkaller.appspot.com/bug?extid=dd320d114deb3f5bb79b
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=12e9d39a100000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=179ec486100000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: USB: Also match device drivers using the ->match vfunc

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-13 23:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 20:18 WARNING in media_create_pad_link syzbot
2020-05-21 19:38 ` syzbot
2020-09-13 23:28 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).