syzbot


WARNING in pvr2_send_request_ex/usb_submit_urb

Status: upstream: reported C repro on 2021/09/06 18:18
Subsystems: pvrusb2 usb
[Documentation on labels]
Reported-by: syzbot+20fef510634faf733060@syzkaller.appspotmail.com
First crash: 958d, last: 45d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in pvr2_send_request_ex/usb_submit_urb 0 (1) 2021/09/06 18:18
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/28 08:57 14m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing error OK
2024/03/06 18:03 16m retest repro upstream report log
2024/01/18 08:24 6m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2023/12/27 17:35 13m retest repro upstream report log
2023/11/09 07:32 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2023/10/18 17:08 15m retest repro upstream report log
2023/08/31 06:58 9m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2023/06/22 03:39 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2023/04/13 03:11 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2022/09/07 10:27 8m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log

Sample crash report:
pvrusb2: Invalid read control endpoint
------------[ cut here ]------------
URB ffff88801ada0100 submitted while active
WARNING: CPU: 0 PID: 2120 at drivers/usb/core/urb.c:379 usb_submit_urb+0x14cb/0x1720 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 0 PID: 2120 Comm: pvrusb2-context Not tainted 6.6.0-rc4-syzkaller-00029-gcbf3a2cb156a #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:usb_submit_urb+0x14cb/0x1720 drivers/usb/core/urb.c:379
Code: c4 0e fe eb cb bb fe ff ff ff e9 ca f3 ff ff e8 8b 2e 42 fb 48 89 de 48 c7 c7 00 3c 40 8b c6 05 bd 1f 73 08 01 e8 d5 57 08 fb <0f> 0b e9 ba fe ff ff bb f8 ff ff ff e9 9e f3 ff ff 48 89 ef e8 7c
RSP: 0018:ffffc9000622ee38 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88801ada0100 RCX: 0000000000000000
RDX: ffff88802316db40 RSI: ffffffff814cf016 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 6666666620425255 R12: 0000000000000000
R13: 00000000c0008200 R14: ffff888017979000 R15: ffff88802a449608
FS:  0000000000000000(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200010c0 CR3: 000000002438a000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 pvr2_send_request_ex+0x7ec/0x1ef0 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3676
 pvr2_send_request+0x3a/0x50 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3819
 pvr2_i2c_read+0x204/0x6c0 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:130
 pvr2_i2c_basic_op+0xc7/0xf0 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:172
 pvr2_i2c_xfer+0x37a/0xfc0 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:445
 __i2c_transfer drivers/i2c/i2c-core-base.c:2222 [inline]
 __i2c_transfer+0x639/0x1fb0 drivers/i2c/i2c-core-base.c:2187
 i2c_smbus_xfer_emulated+0x23c/0x1230 drivers/i2c/i2c-core-smbus.c:469
 __i2c_smbus_xfer drivers/i2c/i2c-core-smbus.c:607 [inline]
 __i2c_smbus_xfer+0x306/0xef0 drivers/i2c/i2c-core-smbus.c:553
 i2c_smbus_xfer drivers/i2c/i2c-core-smbus.c:545 [inline]
 i2c_smbus_xfer+0x106/0x380 drivers/i2c/i2c-core-smbus.c:535
 i2c_smbus_read_byte_data+0x136/0x1e0 drivers/i2c/i2c-core-smbus.c:142
 saa711x_detect_chip drivers/media/i2c/saa7115.c:1718 [inline]
 saa711x_probe+0x22d/0x20b0 drivers/media/i2c/saa7115.c:1824
 i2c_device_probe+0x4c7/0xb80 drivers/i2c/i2c-core-base.c:584
 call_driver_probe drivers/base/dd.c:579 [inline]
 really_probe+0x234/0xc90 drivers/base/dd.c:658
 __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830
 __device_attach_driver+0x1d4/0x300 drivers/base/dd.c:958
 bus_for_each_drv+0x157/0x1d0 drivers/base/bus.c:457
 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030
 bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
 device_add+0x117e/0x1aa0 drivers/base/core.c:3624
 i2c_new_client_device+0x6a8/0xbc0 drivers/i2c/i2c-core-base.c:985
 v4l2_i2c_new_subdev_board+0xb6/0x2c0 drivers/media/v4l2-core/v4l2-i2c.c:80
 v4l2_i2c_new_subdev+0x145/0x1b0 drivers/media/v4l2-core/v4l2-i2c.c:135
 pvr2_hdw_load_subdev drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2022 [inline]
 pvr2_hdw_load_modules drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2074 [inline]
 pvr2_hdw_setup_low drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2155 [inline]
 pvr2_hdw_setup drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2261 [inline]
 pvr2_hdw_initialize+0x28b5/0x44f0 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2338
 pvr2_context_check drivers/media/usb/pvrusb2/pvrusb2-context.c:109 [inline]
 pvr2_context_thread_func+0x254/0x960 drivers/media/usb/pvrusb2/pvrusb2-context.c:158
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/04 16:44 upstream cbf3a2cb156a b7d7ff54 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in pvr2_send_request_ex/usb_submit_urb
2021/09/05 21:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1b4f3dfb4792 d236a457 .config console log report syz C ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:54 upstream 3f667b5d4053 44068e19 .config console log report info ci-qemu-upstream WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:46 upstream 3f667b5d4053 44068e19 .config console log report info ci-upstream-kasan-gce WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:40 upstream 3f667b5d4053 44068e19 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:37 upstream 3f667b5d4053 44068e19 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:37 upstream 3f667b5d4053 44068e19 .config console log report info ci-upstream-kasan-gce-root WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 11:17 upstream 3f667b5d4053 44068e19 .config console log report info ci-upstream-kasan-gce-386 WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/19 09:43 upstream 3f667b5d4053 44068e19 .config console log report info ci-qemu-upstream-386 WARNING in pvr2_send_request_ex/usb_submit_urb
2022/04/07 15:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 53c67432 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/12/07 13:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 0230ba3e .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/11/11 09:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 048ff8629e11 75b04091 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/09/14 12:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 44a0f3bb69a3 58d09404 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/09/11 10:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bf9f243f23e6 3ce60af8 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/09/09 03:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b93c544e90e e2776ee4 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
2021/09/05 21:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1b4f3dfb4792 d236a457 .config console log report info ci2-upstream-usb WARNING in pvr2_send_request_ex/usb_submit_urb
* Struck through repros no longer work on HEAD.