syzbot


WARNING in send_packet/usb_submit_urb

Status: fixed on 2023/02/24 13:50
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+0c3cb6dc05fbbdc3ad66@syzkaller.appspotmail.com
Fix commit: 813ceef062b5 media: imon: fix a race condition in send_packet()
First crash: 694d, last: 524d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: possible deadlock in display_open (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH] drivers/media/rc: Fix a race condition in send_packet() 3 (3) 2022/11/10 16:42
[PATCH] drivers/media/rc: Ensure usb_submit_urb() is not called if write is in progress 7 (7) 2022/09/03 10:04
[syzbot] WARNING in send_packet/usb_submit_urb 0 (1) 2022/07/05 03:30
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/07/05 10:59 16m hdanton@sina.com patch http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/torvalds/linux.git 1a0e93df1e10 OK log

Sample crash report:
------------[ cut here ]------------
URB ffff888017847b00 submitted while active
WARNING: CPU: 1 PID: 3639 at drivers/usb/core/urb.c:379 usb_submit_urb+0x14ec/0x1880 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 1 PID: 3639 Comm: syz-executor978 Not tainted 6.1.0-rc8-syzkaller-00014-g8ed710da2873 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:usb_submit_urb+0x14ec/0x1880 drivers/usb/core/urb.c:379
Code: 89 de e8 27 f3 93 fb 84 db 0f 85 a3 f3 ff ff e8 aa f6 93 fb 4c 89 fe 48 c7 c7 80 c6 f8 8a c6 05 7e 79 50 08 01 e8 f1 65 bb 03 <0f> 0b e9 81 f3 ff ff 48 89 7c 24 40 e8 83 f6 93 fb 48 8b 7c 24 40
RSP: 0018:ffffc900033dfc50 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880724a0080 RSI: ffffffff81649a0c RDI: fffff5200067bf7c
RBP: ffff888023669080 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffff888017847b00
R13: ffff888019042128 R14: 00000000fffffff0 R15: ffff888017847b00
FS:  00007f7c4f5de700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557262e35558 CR3: 0000000022698000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 send_packet+0x422/0xbc0 drivers/media/rc/imon.c:642
 vfd_write+0x2dd/0x550 drivers/media/rc/imon.c:989
 vfs_write+0x2db/0xdd0 fs/read_write.c:582
 ksys_write+0x12b/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7c4f6520a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7c4f5de318 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f7c4f6d64d8 RCX: 00007f7c4f6520a9
RDX: 0000000000000001 RSI: 0000000020001000 RDI: 0000000000000004
RBP: 00007f7c4f6d64d0 R08: 00007f7c4f5de700 R09: 0000000000000000
R10: 00007f7c4f5de700 R11: 0000000000000246 R12: 0b8b0509005504e1
R13: 00007ffd54b01c1f R14: 00007f7c4f5de400 R15: 0000000000022000
 </TASK>

Crashes (847):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/07 21:00 upstream 8ed710da2873 d88f3abb .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in send_packet/usb_submit_urb
2022/12/04 19:17 upstream 97ee9d1c1696 e080de16 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in send_packet/usb_submit_urb
2022/11/11 03:13 upstream 1767a722a708 3ead01ad .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in send_packet/usb_submit_urb
2022/11/04 06:21 upstream f2f32f8af2b0 6d752409 .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in send_packet/usb_submit_urb
2022/10/29 22:17 upstream b229b6ca5abb 899d812a .config strace log report syz C ci-upstream-kasan-gce-smack-root WARNING in send_packet/usb_submit_urb
2022/10/05 04:41 upstream a5088ee7251e eab8f949 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in send_packet/usb_submit_urb
2022/09/02 00:13 upstream 2880e1a175b9 86c46e46 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/08/29 10:32 upstream 8379c0b31fbc 07177916 .config strace log report syz C ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/08/22 07:54 upstream e3f259d33c0e 26a13b38 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/08/20 02:21 upstream 4c2d0b039c5c 26a13b38 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/08/11 17:19 upstream 200e340f2196 787ed7e0 .config strace log report syz C ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/08/06 01:50 upstream 200e340f2196 e853abd9 .config strace log report syz C ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/08/04 04:21 upstream 200e340f2196 1c9013ac .config strace log report syz C ci-upstream-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/07/01 05:15 upstream 1a0e93df1e10 1434eec0 .config strace log report syz C ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/10/15 10:40 linux-next aaa11ce2ffc8 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/10/03 00:42 linux-next aaa11ce2ffc8 feb56351 .config strace log report syz C [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/09/14 02:32 linux-next e47eb90a0a9a b884348d .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/08/29 13:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 94da0b6b .config console log report syz C ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/08/11 14:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 787ed7e0 .config console log report syz C ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/08/05 19:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b2a88c212e65 a65a7ce9 .config console log report syz C ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/07/01 04:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1ce69c35b860 1434eec0 .config console log report syz C ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/14 01:32 upstream 764822972d64 e660de91 .config console log report info ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/11/26 10:08 upstream 0b1dcc2cf55a 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/11/24 11:30 upstream 4312098baf37 12c66417 .config console log report info ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/11/17 04:46 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in send_packet/usb_submit_urb
2022/10/04 19:28 upstream a5088ee7251e eab8f949 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in send_packet/usb_submit_urb
2022/10/03 05:30 upstream a962b54e162c feb56351 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-386 WARNING in send_packet/usb_submit_urb
2022/12/18 07:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 05494336 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/17 11:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 05494336 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/17 00:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 05494336 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/16 20:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 05494336 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/15 18:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 6f9c033e .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/14 16:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 b18f0a64 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/10 20:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/10 15:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 81c25247a2a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/07 16:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/04 12:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 e080de16 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/04 04:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 e080de16 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/04 00:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 e080de16 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/03 09:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 e080de16 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/12/03 07:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1524ceb14dd5 e080de16 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/21 00:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/20 14:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/20 13:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/20 02:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 23:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 22:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 17:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 13:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 12:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 11:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/19 04:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/18 05:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/18 03:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/17 18:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/17 16:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/17 15:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/17 06:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/17 00:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/16 21:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/16 08:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/16 02:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/16 01:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 21:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 17:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 15:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 11:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 08:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 06:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 05:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 04:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/11/15 02:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in send_packet/usb_submit_urb
2022/07/01 03:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1ce69c35b860 1434eec0 .config console log report info ci2-upstream-usb WARNING in send_packet/usb_submit_urb
* Struck through repros no longer work on HEAD.