syzbot


WARNING in pvr2_send_request_ex/usb_submit_urb

Status: upstream: reported C repro on 2021/09/06 18:18
Reported-by: syzbot+20fef510634faf733060@syzkaller.appspotmail.com
First crash: 396d, last: 29d
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/07 10:27 8m 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 00000000b3505d0d submitted while active
WARNING: CPU: 0 PID: 2391 at drivers/usb/core/urb.c:378 usb_submit_urb+0x14e2/0x18a0 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 2391 Comm: pvrusb2-context Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usb_submit_urb+0x14e2/0x18a0 drivers/usb/core/urb.c:378
Code: 89 de e8 31 c0 ab fd 84 db 0f 85 a9 f3 ff ff e8 f4 b8 ab fd 4c 89 fe 48 c7 c7 20 26 84 86 c6 05 d8 3c ef 04 01 e8 11 8c 00 02 <0f> 0b e9 87 f3 ff ff 41 be ed ff ff ff e9 7c f3 ff ff e8 c7 b8 ab
RSP: 0018:ffffc90006996f78 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88810fc89b40 RSI: ffffffff812aca53 RDI: fffff52000d32de1
RBP: 00000000c0008200 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff814c6d1b R11: 0000000000000000 R12: ffff888119e0a000
R13: 0000000000000005 R14: 00000000fffffff0 R15: ffff888110825600
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e769882928 CR3: 0000000100fbe000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 pvr2_send_request_ex+0x7c2/0x20e0 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3667
 pvr2_send_request+0x35/0x40 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3810
 pvr2_i2c_read drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:130 [inline]
 pvr2_i2c_basic_op+0x4af/0x900 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:172
 pvr2_i2c_xfer+0x375/0xb90 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:445
 __i2c_transfer+0x52b/0x16e0 drivers/i2c/i2c-core-base.c:2207
 i2c_smbus_xfer_emulated+0x1b5/0xfe0 drivers/i2c/i2c-core-smbus.c:468
 __i2c_smbus_xfer drivers/i2c/i2c-core-smbus.c:606 [inline]
 __i2c_smbus_xfer+0x4b9/0xfb0 drivers/i2c/i2c-core-smbus.c:552
 i2c_smbus_xfer drivers/i2c/i2c-core-smbus.c:544 [inline]
 i2c_smbus_xfer+0x100/0x380 drivers/i2c/i2c-core-smbus.c:534
 i2c_smbus_read_byte_data+0x107/0x1b0 drivers/i2c/i2c-core-smbus.c:141
 saa711x_detect_chip drivers/media/i2c/saa7115.c:1718 [inline]
 saa711x_probe+0x1e8/0x940 drivers/media/i2c/saa7115.c:1824
 i2c_device_probe+0xacc/0xc90 drivers/i2c/i2c-core-base.c:572
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:751
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:781
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:898
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:969
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc35/0x21b0 drivers/base/core.c:3353
 i2c_new_client_device+0x613/0xaf0 drivers/i2c/i2c-core-base.c:1062
 v4l2_i2c_new_subdev_board+0xaf/0x2c0 drivers/media/v4l2-core/v4l2-i2c.c:80
 v4l2_i2c_new_subdev+0x102/0x170 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+0xc97/0x37d0 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2338
 pvr2_context_check drivers/media/usb/pvrusb2/pvrusb2-context.c:109 [inline]
 pvr2_context_thread_func+0x250/0x850 drivers/media/usb/pvrusb2/pvrusb2-context.c:158
 kthread+0x3c2/0x4a0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

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