syzbot


WARNING in hso_free_net_device
Status: fixed on 2021/11/10 13:22
Reported-by: syzbot+44d53c7255bb1aea22d2@syzkaller.appspotmail.com
Fix commit: 788e67f18d79 usb: hso: fix error handling code of hso_create_net_device usb: hso: fix error handling code of hso_create_net_device
First crash: 996d, last: 313d

Cause bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2019/11/19 15:16 9m oneukum@suse.com patch https://github.com/google/kasan.git eea39f24 report log
2019/11/19 15:15 9m oliver@neukum.org patch https://github.com/google/kasan.git eea39f24 report log
2019/09/05 11:24 17m andreyknvl@google.com patch https://github.com/google/kasan.git eea39f24 OK

Sample crash report:
usb 1-1: string descriptor 0 read error: -22
usb 1-1: New USB device found, idVendor=0af0, idProduct=6811, bcdDevice=d7.8a
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: config 0 descriptor??
hso 1-1:0.0: Can't find BULK IN endpoint
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8 at net/core/dev.c:10900 unregister_netdevice_many+0x205/0x1760 net/core/dev.c:10900
Modules linked in:
CPU: 0 PID: 8 Comm: kworker/0:2 Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:unregister_netdevice_many+0x205/0x1760 net/core/dev.c:10900
Code: 05 00 00 31 ff 44 89 fe e8 78 28 76 fa 45 84 ff 0f 85 49 ff ff ff e8 ba 21 76 fa 0f 1f 44 00 00 e8 b0 21 76 fa e8 ab 21 76 fa <0f> 0b 4c 89 ef e8 b1 a2 ce fc 31 ff 41 89 c5 89 c6 e8 45 28 76 fa
RSP: 0018:ffffc90000cd6f40 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888016662000 RCX: 0000000000000000
RDX: ffff8880111354c0 RSI: ffffffff86fdcf65 RDI: 0000000000000003
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff86fdcf48 R11: 0000000000000000 R12: ffffc90000cd7010
R13: ffff888016662060 R14: ffffc90000cd6fb0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561c7b48e398 CR3: 00000000259f0000 CR4: 0000000000350ef0
Call Trace:
 unregister_netdevice_queue+0x2dd/0x3c0 net/core/dev.c:10868
 unregister_netdevice include/linux/netdevice.h:2884 [inline]
 unregister_netdev+0x18/0x20 net/core/dev.c:10993
 hso_free_net_device+0x110/0x3b0 drivers/net/usb/hso.c:2370
 hso_create_net_device+0x79c/0xa80 drivers/net/usb/hso.c:2557

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/06/22 18:29 upstream a96bfed64c89 6a81331a .config log report syz C
Crashes (528):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/04/06 18:52 upstream 0a50438c8436 6a81331a .config log report syz C WARNING in hso_free_net_device
ci2-upstream-usb 2020/05/13 22:50 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c a885920d .config log report syz C
ci2-upstream-usb 2020/02/28 20:51 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config log report syz C
ci2-upstream-usb 2020/02/25 01:39 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 59b57593 .config log report syz C
ci2-upstream-usb 2020/01/22 23:36 https://github.com/google/kasan.git usb-fuzzer 4cc301ee04d9 3334d684 .config log report syz C
ci2-upstream-usb 2019/12/19 22:21 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 36650b4b .config log report syz C
ci2-upstream-usb 2019/12/13 03:18 https://github.com/google/kasan.git usb-fuzzer 4cc037ecf2cb 08003f64 .config log report syz C
ci2-upstream-usb 2019/12/07 10:22 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f 85f26751 .config log report syz C
ci2-upstream-usb 2019/12/03 20:13 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f 0ecb9746 .config log report syz C
ci2-upstream-usb 2019/11/15 23:16 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 79248ee8 .config log report syz C
ci2-upstream-usb 2019/11/08 23:21 https://github.com/google/kasan.git usb-fuzzer d60bbfea36c1 1e35461e .config log report syz C
ci2-upstream-usb 2019/11/06 01:12 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config log report syz C
ci2-upstream-usb 2019/11/05 17:51 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config log report syz C
ci2-upstream-usb 2019/10/22 18:49 https://github.com/google/kasan.git usb-fuzzer 22be26f76193 4ee855e7 .config log report syz C
ci2-upstream-usb 2019/10/02 21:53 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2e29b534 .config log report syz C
ci2-upstream-usb 2019/09/28 08:01 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe d8074e0b .config log report syz C
ci2-upstream-usb 2019/09/21 00:48 https://github.com/google/kasan.git usb-fuzzer e0bd8d794fc9 d96e88f3 .config log report syz C
ci2-upstream-usb 2019/09/08 17:11 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 a60cb4cd .config log report syz C
ci2-upstream-usb 2019/09/01 09:35 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 bad3cce2 .config log report syz C
ci-upstream-kasan-gce 2021/07/15 07:35 upstream 8096acd7442e b9a2f64e .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce 2021/05/15 04:24 upstream 25a1298726e9 8bdd5343 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-selinux-root 2021/05/13 23:06 upstream c06a2ba62fc4 80f9b418 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-smack-root 2021/05/13 22:20 upstream c06a2ba62fc4 80f9b418 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce 2021/05/13 21:23 upstream c06a2ba62fc4 80f9b418 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce 2021/05/03 13:53 upstream d2b6f8a17919 77e2b668 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-selinux-root 2021/04/22 16:59 upstream 16fc44d6387e 33c28d03 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-selinux-root 2021/04/14 17:48 upstream 50987beca096 3134b37f .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-selinux-root 2021/04/14 17:11 upstream 50987beca096 3134b37f .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce 2021/03/31 14:30 upstream 5e46d1b78a03 6a81331a .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce-386 2021/05/14 00:06 upstream c06a2ba62fc4 80f9b418 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/06/29 08:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/23 18:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/19 06:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9fbf82c76414 a343ba6b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/18 22:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9fbf82c76414 a343ba6b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/17 23:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9fbf82c76414 a343ba6b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/15 22:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 216e0e563d81 93f844de .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/13 22:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 216e0e563d81 ecb594cb .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/11 22:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4676be28a46e b3c3bb8e .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/11 11:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4676be28a46e ca873091 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/10 23:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f91e5d097f12 ca873091 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/08 00:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3ac077570a42 bc5434be .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/03 11:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/02 02:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/01 17:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/01 15:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/05/01 13:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/30 16:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/26 02:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing caa93d9bd2d7 2a82f1b3 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/23 18:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ddae7979cdd5 17f0b706 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/21 05:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c0ced557 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/20 15:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c0ced557 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/20 13:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c0ced557 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/20 07:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c0ced557 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/19 03:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/18 09:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/16 14:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/16 03:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c59079a6 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/14 16:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 401411bbc4e6 3134b37f .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/13 20:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 401411bbc4e6 a184b83e .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/12 17:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 14d34d2dbbe2 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/11 03:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3db53374405f 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/06 13:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e9fcb07704fc 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/05 12:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f70d436f0001 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/04 18:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/04 09:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/03 07:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/04/03 01:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 04dd6e76b228 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/03/31 18:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/03/31 07:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/03/29 00:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 487adc545bce a8529b82 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/03/28 02:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config log report info WARNING in hso_free_net_device
ci2-upstream-usb 2021/03/27 20:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config log report info WARNING in hso_free_net_device
ci-upstream-linux-next-kasan-gce-root 2021/01/20 06:26 linux-next b4bb878f3eb3 63631df1 .config log report info WARNING in hso_free_net_device
ci-upstream-kasan-gce 2021/01/10 20:10 upstream 2ff90100ace8 2c1f2513 .config log report info