WARNING in cm109_submit_buzz_toggle/usb_submit_urb

10 views
Skip to first unread message

syzbot

unread,
Nov 23, 2020, 5:05:18 AM11/23/20
to eli.bi...@gmail.com, gre...@linuxfoundation.org, gusta...@kernel.org, ingr...@epigenesys.com, linux-...@vger.kernel.org, linu...@vger.kernel.org, syzkall...@googlegroups.com, ti...@suse.de
Hello,

syzbot found the following issue on:

HEAD commit: a349e4c6 Merge tag 'xfs-5.10-fixes-7' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1756e035500000
kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44
dashboard link: https://syzkaller.appspot.com/bug?extid=c7e665956b189738fe5e
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+c7e665...@syzkaller.appspotmail.com

------------[ cut here ]------------
URB 000000001a5f6e54 submitted while active
WARNING: CPU: 0 PID: 15525 at drivers/usb/core/urb.c:378 usb_submit_urb+0x1228/0x14e0 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 15525 Comm: syz-executor.5 Not tainted 5.10.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usb_submit_urb+0x1228/0x14e0 drivers/usb/core/urb.c:378
Code: 89 de e8 2b 93 3b fc 84 db 0f 85 da f4 ff ff e8 0e 9b 3b fc 4c 89 fe 48 c7 c7 e0 6a e1 89 c6 05 03 18 a4 07 01 e8 82 fe 77 03 <0f> 0b e9 b8 f4 ff ff c7 44 24 14 01 00 00 00 e9 6f f5 ff ff 41 bd
RSP: 0018:ffffc9000395f710 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff8158f3b5 RDI: fffff5200072bed4
RBP: 0000000000000020 R08: 0000000000000001 R09: ffff8880b9e2011b
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801ef80488
R13: 00000000fffffff0 R14: ffffffff85a1ef60 R15: ffff88801297a600
FS: 00007f8480e75700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f56ba3fdc10 CR3: 0000000018999000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cm109_submit_buzz_toggle+0xd0/0x130 drivers/input/misc/cm109.c:351
cm109_toggle_buzzer_async drivers/input/misc/cm109.c:487 [inline]
cm109_input_ev+0x1ea/0x230 drivers/input/misc/cm109.c:621
input_handle_event+0x66e/0x1400 drivers/input/input.c:376
input_inject_event+0x2f5/0x310 drivers/input/input.c:471
kd_sound_helper+0x122/0x260 drivers/tty/vt/keyboard.c:242
input_handler_for_each_handle+0xf4/0x210 drivers/input/input.c:2356
kd_mksound+0x85/0x120 drivers/tty/vt/keyboard.c:266
do_con_trol+0x813/0x54c0 drivers/tty/vt/vt.c:2152
do_con_write+0xb89/0x1dd0 drivers/tty/vt/vt.c:2911
con_write+0x22/0xb0 drivers/tty/vt/vt.c:3255
process_output_block drivers/tty/n_tty.c:595 [inline]
n_tty_write+0x3ce/0xf80 drivers/tty/n_tty.c:2333
do_tty_write drivers/tty/tty_io.c:962 [inline]
tty_write+0x4d9/0x870 drivers/tty/tty_io.c:1046
vfs_write+0x28e/0xa30 fs/read_write.c:603
ksys_write+0x12d/0x250 fs/read_write.c:658
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f8480e74c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000003a6c0 RCX: 000000000045deb9
RDX: 0000000000001006 RSI: 0000000020001440 RDI: 0000000000000006
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 000000000169fb7f R14: 00007f8480e759c0 R15: 000000000118bf2c


---
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

unread,
Nov 26, 2020, 12:17:17 PM11/26/20
to eli.bi...@gmail.com, gre...@linuxfoundation.org, gusta...@kernel.org, ingr...@epigenesys.com, linux-...@vger.kernel.org, linu...@vger.kernel.org, one...@suse.com, syzkall...@googlegroups.com, ti...@suse.de
syzbot has found a reproducer for the following issue on:

HEAD commit: fa02fcd9 Merge tag 'media/v5.10-2' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16d1a88d500000
kernel config: https://syzkaller.appspot.com/x/.config?x=cb8d1a3819ba4356
dashboard link: https://syzkaller.appspot.com/bug?extid=c7e665956b189738fe5e
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14ba912d500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10dfad85500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+c7e665...@syzkaller.appspotmail.com

------------[ cut here ]------------
URB 0000000056bd5df7 submitted while active
WARNING: CPU: 0 PID: 8490 at drivers/usb/core/urb.c:378 usb_submit_urb+0x1228/0x14e0 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 8490 Comm: syz-executor949 Not tainted 5.10.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usb_submit_urb+0x1228/0x14e0 drivers/usb/core/urb.c:378
Code: 89 de e8 6b d6 3b fc 84 db 0f 85 da f4 ff ff e8 4e de 3b fc 4c 89 fe 48 c7 c7 00 57 e1 89 c6 05 01 64 a4 07 01 e8 d4 0c 78 03 <0f> 0b e9 b8 f4 ff ff c7 44 24 14 01 00 00 00 e9 6f f5 ff ff 41 bd
RSP: 0018:ffffc900012ef710 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88802068b480 RSI: ffffffff8158d875 RDI: fffff5200025ded4
RBP: 0000000000000020 R08: 0000000000000001 R09: ffff8880b9e2011b
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880117c3078
R13: 00000000fffffff0 R14: ffffffff85a190a0 R15: ffff88801d38cd00
FS: 0000000001949880(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005637666ec160 CR3: 0000000029267000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cm109_submit_buzz_toggle+0xd0/0x130 drivers/input/misc/cm109.c:351
cm109_toggle_buzzer_async drivers/input/misc/cm109.c:487 [inline]
cm109_input_ev+0x1ea/0x230 drivers/input/misc/cm109.c:621
input_handle_event+0x66e/0x1400 drivers/input/input.c:376
input_inject_event+0x2f5/0x310 drivers/input/input.c:471
kd_sound_helper+0x122/0x260 drivers/tty/vt/keyboard.c:242
input_handler_for_each_handle+0xf4/0x210 drivers/input/input.c:2356
kd_mksound+0x85/0x120 drivers/tty/vt/keyboard.c:266
do_con_trol+0x813/0x54c0 drivers/tty/vt/vt.c:2152
do_con_write+0xb89/0x1dd0 drivers/tty/vt/vt.c:2911
con_write+0x22/0xb0 drivers/tty/vt/vt.c:3255
process_output_block drivers/tty/n_tty.c:595 [inline]
n_tty_write+0x3ce/0xf80 drivers/tty/n_tty.c:2333
do_tty_write drivers/tty/tty_io.c:962 [inline]
tty_write+0x4d9/0x870 drivers/tty/tty_io.c:1046
vfs_write+0x28e/0xa30 fs/read_write.c:603
ksys_write+0x12d/0x250 fs/read_write.c:658
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x444859
Code: e8 bc af 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 9b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd082c1508 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002e0 RCX: 0000000000444859
RDX: 0000000000001006 RSI: 0000000020001440 RDI: 0000000000000005
RBP: 00000000006d0018 R08: 00000000004002e0 R09: 00000000004002e0
R10: 000000000000000d R11: 0000000000000246 R12: 0000000000402480
R13: 0000000000402510 R14: 0000000000000000 R15: 0000000000000000

syzbot

unread,
Jan 13, 2021, 6:01:14 PM1/13/21
to eli.bi...@gmail.com, gre...@linuxfoundation.org, gusta...@kernel.org, ingr...@epigenesys.com, linux-...@vger.kernel.org, linu...@vger.kernel.org, one...@suse.com, st...@rowland.harvard.edu, syzkall...@googlegroups.com, ti...@suse.de
syzbot suspects this issue was fixed by commit:

commit c318840fb2a42ce25febc95c4c19357acf1ae5ca
Author: Alan Stern <st...@rowland.harvard.edu>
Date: Wed Dec 30 16:20:44 2020 +0000

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

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1075dcaf500000
start commit: fa02fcd9 Merge tag 'media/v5.10-2' of git://git.kernel.org..
git tree: upstream
If the result looks correct, please mark the issue as fixed by replying with:

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

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

syzbot

unread,
Sep 13, 2022, 3:20:29 PM9/13/22
to syzkall...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages