syzbot


WARNING in __queue_work (3)

Status: upstream: reported syz repro on 2020/08/04 00:36
Reported-by: syzbot+63bed493aebbf6872647@syzkaller.appspotmail.com
Fix commit: 877afadad2dc Bluetooth: When HCI work queue is drained, only queue chained work
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 912d, last: 75d

Cause bisection: failed (bisect log)
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __queue_work C 1 1807d 1807d 4/24 fixed on 2018/02/26 20:04
linux-4.14 WARNING in __queue_work 3 700d 739d 0/1 auto-closed as invalid on 2021/06/28 11:00
upstream WARNING in __queue_work (2) 1 986d 982d 0/24 auto-closed as invalid on 2020/07/17 09:16
linux-4.14 WARNING in __queue_work (2) 8 104d 418d 0/1 upstream: reported on 2021/12/07 06:42
linux-4.19 WARNING in __queue_work 19 77d 871d 0/1 upstream: reported on 2020/09/10 01:47

Sample crash report:
Bluetooth: hci5: command 0x0419 tx timeout
------------[ cut here ]------------
WARNING: CPU: 0 PID: 143 at kernel/workqueue.c:1438 __queue_work+0xdb0/0x1150 kernel/workqueue.c:1438
Modules linked in:
CPU: 0 PID: 143 Comm: kworker/0:2 Not tainted 5.19.0-rc4-syzkaller-00125-ga175eca0f3d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: events hci_cmd_timeout
RIP: 0010:__queue_work+0xdb0/0x1150 kernel/workqueue.c:1438
Code: e0 07 83 c0 03 38 d0 7c 09 84 d2 74 05 e8 48 67 79 00 8b 5b 2c 31 ff 83 e3 20 89 de e8 29 9f 2c 00 85 db 75 42 e8 e0 a2 2c 00 <0f> 0b e9 da f8 ff ff e8 d4 a2 2c 00 0f 0b e9 6c f8 ff ff e8 c8 a2
RSP: 0018:ffffc900029cfc60 EFLAGS: 00010093
RAX: 0000000000000000 RBX: ffff8880b9a3ec00 RCX: 0000000000000000
RDX: ffff88801b393b00 RSI: ffffffff814dc3d0 RDI: ffff8880b9a3ec08
RBP: 0000000000000008 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000200000 R11: 0000000000000001 R12: ffff8880219a4c60
R13: 0000000000000000 R14: ffff8880212c0800 R15: ffff8880212c0800
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff873d9c028 CR3: 0000000074f62000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 queue_work_on+0xee/0x110 kernel/workqueue.c:1545
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>

Crashes (953):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2022/07/01 20:54 upstream a175eca0f3d7 1434eec0 .config console log report syz WARNING in __queue_work
ci-upstream-kasan-gce-smack-root 2022/06/19 13:36 upstream 354c6e071be9 8f633d84 .config console log report syz WARNING in __queue_work
ci-upstream-kasan-gce-smack-root 2021/08/25 18:06 upstream 6e764bcd1cf7 b599f2fc .config console log report syz WARNING in __queue_work
ci-upstream-net-kasan-gce 2022/10/05 14:54 net-next 0326074ff465 267e3bb1 .config console log report syz [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-linux-next-kasan-gce-root 2022/06/12 16:45 linux-next 6d0c80680317 0d5abf15 .config console log report syz WARNING in __queue_work
ci-upstream-kasan-gce-smack-root 2020/12/10 11:52 upstream a68a0262abda c090b4da .config console log report syz
ci-upstream-kasan-gce-root 2020/12/09 11:47 upstream 7d8761ba27fc 40cc414d .config console log report syz
ci2-upstream-fs 2022/11/12 01:43 upstream eb037f16f7e8 f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-kasan-gce-selinux-root 2022/11/08 17:40 upstream 59f2f4b8a757 881db35d .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-kasan-gce-selinux-root 2022/11/05 13:01 upstream 10d916c86eca 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-kasan-gce-selinux-root 2022/10/08 08:58 upstream 4c86114194e6 0de35f24 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci2-upstream-fs 2022/10/04 13:23 upstream 4fe89d07dcc2 978d1f19 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-qemu-upstream 2022/09/22 11:12 upstream 06f7db949993 60af5050 .config console log report info WARNING in __queue_work
ci-upstream-kasan-gce-selinux-root 2022/09/17 00:29 upstream 6879c2d3b960 dd9a85ff .config console log report info WARNING in __queue_work
ci-upstream-kasan-gce-smack-root 2022/09/06 19:30 upstream 53e99dcff61e 65aea2b9 .config console log report info WARNING in __queue_work
ci-upstream-kasan-gce-root 2022/08/24 00:04 upstream df0219d11b6f cea8b0f7 .config console log report info WARNING in __queue_work
ci-upstream-kasan-gce 2022/06/26 04:59 upstream 8c23f235a6a8 a371c43c .config console log report info WARNING in __queue_work
ci-qemu2-arm64-mte 2022/11/15 13:37 upstream e01d50cbd6ee 97de9cfc .config console log report info WARNING in __queue_work
ci-qemu2-arm32 2022/11/14 01:12 upstream af7a05689189 7ba4d859 .config console log report info WARNING in __queue_work
ci-qemu-upstream-386 2022/09/13 09:50 upstream e839a756012b a08652b0 .config console log report info WARNING in __queue_work
ci-upstream-kasan-gce-386 2022/08/09 18:48 upstream 200e340f2196 c2a623d6 .config console log report info WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/11/14 13:29 bpf 9cbd48d5fa14 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/11/08 06:03 bpf a679120edfcf 881db35d .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/11/08 04:16 bpf a679120edfcf 881db35d .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/11/05 04:16 bpf c86df29d11df 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/11/04 05:13 bpf 8bbabb3fddcd 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/10/22 13:37 bpf bed54aeb6ac1 c0b80a55 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-net-this-kasan-gce 2022/10/13 19:33 net fa182ea26ff0 adf90437 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/10/12 07:41 bpf 0326074ff465 16a9c9e0 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/10/05 01:04 bpf 0152dfee235e eab8f949 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/30 18:42 bpf 60240bc26114 feb56351 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/30 13:11 bpf 60240bc26114 1d385642 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/26 13:16 bpf 60240bc26114 d59ba983 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/24 12:34 bpf 60240bc26114 0042f2b4 .config console log report info WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/22 21:37 bpf 8addbfc7b308 0042f2b4 .config console log report info WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/22 13:39 bpf 8addbfc7b308 60af5050 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-kasan-gce 2022/09/20 09:36 bpf 83c10cc362d9 7c41a9ba .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/11/01 08:10 bpf-next 79d878f7ad8e a1d8560a .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/28 02:55 bpf-next 79d878f7ad8e 86777b7f .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/27 07:58 bpf-next 79d878f7ad8e 86777b7f .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/26 18:35 bpf-next 79d878f7ad8e 2159e4d2 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/24 19:11 bpf-next 79d878f7ad8e ff2fe65d .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/21 00:50 bpf-next 79d878f7ad8e a0fd4dab .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-net-kasan-gce 2022/10/17 16:29 net-next 0326074ff465 67cb024c .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/14 16:52 bpf-next de9c8d848d90 4954e4b2 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/14 09:04 bpf-next de9c8d848d90 4954e4b2 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/13 08:45 bpf-next d31ada3b5111 3f6b40a1 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/12 15:19 bpf-next d31ada3b5111 89b5a509 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/12 11:44 bpf-next d31ada3b5111 16a9c9e0 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/12 06:14 bpf-next f6ac03ebeb07 16a9c9e0 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/09 11:21 bpf-next 2e30960097f6 aea5da89 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/06 22:04 bpf-next 60df8c4d32d4 131b38ac .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/05 09:25 bpf-next 0326074ff465 eab8f949 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/03 17:03 bpf-next 820dc0523e05 feb56351 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/02 03:10 bpf-next b502a6fb46d2 feb56351 .config console log report info WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/10/01 12:02 bpf-next 5f388bba7acb feb56351 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/27 20:25 bpf-next 6a4ab8869d0b 87840e00 .config console log report info WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/24 18:12 bpf-next 230bf137e771 0042f2b4 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/23 18:43 bpf-next ee9bb9b4459a 0042f2b4 .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/21 10:58 bpf-next 7620bffbf72c 380f82fb .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/17 22:20 bpf-next 571f9738bfb3 dd9a85ff .config console log report info WARNING in __queue_work
ci-upstream-net-kasan-gce 2022/09/16 23:19 net-next 030eed86cbe1 dd9a85ff .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-bpf-next-kasan-gce 2022/09/16 15:45 bpf-next 47e34cb74d37 dd9a85ff .config console log report info [disk image] [vmlinux] WARNING in __queue_work
ci-upstream-kasan-gce-root 2021/01/14 11:47 upstream 65f0d2414b70 269d24e8 .config console log report info
ci-qemu-upstream-386 2020/07/31 00:25 upstream e2c46b5762c6 8df85ed9 .config console log report
* Struck through repros no longer work on HEAD.