syzbot


WARNING in usbnet_start_xmit/usb_submit_urb (2)

Status: upstream: reported C repro on 2024/03/17 14:43
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+d693c07c6f647e0388d3@syzkaller.appspotmail.com
First crash: 44d, last: 42d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] WARNING in usbnet_start_xmit/usb_submit_urb (2) 0 (2) 2024/04/15 14:41
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in usbnet_start_xmit/usb_submit_urb C done 2 292d 348d 3/3 fixed on 2023/09/23 10:19
upstream WARNING in usbnet_start_xmit/usb_submit_urb usb C done 92 311d 894d 23/26 fixed on 2023/10/12 12:47
linux-6.1 WARNING in usbnet_start_xmit/usb_submit_urb origin:lts-only C done 2 279d 350d 3/3 fixed on 2023/09/27 12:10
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/04/15 14:41 18m n.zhandarovich@fintech.ru https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fe46a7dd189e report log
2024/04/12 15:49 22m retest repro upstream error OK
2024/03/30 05:02 17m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing error OK
2024/03/30 00:16 38m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes error OK

Sample crash report:
------------[ cut here ]------------
usb 3-1: BOGUS urb xfer, pipe 3 != type 1
WARNING: CPU: 1 PID: 2507 at drivers/usb/core/urb.c:503 usb_submit_urb+0xe47/0x1730 drivers/usb/core/urb.c:503
Modules linked in:
CPU: 1 PID: 2507 Comm: kworker/1:5 Not tainted 6.8.0-rc6-syzkaller-00189-gd99e42ce6b83 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: mld mld_ifc_work
RIP: 0010:usb_submit_urb+0xe47/0x1730 drivers/usb/core/urb.c:503
Code: 84 3c 02 00 00 e8 59 ba 43 fd 4c 89 ef e8 61 16 07 ff 45 89 e0 89 e9 4c 89 f2 48 89 c6 48 c7 c7 a0 37 f0 86 e8 0a 46 0d fd 90 <0f> 0b 90 90 e9 ed f8 ff ff e8 2b ba 43 fd 49 81 c4 b8 05 00 00 e9
RSP: 0018:ffffc9000157f308 EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffff8881123c3000 RCX: ffffffff81177339
RDX: ffff888115e8d700 RSI: ffffffff81177346 RDI: 0000000000000001
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
R13: ffff888120fb00a8 R14: ffff888103eeb240 R15: ffff8881123c307c
FS:  0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4293372238 CR3: 00000001227c5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 usbnet_start_xmit+0x693/0x2440 drivers/net/usb/usbnet.c:1453
 __netdev_start_xmit include/linux/netdevice.h:4989 [inline]
 netdev_start_xmit include/linux/netdevice.h:5003 [inline]
 xmit_one net/core/dev.c:3547 [inline]
 dev_hard_start_xmit+0x137/0x6d0 net/core/dev.c:3563
 sch_direct_xmit+0x18e/0x830 net/sched/sch_generic.c:342
 __dev_xmit_skb net/core/dev.c:3776 [inline]
 __dev_queue_xmit+0x12b2/0x3ed0 net/core/dev.c:4317
 dev_queue_xmit include/linux/netdevice.h:3171 [inline]
 neigh_resolve_output net/core/neighbour.c:1563 [inline]
 neigh_resolve_output+0x582/0x8f0 net/core/neighbour.c:1543
 neigh_output include/net/neighbour.h:542 [inline]
 ip6_finish_output2+0xad9/0x22b0 net/ipv6/ip6_output.c:137
 __ip6_finish_output+0x3a5/0xbc0 net/ipv6/ip6_output.c:211
 ip6_finish_output net/ipv6/ip6_output.c:222 [inline]
 NF_HOOK_COND include/linux/netfilter.h:303 [inline]
 ip6_output+0x23a/0x8c0 net/ipv6/ip6_output.c:243
 dst_output include/net/dst.h:451 [inline]
 NF_HOOK.constprop.0+0xff/0x570 include/linux/netfilter.h:314
 mld_sendpack+0x6e6/0xd10 net/ipv6/mcast.c:1818
 mld_send_cr net/ipv6/mcast.c:2119 [inline]
 mld_ifc_work+0x756/0xcd0 net/ipv6/mcast.c:2650
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/13 15:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d99e42ce6b83 db5b7ff0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usbnet_start_xmit/usb_submit_urb
2024/03/13 16:18 upstream 9187210eee7d db5b7ff0 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in usbnet_start_xmit/usb_submit_urb
2024/03/16 00:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes a11dd49dcb93 d615901c .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 WARNING in usbnet_start_xmit/usb_submit_urb
2024/03/13 14:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d99e42ce6b83 db5b7ff0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usbnet_start_xmit/usb_submit_urb
* Struck through repros no longer work on HEAD.