Hello,
syzbot found the following issue on:
HEAD commit: 8020ae3c051d Linux 5.15.103
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=114c72a6c80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=f95b212e0ccdd4d1
dashboard link:
https://syzkaller.appspot.com/bug?extid=08aaf203dbf7bf8feb6f
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=16c199d6c80000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=16d5efbec80000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/6153dfa8dcc0/disk-8020ae3c.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/2093d52db59f/vmlinux-8020ae3c.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/85041d0bd356/Image-8020ae3c.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+08aaf2...@syzkaller.appspotmail.com
usb 1-1: config 0 descriptor??
usb 1-1: Found UVC 0.00 device <unnamed> (0bd3:0d55)
uvcvideo 1-1:0.0: Entity type for entity Output 255 was not initialized!
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1528 at drivers/media/mc/mc-entity.c:667 media_create_pad_link+0x824/0x974
Modules linked in:
CPU: 1 PID: 1528 Comm: kworker/1:2 Not tainted 5.15.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: usb_hub_wq hub_event
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : media_create_pad_link+0x824/0x974
lr : media_create_pad_link+0x820/0x974 drivers/media/mc/mc-entity.c:667
sp : ffff8000206b6760
x29: ffff8000206b67b0 x28: dfff800000000000 x27: 0000000000000001
x26: ffff0000cdd15080 x25: ffff0000cdd16080 x24: 0000000000000000
x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000
x20: dfff800000000000 x19: ffff0000cdd151f8 x18: ffff8000206b64a0
x17: ff8080000e188bdc x16: ffff80000824ff34 x15: 000000000000cdef
x14: 00000000265d1dda x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000e18cc78 x10: 0000000000000000 x9 : ffff80000e18cc78
x8 : ffff0000cca81ac0 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff800017644460 x4 : 0000000000000003 x3 : 0000000000000000
x2 : ffff0000cdd15080 x1 : 0000000000000000 x0 : 00000000ffffffea
Call trace:
media_create_pad_link+0x824/0x974
uvc_mc_create_links drivers/media/usb/uvc/uvc_entity.c:50 [inline]
uvc_mc_register_entities+0x5d0/0x808 drivers/media/usb/uvc/uvc_entity.c:151
uvc_register_chains+0x36c/0x464 drivers/media/usb/uvc/uvc_driver.c:2300
uvc_probe+0x7784/0x7f88 drivers/media/usb/uvc/uvc_driver.c:2437
usb_probe_interface+0x500/0x984 drivers/usb/core/driver.c:396
really_probe+0x26c/0xaec drivers/base/dd.c:595
__driver_probe_device+0x1bc/0x3f8 drivers/base/dd.c:750
driver_probe_device+0x78/0x34c drivers/base/dd.c:780
__device_attach_driver+0x28c/0x4d8 drivers/base/dd.c:902
bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427
__device_attach+0x2f0/0x480 drivers/base/dd.c:974
device_initial_probe+0x24/0x34 drivers/base/dd.c:1023
bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487
device_add+0xae0/0xef4 drivers/base/core.c:3394
usb_set_configuration+0x15e0/0x1b60 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:238
usb_probe_device+0x120/0x25c drivers/usb/core/driver.c:293
really_probe+0x26c/0xaec drivers/base/dd.c:595
__driver_probe_device+0x1bc/0x3f8 drivers/base/dd.c:750
driver_probe_device+0x78/0x34c drivers/base/dd.c:780
__device_attach_driver+0x28c/0x4d8 drivers/base/dd.c:902
bus_for_each_drv+0x158/0x1e0 drivers/base/bus.c:427
__device_attach+0x2f0/0x480 drivers/base/dd.c:974
device_initial_probe+0x24/0x34 drivers/base/dd.c:1023
bus_probe_device+0xbc/0x1c8 drivers/base/bus.c:487
device_add+0xae0/0xef4 drivers/base/core.c:3394
usb_new_device+0x8fc/0x1448 drivers/usb/core/hub.c:2568
hub_port_connect drivers/usb/core/hub.c:5358 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
port_event drivers/usb/core/hub.c:5648 [inline]
hub_event+0x22e4/0x48c4 drivers/usb/core/hub.c:5730
process_one_work+0x84c/0x14b8 kernel/workqueue.c:2306
worker_thread+0x910/0x1034 kernel/workqueue.c:2453
kthread+0x37c/0x45c kernel/kthread.c:319
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
irq event stamp: 14848
hardirqs last enabled at (14847): [<ffff800011ad8c50>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last enabled at (14847): [<ffff800011ad8c50>] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
hardirqs last disabled at (14848): [<ffff800011a00bc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (13966): [<ffff800008020e34>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (13966): [<ffff800008020e34>] __do_softirq+0xcc4/0xf60 kernel/softirq.c:587
softirqs last disabled at (13961): [<ffff8000081b7b48>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (13961): [<ffff8000081b7b48>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (13961): [<ffff8000081b7b48>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 63ca6d71365511da ]---
usb 1-1: Failed to create links for entity 255
usb 1-1: Failed to register entities (-22).
usb 1-1: USB disconnect, device number 2
---
This report 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
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches