syzbot


WARNING in put_i2c_dev
Status: upstream: reported C repro on 2020/11/10 07:45
Reported-by: syzbot+0a05df8ed151f2ed3a05@syzkaller.appspotmail.com
First crash: 568d, last: 331d

Cause bisection: failed (bisect log)

Fix bisection: fixed by (bisect log) :
commit c318840fb2a42ce25febc95c4c19357acf1ae5ca
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Wed Dec 30 16:20:44 2020 +0000

  USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug


Sample crash report:
pvrusb2: ***WARNING*** pvrusb2 driver initialization failed due to the failure of one or more sub-device kernel modules.
pvrusb2: You need to resolve the failing condition before this driver can function.  There should be some earlier messages giving more information about the problem.
------------[ cut here ]------------
sysfs group 'power' not found for kobject 'i2c-1'
WARNING: CPU: 1 PID: 3967 at fs/sysfs/group.c:279 sysfs_remove_group+0x126/0x170 fs/sysfs/group.c:279
Modules linked in:
CPU: 1 PID: 3967 Comm: pvrusb2-context Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sysfs_remove_group+0x126/0x170 fs/sysfs/group.c:279
Code: 48 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 37 48 8b 33 48 c7 c7 60 ad 7c 89 e8 8d a3 e3 06 <0f> 0b eb 98 e8 01 9e c8 ff e9 01 ff ff ff 48 89 df e8 f4 9d c8 ff
RSP: 0018:ffffc9000354fa38 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff89db4080 RCX: 0000000000000000
RDX: ffff8880224454c0 RSI: ffffffff815cdf95 RDI: fffff520006a9f39
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c7dfe R11: 0000000000000000 R12: ffff88802f14d018
R13: ffffffff89db4620 R14: ffffffff8d0372a0 R15: ffffffff8d037120
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f95f007a000 CR3: 00000000206e6000 CR4: 0000000000350ee0
Call Trace:
 dpm_sysfs_remove+0x97/0xb0 drivers/base/power/sysfs.c:837
 device_del+0x20c/0xd40 drivers/base/core.c:3485
 cdev_device_del+0x19/0x100 fs/char_dev.c:573
 put_i2c_dev+0x160/0x1b0 drivers/i2c/i2c-dev.c:93
 i2cdev_detach_adapter.part.0+0x10f/0x1a0 drivers/i2c/i2c-dev.c:694
 i2cdev_detach_adapter drivers/i2c/i2c-dev.c:652 [inline]
 i2cdev_notifier_call+0xad/0xc0 drivers/i2c/i2c-dev.c:709
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
 blocking_notifier_call_chain kernel/notifier.c:337 [inline]
 blocking_notifier_call_chain+0x67/0x90 kernel/notifier.c:325
 device_del+0x1ff/0xd40 drivers/base/core.c:3482
 device_unregister+0x22/0xc0 drivers/base/core.c:3541
 i2c_del_adapter+0x4d6/0x680 drivers/i2c/i2c-core-base.c:1723
 pvr2_i2c_core_done+0x69/0xc0 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c:652
 pvr2_hdw_destroy+0x179/0x3b0 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2679
 pvr2_context_destroy+0x84/0x230 drivers/media/usb/pvrusb2/pvrusb2-context.c:70
 pvr2_context_check drivers/media/usb/pvrusb2/pvrusb2-context.c:137 [inline]
 pvr2_context_thread_func+0x64b/0x850 drivers/media/usb/pvrusb2/pvrusb2-context.c:158
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (43):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/05/26 13:07 upstream ad9f25d33860 54f0bcf1 .config log report syz C WARNING in put_i2c_dev
ci-upstream-kasan-gce 2020/12/14 22:53 upstream 2c85ebc57b3e 97183ed7 .config log report syz C
ci-upstream-kasan-gce 2020/11/06 08:23 upstream 521b619acdc8 64069d48 .config log report syz C
ci-upstream-kasan-gce 2021/05/19 19:03 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/05/18 21:44 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/05/07 06:52 upstream d2b6f8a17919 06585184 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-selinux-root 2021/05/06 02:30 upstream d2b6f8a17919 06c27ff5 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/05/05 13:46 upstream d2b6f8a17919 06c27ff5 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/30 10:58 upstream d2b6f8a17919 77e2b668 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/28 23:23 upstream acd3d2859453 77e2b668 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/26 04:33 upstream 9f4ad9e425a1 2a82f1b3 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-selinux-root 2021/04/26 04:32 upstream d2d09fbe33f8 2a82f1b3 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/20 09:21 upstream 7af08140979a 4285c989 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/19 19:10 upstream bf05bf16c76b 50f523d7 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-root 2021/04/19 18:55 upstream bf05bf16c76b 50f523d7 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-selinux-root 2021/04/06 07:41 upstream 0a50438c8436 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-selinux-root 2021/04/06 07:27 upstream 0a50438c8436 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/05 05:43 upstream e49d033bddf5 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-selinux-root 2021/04/01 16:09 upstream d19cc4bfbff1 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/04/01 15:54 upstream d19cc4bfbff1 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/03/28 16:51 upstream 0f4498cef9f5 a8529b82 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/03/26 21:46 upstream db24726bfefa a8529b82 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2021/01/25 14:00 upstream 6ee1d745b7c9 52e37319 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/05/19 20:37 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/05/18 22:59 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/04/26 04:39 upstream d2d09fbe33f8 2a82f1b3 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/04/19 19:48 upstream bf05bf16c76b 50f523d7 .config log report info WARNING in put_i2c_dev
ci-qemu-upstream-386 2021/04/19 19:06 upstream bf05bf16c76b 50f523d7 .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/04/01 14:29 upstream d19cc4bfbff1 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce-386 2021/02/19 07:20 upstream f40ddce88593 14052202 .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/07/01 11:21 linux-next a1f92694393a 658ebc66 .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/05/18 21:18 linux-next a1f92694393a a343ba6b .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/05/05 17:42 linux-next 29955e0289b3 06c27ff5 .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/04/20 09:14 linux-next 1216f02e46a4 4285c989 .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/04/06 07:30 linux-next 454c576c3f5e 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/04/06 07:30 linux-next 454c576c3f5e 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/04/06 07:25 linux-next 454c576c3f5e 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-linux-next-kasan-gce-root 2021/04/02 01:25 linux-next 454c576c3f5e 6a81331a .config log report info WARNING in put_i2c_dev
ci-upstream-kasan-gce 2020/12/12 12:58 upstream 7f376f1917d7 bca53db9 .config log report info
ci-upstream-kasan-gce 2020/11/06 07:42 upstream 521b619acdc8 64069d48 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/15 17:30 linux-next b3a3cbdec55b 65a7a854 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/15 13:56 linux-next b3a3cbdec55b 65a7a854 .config log report info