syzbot


WARNING in spi_register_controller

Status: fixed on 2021/03/10 01:48
Subsystems: usb spi
[Documentation on labels]
Reported-by: syzbot+c60ddb60b685777d9d59@syzkaller.appspotmail.com
Fix commit: 9c60cc797cf7 media: msi2500: assign SPI bus number dynamically
First crash: 1902d, last: 1287d
Discussions (17)
Title Replies (including bot) Last reply
[PATCH 4.14 000/242] 4.14.213-rc1 review 245 (245) 2021/01/13 01:20
[PATCH 5.10 00/40] 5.10.3-rc1 review 60 (60) 2021/01/06 23:56
[PATCH 4.19 000/346] 4.19.164-rc1 review 356 (356) 2021/01/02 11:29
[PATCH 4.4 000/132] 4.4.249-rc1 review 136 (136) 2020/12/30 09:37
[PATCH 5.4 000/453] 5.4.86-rc1 review 465 (465) 2020/12/30 09:22
[PATCH 4.9 000/175] 4.9.249-rc1 review 178 (178) 2020/12/29 09:28
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
Reminder: 52 active syzbot reports in usb subsystem 1 (1) 2019/08/22 03:28
[PATCH] msi2500: assign SPI bus number dynamically 1 (1) 2019/08/17 01:12
Reminder: 35 open syzbot bugs in media subsystem 1 (1) 2019/07/24 01:39
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Reminder: 47 open syzbot bugs in usb subsystem 1 (1) 2019/07/09 19:01
Reminder: 28 open syzbot bugs in media subsystem 1 (1) 2019/06/27 03:53
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44
WARNING in spi_register_controller 0 (1) 2019/04/12 11:36
Last patch testing requests (1)
Created Duration User Patch Repo Result
2019/08/16 09:53 38m crope@iki.fi patch https://github.com/google/kasan.git 9a33b369 OK

Sample crash report:
usb 4-1: config 0 descriptor??
------------[ cut here ]------------
couldn't get idr
WARNING: CPU: 0 PID: 7 at drivers/spi/spi.c:2668 spi_register_controller+0x1b4f/0x2010 drivers/spi/spi.c:2668
Modules linked in:

CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event

RIP: 0010:spi_register_controller+0x1b4f/0x2010 drivers/spi/spi.c:2668
Code: 08 3c 03 0f 8e 5b 04 00 00 41 81 8d 08 05 00 00 00 02 00 00 e9 aa fa ff ff e8 dd 73 7b fe 48 c7 c7 80 8a 24 86 e8 1c 55 b1 02 <0f> 0b 44 89 f6 bf e4 ff ff ff e8 52 6c 7b fe 41 83 fe e4 0f 85 74
RSP: 0018:ffffc9000007f108 EFLAGS: 00010286

RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888100289940 RSI: ffffffff8128f483 RDI: fffff5200000fe13
RBP: ffff8881023c0000 R08: 0000000000000001 R09: ffff8881f6a1ff5b
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881023787b0
R13: 0000000000000000 R14: 00000000ffffffe4 R15: ffff8881023c0000
FS:  0000000000000000(0000) GS:ffff8881f6a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b8644e9088 CR3: 0000000109bb4000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 msi2500_probe+0x78c/0xbe0 drivers/media/usb/msi2500/msi2500.c:1237
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 really_probe+0x291/0xde0 drivers/base/dd.c:554
 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4a0 drivers/base/dd.c:912
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbb2/0x1ce0 drivers/base/core.c:2936
 usb_set_configuration+0x113c/0x1910 drivers/usb/core/message.c:2164
 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238
 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293
 really_probe+0x291/0xde0 drivers/base/dd.c:554
 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4a0 drivers/base/dd.c:912
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbb2/0x1ce0 drivers/base/core.c:2936
 usb_new_device.cold+0x71d/0xfe9 drivers/usb/core/hub.c:2555
 hub_port_connect drivers/usb/core/hub.c:5223 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5363 [inline]
 port_event drivers/usb/core/hub.c:5509 [inline]
 hub_event+0x2348/0x42d0 drivers/usb/core/hub.c:5591
 process_one_work+0x933/0x1520 kernel/workqueue.c:2272
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2418
 kthread+0x38c/0x460 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
irq event stamp: 67205
hardirqs last  enabled at (67215): [<ffffffff85a00c02>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631

Crashes (1848):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/08 04:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 08a02f954b0d 51a9082e .config console log report syz C ci2-upstream-usb
2020/10/31 13:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aee9ddb1d371 8bc4594f .config console log report syz C ci2-upstream-usb
2020/05/30 14:07 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 954bd312 .config console log report syz C ci2-upstream-usb
2020/05/29 01:41 https://github.com/google/kasan.git usb-fuzzer d19c64b3d097 d19ed305 .config console log report syz C ci2-upstream-usb
2020/05/17 16:55 https://github.com/google/kasan.git usb-fuzzer 806d8acc2890 37bccd4e .config console log report syz C ci2-upstream-usb
2020/05/14 05:13 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c a885920d .config console log report syz C ci2-upstream-usb
2020/03/16 22:42 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/15 19:22 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/03/07 09:55 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2e9971bb .config console log report syz C ci2-upstream-usb
2020/02/27 04:10 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 251aabb7 .config console log report syz C ci2-upstream-usb
2020/02/24 21:13 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 1253d6f0 .config console log report syz C ci2-upstream-usb
2020/01/22 20:16 https://github.com/google/kasan.git usb-fuzzer 4cc301ee04d9 3334d684 .config console log report syz C ci2-upstream-usb
2019/12/19 20:37 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 36650b4b .config console log report syz C ci2-upstream-usb
2019/12/16 19:52 https://github.com/google/kasan.git usb-fuzzer 4cc037ecf2cb 0ae38e44 .config console log report syz C ci2-upstream-usb
2019/12/11 16:00 https://github.com/google/kasan.git usb-fuzzer a38cc9afab8a 0d368675 .config console log report syz C ci2-upstream-usb
2019/12/06 22:24 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f 85f26751 .config console log report syz C ci2-upstream-usb
2019/12/03 18:30 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f ab342da3 .config console log report syz C ci2-upstream-usb
2019/11/15 22:08 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 79248ee8 .config console log report syz C ci2-upstream-usb
2019/11/05 20:55 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config console log report syz C ci2-upstream-usb
2019/10/29 23:54 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report syz C ci2-upstream-usb
2019/10/22 18:37 https://github.com/google/kasan.git usb-fuzzer 22be26f76193 4ee855e7 .config console log report syz C ci2-upstream-usb
2019/08/09 18:04 https://github.com/google/kasan.git usb-fuzzer e96407b49762 aff9e255 .config console log report syz C ci2-upstream-usb
2019/08/07 19:50 https://github.com/google/kasan.git usb-fuzzer e96407b49762 e6ebef88 .config console log report syz C ci2-upstream-usb
2019/07/30 17:57 https://github.com/google/kasan.git usb-fuzzer 7f7867ff95bf f28bf2a5 .config console log report syz C ci2-upstream-usb
2019/07/11 17:38 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 186a30b9 .config console log report syz C ci2-upstream-usb
2019/07/11 05:57 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 ff7bf04c .config console log report syz C ci2-upstream-usb
2019/06/28 18:23 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/28 17:42 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/07 21:29 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f cf9c3a50 .config console log report syz C ci2-upstream-usb
2019/04/13 09:39 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb c402d8f1 .config console log report syz C ci2-upstream-usb
2019/04/13 04:54 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb c402d8f1 .config console log report syz C ci2-upstream-usb
2019/04/11 23:50 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 13030ef8 .config console log report syz C ci2-upstream-usb
2020/12/13 13:19 upstream 7b1b868e1d91 bca53db9 .config console log report info ci-upstream-kasan-gce
2020/12/11 03:23 upstream a2f5ea9e314b f900b48c .config console log report info ci-upstream-kasan-gce
2020/12/08 01:29 upstream cd796ed33450 51a9082e .config console log report info ci-upstream-kasan-gce
2020/12/07 11:27 upstream 0477e9288185 1190297f .config console log report info ci-upstream-kasan-gce-smack-root
2020/12/07 03:13 upstream 7059c2c00a21 c521566d .config console log report info ci-upstream-kasan-gce
2020/12/04 02:32 upstream bbe2ba04c5a9 e6b0d314 .config console log report info ci-upstream-kasan-gce-smack-root
2020/12/03 20:15 upstream 34816d20f173 e6b0d314 .config console log report info ci-upstream-kasan-gce-root
2020/12/03 07:20 upstream 3bb61aa61828 8c9190ef .config console log report info ci-upstream-kasan-gce
2020/11/11 08:55 upstream eccc87672492 cca87986 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/12/13 20:19 upstream 6bff9bb8a292 b22a7ec3 .config console log report info ci-upstream-kasan-gce-386
2020/12/10 17:05 upstream a2f5ea9e314b f900b48c .config console log report info ci-upstream-kasan-gce-386
2020/12/05 10:44 upstream b3298500b23f 20366b87 .config console log report info ci-upstream-kasan-gce-386
2020/12/03 15:09 upstream 34816d20f173 e6b0d314 .config console log report info ci-upstream-kasan-gce-386
2020/12/16 06:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf f213e07e .config console log report info ci2-upstream-usb
2020/12/16 03:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf f213e07e .config console log report info ci2-upstream-usb
2020/12/15 21:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf f213e07e .config console log report info ci2-upstream-usb
2020/12/15 13:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf 97183ed7 .config console log report info ci2-upstream-usb
2020/12/15 10:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf 97183ed7 .config console log report info ci2-upstream-usb
2020/12/14 20:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf 97183ed7 .config console log report info ci2-upstream-usb
2020/12/14 08:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf b22a7ec3 .config console log report info ci2-upstream-usb
2020/12/13 01:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf bca53db9 .config console log report info ci2-upstream-usb
2020/12/13 00:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf bca53db9 .config console log report info ci2-upstream-usb
2020/12/12 03:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf bca53db9 .config console log report info ci2-upstream-usb
2020/12/11 23:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf bca53db9 .config console log report info ci2-upstream-usb
2020/12/10 23:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8704fd73bf56 f900b48c .config console log report info ci2-upstream-usb
2020/12/10 10:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8010622c86ca c090b4da .config console log report info ci2-upstream-usb
2020/12/10 07:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8010622c86ca c090b4da .config console log report info ci2-upstream-usb
2020/12/10 05:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8010622c86ca c090b4da .config console log report info ci2-upstream-usb
2020/12/10 03:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8010622c86ca c090b4da .config console log report info ci2-upstream-usb
2020/12/09 20:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8010622c86ca c090b4da .config console log report info ci2-upstream-usb
2020/12/09 16:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3a288efb0854 99917735 .config console log report info ci2-upstream-usb
2020/12/09 13:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3a288efb0854 99917735 .config console log report info ci2-upstream-usb
2020/12/09 13:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b175d273d4e4 99917735 .config console log report info ci2-upstream-usb
2020/12/09 02:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b175d273d4e4 40cc414d .config console log report info ci2-upstream-usb
2020/12/08 16:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3d4113780194 9af51e31 .config console log report info ci2-upstream-usb
2020/12/08 13:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3d4113780194 9af51e31 .config console log report info ci2-upstream-usb
2020/12/08 11:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 08a02f954b0d 9af51e31 .config console log report info ci2-upstream-usb
2020/12/07 21:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 08a02f954b0d 51a9082e .config console log report info ci2-upstream-usb
2020/12/07 15:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 93837812a5dc f80ce148 .config console log report info ci2-upstream-usb
2020/12/07 10:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 93837812a5dc f80ce148 .config console log report info ci2-upstream-usb
2020/12/07 08:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 f80ce148 .config console log report info ci2-upstream-usb
2020/12/06 20:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 c521566d .config console log report info ci2-upstream-usb
2020/12/06 17:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 f12ba0c5 .config console log report info ci2-upstream-usb
2020/12/06 11:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 f12ba0c5 .config console log report info ci2-upstream-usb
2020/12/06 08:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 f12ba0c5 .config console log report info ci2-upstream-usb
2020/12/06 02:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 50503117 .config console log report info ci2-upstream-usb
2020/12/06 00:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 50503117 .config console log report info ci2-upstream-usb
2020/12/05 19:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 50503117 .config console log report info ci2-upstream-usb
2020/12/05 07:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 0ef84591 .config console log report info ci2-upstream-usb
2020/12/04 18:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3541d5de544 20366b87 .config console log report info ci2-upstream-usb
2020/12/03 22:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ebad43260d22 59ad4022 .config console log report info ci2-upstream-usb
2020/12/03 09:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ebad43260d22 8c9190ef .config console log report info ci2-upstream-usb
2020/11/04 23:35 linux-next cf7cd542d1b5 64069d48 .config console log report info ci-upstream-linux-next-kasan-gce-root
2019/04/11 17:11 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 13030ef8 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.