linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: WARNING in cm109_input_ev/usb_submit_urb
       [not found] <000000000000f6530105b48b2816@google.com>
@ 2020-12-03  4:57 ` syzbot
  2020-12-10  4:23   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2020-12-03  4:57 UTC (permalink / raw)
  To: dmitry.torokhov, eli.billauer, gregkh, gustavoars, ingrassia,
	linux-input, linux-kernel, linux-usb, stern, syzkaller-bugs,
	vulab

syzbot has found a reproducer for the following issue on:

HEAD commit:    3bb61aa6 Merge tag 'arm64-fixes' of git://git.kernel.org/p..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10837e9d500000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c3904d1cc0af152
dashboard link: https://syzkaller.appspot.com/bug?extid=150f793ac5bc18eee150
compiler:       clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b)
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=12b9c19d500000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=14c422e3500000

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

------------[ cut here ]------------
URB 00000000fa7e6a0b submitted while active
WARNING: CPU: 0 PID: 8462 at drivers/usb/core/urb.c:378 usb_submit_urb+0xf57/0x1510 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 8462 Comm: syz-executor064 Not tainted 5.10.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usb_submit_urb+0xf57/0x1510 drivers/usb/core/urb.c:378
Code: 5c 41 5d 41 5e 41 5f 5d e9 76 5b ff ff e8 c1 e9 04 fc c6 05 45 10 8b 07 01 48 c7 c7 a0 b6 5b 8a 4c 89 e6 31 c0 e8 69 08 d5 fb <0f> 0b e9 20 f1 ff ff e8 9d e9 04 fc eb 05 e8 96 e9 04 fc bb a6 ff
RSP: 0018:ffffc90000ecf6d8 EFLAGS: 00010046
RAX: ed1497fd940bbe00 RBX: ffff8880113d2108 RCX: ffff88801b269a40
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: 0000000000000a20 R08: ffffffff815d29e2 R09: ffffed1017383ffc
R10: ffffed1017383ffc R11: 0000000000000000 R12: ffff8880113d2100
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff88801d001850
FS:  00000000013ac880(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558946f0cf78 CR3: 0000000011c70000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 cm109_submit_buzz_toggle drivers/input/misc/cm109.c:351 [inline]
 cm109_toggle_buzzer_async drivers/input/misc/cm109.c:487 [inline]
 cm109_input_ev+0x1dc/0x3a0 drivers/input/misc/cm109.c:621
 input_handle_event+0x895/0x1510 drivers/input/input.c:376
 input_inject_event+0x1e8/0x280 drivers/input/input.c:471
 kd_sound_helper+0xfc/0x200 drivers/tty/vt/keyboard.c:242
 input_handler_for_each_handle+0xc8/0x160 drivers/input/input.c:2356
 kd_mksound+0x6c/0x140 drivers/tty/vt/keyboard.c:266
 do_con_trol drivers/tty/vt/vt.c:2152 [inline]
 do_con_write+0x3325/0xdee0 drivers/tty/vt/vt.c:2911
 con_write+0x20/0x40 drivers/tty/vt/vt.c:3255
 process_output_block drivers/tty/n_tty.c:595 [inline]
 n_tty_write+0xcc2/0x1160 drivers/tty/n_tty.c:2333
 do_tty_write drivers/tty/tty_io.c:962 [inline]
 tty_write+0x585/0x8f0 drivers/tty/tty_io.c:1046
 vfs_write+0x220/0xab0 fs/read_write.c:603
 ksys_write+0x11b/0x220 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:0x444839
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:00007ffeb806aaf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002e0 RCX: 0000000000444839
RDX: 0000000000001006 RSI: 00000000200002c0 RDI: 0000000000000005
RBP: 00000000006d0018 R08: 00000000004002e0 R09: 00000000004002e0
R10: 000000000000000d R11: 0000000000000246 R12: 0000000000402460
R13: 00000000004024f0 R14: 0000000000000000 R15: 0000000000000000


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING in cm109_input_ev/usb_submit_urb
  2020-12-03  4:57 ` WARNING in cm109_input_ev/usb_submit_urb syzbot
@ 2020-12-10  4:23   ` Dmitry Torokhov
  2020-12-10 13:38     ` syzbot
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2020-12-10  4:23 UTC (permalink / raw)
  To: syzbot
  Cc: eli.billauer, gregkh, gustavoars, ingrassia, linux-input,
	linux-kernel, linux-usb, stern, syzkaller-bugs, vulab

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git f6d088b4efe9636b0c5144e8ef36d785214e62cd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING in cm109_input_ev/usb_submit_urb
  2020-12-10  4:23   ` Dmitry Torokhov
@ 2020-12-10 13:38     ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2020-12-10 13:38 UTC (permalink / raw)
  To: dmitry.torokhov, eli.billauer, gregkh, gustavoars, ingrassia,
	linux-input, linux-kernel, linux-usb, stern, syzkaller-bugs,
	vulab

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+150f793ac5bc18eee150@syzkaller.appspotmail.com

Tested on:

commit:         f6d088b4 Input: cm109 - do not stomp on control URB
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
kernel config:  https://syzkaller.appspot.com/x/.config?x=af17f186e004b5ef
dashboard link: https://syzkaller.appspot.com/bug?extid=150f793ac5bc18eee150
compiler:       clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b)

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-10 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <000000000000f6530105b48b2816@google.com>
2020-12-03  4:57 ` WARNING in cm109_input_ev/usb_submit_urb syzbot
2020-12-10  4:23   ` Dmitry Torokhov
2020-12-10 13:38     ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).