syzbot


WARNING in hso_free_net_device

Status: fixed on 2021/11/10 13:22
Subsystems: usb
[Documentation on labels]
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: 1730d, last: 1047d
Cause bisection: failed (error log, bisect log)
  
Discussions (20)
Title Replies (including bot) Last reply
[PATCH 5.10 000/167] 5.10.54-rc1 review 183 (183) 2022/01/31 17:17
[PATCH 4.9 00/22] 4.9.290-rc1 review 27 (27) 2021/11/12 00:58
[PATCH 4.4 00/19] 4.4.292-rc1 review 24 (24) 2021/11/12 00:57
[PATCH 4.9 1/2] net: hso: register netdev later to avoid a race condition 7 (7) 2021/11/10 11:33
[PATCH 4.4 1/2] net: hso: register netdev later to avoid a race condition 2 (2) 2021/11/09 09:42
[PATCH v4.9.y 1/1] usb: hso: fix error handling code of hso_create_net_device 1 (1) 2021/11/05 16:42
[PATCH v4.4.y 1/1] usb: hso: fix error handling code of hso_create_net_device 1 (1) 2021/11/05 16:42
[PATCH 4.14 00/75] 4.14.249-rc1 review 81 (81) 2021/10/07 16:21
[PATCH 5.4 00/56] 5.4.151-rc1 review 62 (62) 2021/10/05 06:56
[PATCH 4.19 00/95] 4.19.209-rc1 review 103 (103) 2021/10/05 06:47
[PATCH 5.13 000/223] 5.13.6-rc1 review 235 (235) 2021/08/04 10:04
[PATCH v3 1/2] usb: hso: fix error handling code of hso_create_net_device 8 (8) 2021/07/22 07:51
[RESEND PATCH V3 1/2] usb: hso: fix error handling code of hso_create_net_device 3 (3) 2021/07/21 16:10
[PATCH 1/2] usb: hso: fix error handling code of hso_create_net_device 3 (3) 2021/07/14 08:30
[PATCH 1/2] usb: hso: fix error handling code of hso_create_net_device 5 (5) 2021/07/14 07:59
Re: WARNING in hso_free_net_device 1 (2) 2019/11/20 23:37
Reminder: 45 active syzbot reports in usb subsystem 1 (1) 2019/11/19 04:27
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 52 active syzbot reports in usb subsystem 4 (4) 2019/09/19 19:01
WARNING in hso_free_net_device 6 (8) 2019/09/09 09:47
Last patch testing requests (3)
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
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2021/06/22 18:09 20m bisect fix upstream job log (0) log

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

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