syzbot


kernel BUG at drivers/media/mc/mc-entity.c:LINE!

Status: auto-obsoleted due to no activity on 2025/10/14 18:55
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+8eb28ed1d916cc03eef6@syzkaller.appspotmail.com
First crash: 2146d, last: 2018d
Discussions (1)
Title Replies (including bot) Last reply
kernel BUG at drivers/media/mc/mc-entity.c:LINE! 0 (1) 2019/12/02 09:25
Last patch testing requests (11)
Created Duration User Patch Repo Result
2025/10/14 18:25 25m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2025/10/14 18:25 18m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2025/08/05 13:11 9m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/08/05 13:11 9m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/05/26 07:03 10m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/05/26 07:03 10m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/03/16 10:24 10m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/03/16 10:24 11m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/01/04 08:11 8m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/01/04 08:11 8m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2021/03/25 22:15 8m igormtorrente@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ master report log

Sample crash report:
usb 1-1: New USB device found, idVendor=18cd, idProduct=cafe, bcdDevice= 3.bb
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=16
usb 1-1: SerialNumber: syz
usb 1-1: config 0 descriptor??
uvcvideo: Found UVC 0.00 device <unnamed> (18cd:cafe)
uvcvideo 1-1:0.0: Entity type for entity Output 0 was not initialized!
------------[ cut here ]------------
kernel BUG at drivers/media/mc/mc-entity.c:666!
invalid opcode: 0000 [#1] SMP KASAN
CPU: 1 PID: 22 Comm: kworker/1:1 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:media_create_pad_link+0x40f/0x530 drivers/media/mc/mc-entity.c:666
Code: 83 45 3a 01 45 31 e4 e8 9f 93 59 fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 88 93 59 fd 0f 0b e8 81 93 59 fd <0f> 0b e8 7a 93 59 fd 0f 0b e8 53 23 81 fd e9 91 fc ff ff e8 49 23
RSP: 0018:ffff8881d8c2f058 EFLAGS: 00010293
RAX: ffff8881da24e200 RBX: ffff8881cf8dc070 RCX: ffffffff83e4dd4b
RDX: 0000000000000000 RSI: ffffffff83e4e0df RDI: 0000000000000000
RBP: ffff8881cf8da070 R08: ffff8881da24e200 R09: ffffed1039ff2a91
R10: ffffed1039ff2a90 R11: ffff8881cff95483 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7061237000 CR3: 00000001d148c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 uvc_mc_create_links drivers/media/usb/uvc/uvc_entity.c:50 [inline]
 uvc_mc_register_entities+0x468/0x77a drivers/media/usb/uvc/uvc_entity.c:114
 uvc_register_chains drivers/media/usb/uvc/uvc_driver.c:2075 [inline]
 uvc_probe.cold+0x2137/0x29de drivers/media/usb/uvc/uvc_driver.c:2201
 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0x1480/0x1c20 drivers/base/core.c:2487
 usb_set_configuration+0xe67/0x1740 drivers/usb/core/message.c:2023
 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210
 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0x1480/0x1c20 drivers/base/core.c:2487
 usb_new_device.cold+0x6a4/0xe79 drivers/usb/core/hub.c:2537
 hub_port_connect drivers/usb/core/hub.c:5184 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5324 [inline]
 port_event drivers/usb/core/hub.c:5470 [inline]
 hub_event+0x1e59/0x3860 drivers/usb/core/hub.c:5552
 process_one_work+0x92b/0x1530 kernel/workqueue.c:2264
 worker_thread+0x96/0xe20 kernel/workqueue.c:2410
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 4651c1a0587de7fd ]---
RIP: 0010:media_create_pad_link+0x40f/0x530 drivers/media/mc/mc-entity.c:666
Code: 83 45 3a 01 45 31 e4 e8 9f 93 59 fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 88 93 59 fd 0f 0b e8 81 93 59 fd <0f> 0b e8 7a 93 59 fd 0f 0b e8 53 23 81 fd e9 91 fc ff ff e8 49 23
RSP: 0018:ffff8881d8c2f058 EFLAGS: 00010293
RAX: ffff8881da24e200 RBX: ffff8881cf8dc070 RCX: ffffffff83e4dd4b
RDX: 0000000000000000 RSI: ffffffff83e4e0df RDI: 0000000000000000
RBP: ffff8881cf8da070 R08: ffff8881da24e200 R09: ffffed1039ff2a91
R10: ffffed1039ff2a90 R11: ffff8881cff95483 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7061237000 CR3: 00000001d148c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/02 00:06 https://github.com/google/kasan.git usb-fuzzer 32b5e2b28188 f879db37 .config console log report syz C ci2-upstream-usb
2020/02/25 00:01 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 59b57593 .config console log report syz C ci2-upstream-usb
2020/02/10 14:39 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 35f5e45e .config console log report syz C ci2-upstream-usb
2020/04/07 15:08 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 99a96044 .config console log report ci2-upstream-usb
2020/01/08 02:00 https://github.com/google/kasan.git usb-fuzzer ae1794106b94 6738e0b3 .config console log report ci2-upstream-usb
2019/12/01 23:50 https://github.com/google/kasan.git usb-fuzzer 32b5e2b28188 f879db37 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.