syzbot


divide error in genelink_tx_fixup

Status: auto-obsoleted due to no activity on 2022/09/05 07:59
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+a6ec4dd9d38cb9261a77@syzkaller.appspotmail.com
First crash: 1132d, last: 1114d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] divide error in genelink_tx_fixup 4 (9) 2021/10/19 10:31
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 divide error in genelink_tx_fixup C 65 1049d 1132d 0/2 auto-obsoleted due to no activity on 2023/04/19 13:40
android-5-10 divide error in genelink_tx_fixup C error 8 1120d 1125d 1/2 fixed on 2021/11/10 00:32
Last patch testing requests (5)
Created Duration User Patch Repo Result
2022/09/05 07:27 21m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2021/10/19 10:02 19m oneukum@suse.com patch https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git c03fb16bafdf OK
2021/10/19 03:29 16m wanjiabing@vivo.com patch linux-next OK
2021/10/19 03:27 0m wanjiabing@vivo.com patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git maste error
2021/10/19 02:57 11m wanjiabing@vivo.com patch linux-next report log

Sample crash report:
gl620a 2-1:0.0 usb1: register 'gl620a' at usb-dummy_hcd.1-1, Genesys GeneLink, 7a:f2:d1:89:41:da
divide error: 0000 [#1] SMP KASAN
CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: mld mld_ifc_work
RIP: 0010:genelink_tx_fixup+0x308/0x610 drivers/net/usb/gl620a.c:172
Code: 8b 44 24 70 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e 50 02 00 00 31 d2 31 ff <f7> b3 28 01 00 00 41 89 d5 89 d6 e8 f8 50 b6 fd 45 85 ed 0f 84 b1
RSP: 0018:ffffc9000007f5e8 EFLAGS: 00010246
RAX: 0000000000000062 RBX: ffff8881197c0c00 RCX: 1ffff110232f81a5
RDX: 0000000000000000 RSI: ffffffff84bd1bb7 RDI: 0000000000000000
RBP: ffff88811b40b780 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff838b813c R11: 0000000000000000 R12: ffff88811b40b780
R13: 0000000000000654 R14: 000000000000005a R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09f3e0aff8 CR3: 000000011c54f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usbnet_start_xmit+0x152/0x1f70 drivers/net/usb/usbnet.c:1370
 __netdev_start_xmit include/linux/netdevice.h:4988 [inline]
 netdev_start_xmit include/linux/netdevice.h:5002 [inline]
 xmit_one net/core/dev.c:3576 [inline]
 dev_hard_start_xmit+0x1df/0x890 net/core/dev.c:3592
 sch_direct_xmit+0x25b/0x790 net/sched/sch_generic.c:342
 __dev_xmit_skb net/core/dev.c:3803 [inline]
 __dev_queue_xmit+0xf25/0x2d40 net/core/dev.c:4170
 neigh_resolve_output net/core/neighbour.c:1492 [inline]
 neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1472
 neigh_output include/net/neighbour.h:510 [inline]
 ip6_finish_output2+0xdbe/0x1b20 net/ipv6/ip6_output.c:126
 __ip6_finish_output.part.0+0x387/0xbb0 net/ipv6/ip6_output.c:191
 __ip6_finish_output include/linux/skbuff.h:982 [inline]
 ip6_finish_output net/ipv6/ip6_output.c:201 [inline]
 NF_HOOK_COND include/linux/netfilter.h:296 [inline]
 ip6_output+0x3d2/0x810 net/ipv6/ip6_output.c:224
 dst_output include/net/dst.h:450 [inline]
 NF_HOOK include/linux/netfilter.h:307 [inline]
 NF_HOOK include/linux/netfilter.h:301 [inline]
 mld_sendpack+0x979/0xe10 net/ipv6/mcast.c:1826
 mld_send_cr net/ipv6/mcast.c:2127 [inline]
 mld_ifc_work+0x71c/0xdc0 net/ipv6/mcast.c:2659
 process_one_work+0x9bf/0x1620 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3c2/0x4a0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace faca6a933050247e ]---
RIP: 0010:genelink_tx_fixup+0x308/0x610 drivers/net/usb/gl620a.c:172
Code: 8b 44 24 70 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e 50 02 00 00 31 d2 31 ff <f7> b3 28 01 00 00 41 89 d5 89 d6 e8 f8 50 b6 fd 45 85 ed 0f 84 b1
RSP: 0018:ffffc9000007f5e8 EFLAGS: 00010246
RAX: 0000000000000062 RBX: ffff8881197c0c00 RCX: 1ffff110232f81a5
RDX: 0000000000000000 RSI: ffffffff84bd1bb7 RDI: 0000000000000000
RBP: ffff88811b40b780 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff838b813c R11: 0000000000000000 R12: ffff88811b40b780
R13: 0000000000000654 R14: 000000000000005a R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09f3e0aff8 CR3: 000000011c54f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	8b 44 24 70          	mov    0x70(%rsp),%eax
   4:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
   b:	fc ff df
   e:	48 89 f9             	mov    %rdi,%rcx
  11:	48 c1 e9 03          	shr    $0x3,%rcx
  15:	0f b6 14 11          	movzbl (%rcx,%rdx,1),%edx
  19:	84 d2                	test   %dl,%dl
  1b:	74 09                	je     0x26
  1d:	80 fa 03             	cmp    $0x3,%dl
  20:	0f 8e 50 02 00 00    	jle    0x276
  26:	31 d2                	xor    %edx,%edx
  28:	31 ff                	xor    %edi,%edi
* 2a:	f7 b3 28 01 00 00    	divl   0x128(%rbx) <-- trapping instruction
  30:	41 89 d5             	mov    %edx,%r13d
  33:	89 d6                	mov    %edx,%esi
  35:	e8 f8 50 b6 fd       	callq  0xfdb65132
  3a:	45 85 ed             	test   %r13d,%r13d
  3d:	0f                   	.byte 0xf
  3e:	84                   	.byte 0x84
  3f:	b1                   	.byte 0xb1

Crashes (572):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/18 00:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 660a92a59b9e 0c5d9412 .config console log report syz C ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 16:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 15:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 14:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 13:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 12:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 11:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 10:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 10:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 09:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 08:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 06:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 06:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 05:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 04:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 03:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 02:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 01:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/04 00:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 23:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 22:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 21:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 20:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 19:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 18:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 17:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 17:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 16:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 14:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 12:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 11:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 10:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 08:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 08:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 07:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 05:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 04:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 03:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 03:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 01:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/03 00:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/02 23:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/02 22:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
2021/11/02 21:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 17f3edd2 .config console log report info ci2-upstream-usb divide error in genelink_tx_fixup
* Struck through repros no longer work on HEAD.